7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/Owner.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/config/model/CustomPolicyDetails.h>
12#include <aws/config/model/SourceDetail.h>
25namespace ConfigService
63 inline void SetOwner(
const Owner& value) { m_ownerHasBeenSet =
true; m_owner = value; }
64 inline void SetOwner(
Owner&& value) { m_ownerHasBeenSet =
true; m_owner = std::move(value); }
85 inline void SetSourceIdentifier(
const char* value) { m_sourceIdentifierHasBeenSet =
true; m_sourceIdentifier.assign(value); }
126 bool m_ownerHasBeenSet =
false;
129 bool m_sourceIdentifierHasBeenSet =
false;
132 bool m_sourceDetailsHasBeenSet =
false;
135 bool m_customPolicyDetailsHasBeenSet =
false;
Source & WithSourceIdentifier(const Aws::String &value)
void SetCustomPolicyDetails(CustomPolicyDetails &&value)
Source & WithOwner(const Owner &value)
AWS_CONFIGSERVICE_API Source & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOwner(Owner &&value)
bool CustomPolicyDetailsHasBeenSet() const
const CustomPolicyDetails & GetCustomPolicyDetails() const
void SetOwner(const Owner &value)
void SetSourceIdentifier(const char *value)
const Owner & GetOwner() const
const Aws::String & GetSourceIdentifier() const
bool SourceIdentifierHasBeenSet() const
AWS_CONFIGSERVICE_API Source()
Source & WithSourceDetails(Aws::Vector< SourceDetail > &&value)
Source & AddSourceDetails(SourceDetail &&value)
Source & WithCustomPolicyDetails(CustomPolicyDetails &&value)
Source & WithOwner(Owner &&value)
Source & WithSourceIdentifier(Aws::String &&value)
bool OwnerHasBeenSet() const
Source & WithSourceDetails(const Aws::Vector< SourceDetail > &value)
void SetSourceIdentifier(Aws::String &&value)
Source & WithCustomPolicyDetails(const CustomPolicyDetails &value)
void SetSourceDetails(const Aws::Vector< SourceDetail > &value)
const Aws::Vector< SourceDetail > & GetSourceDetails() const
Source & WithSourceIdentifier(const char *value)
Source & AddSourceDetails(const SourceDetail &value)
bool SourceDetailsHasBeenSet() const
void SetSourceDetails(Aws::Vector< SourceDetail > &&value)
void SetSourceIdentifier(const Aws::String &value)
AWS_CONFIGSERVICE_API Source(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCustomPolicyDetails(const CustomPolicyDetails &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue