This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-config/source/model/ExecutionControls.cpp

60 lines
1.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/config/model/ExecutionControls.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace ConfigService
{
namespace Model
{
ExecutionControls::ExecutionControls() :
m_ssmControlsHasBeenSet(false)
{
}
ExecutionControls::ExecutionControls(JsonView jsonValue) :
m_ssmControlsHasBeenSet(false)
{
*this = jsonValue;
}
ExecutionControls& ExecutionControls::operator =(JsonView jsonValue)
{
if(jsonValue.ValueExists("SsmControls"))
{
m_ssmControls = jsonValue.GetObject("SsmControls");
m_ssmControlsHasBeenSet = true;
}
return *this;
}
JsonValue ExecutionControls::Jsonize() const
{
JsonValue payload;
if(m_ssmControlsHasBeenSet)
{
payload.WithObject("SsmControls", m_ssmControls.Jsonize());
}
return payload;
}
} // namespace Model
} // namespace ConfigService
} // namespace Aws