7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/CustomPolicyDetails.h>
9#include <aws/config/model/Owner.h>
10#include <aws/config/model/SourceDetail.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace ConfigService {
37 AWS_CONFIGSERVICE_API
Source() =
default;
58 m_ownerHasBeenSet =
true;
81 template <
typename SourceIdentifierT = Aws::String>
83 m_sourceIdentifierHasBeenSet =
true;
84 m_sourceIdentifier = std::forward<SourceIdentifierT>(value);
86 template <
typename SourceIdentifierT = Aws::String>
105 template <
typename SourceDetailsT = Aws::Vector<SourceDetail>>
107 m_sourceDetailsHasBeenSet =
true;
108 m_sourceDetails = std::forward<SourceDetailsT>(value);
110 template <
typename SourceDetailsT = Aws::Vector<SourceDetail>>
115 template <
typename SourceDetailsT = SourceDetail>
117 m_sourceDetailsHasBeenSet =
true;
118 m_sourceDetails.emplace_back(std::forward<SourceDetailsT>(value));
130 template <
typename CustomPolicyDetailsT = CustomPolicyDetails>
132 m_customPolicyDetailsHasBeenSet =
true;
133 m_customPolicyDetails = std::forward<CustomPolicyDetailsT>(value);
135 template <
typename CustomPolicyDetailsT = CustomPolicyDetails>
148 CustomPolicyDetails m_customPolicyDetails;
149 bool m_ownerHasBeenSet =
false;
150 bool m_sourceIdentifierHasBeenSet =
false;
151 bool m_sourceDetailsHasBeenSet =
false;
152 bool m_customPolicyDetailsHasBeenSet =
false;
void SetCustomPolicyDetails(CustomPolicyDetailsT &&value)
Source & AddSourceDetails(SourceDetailsT &&value)
Source & WithSourceDetails(SourceDetailsT &&value)
AWS_CONFIGSERVICE_API Source & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CustomPolicyDetailsHasBeenSet() const
AWS_CONFIGSERVICE_API Source()=default
const CustomPolicyDetails & GetCustomPolicyDetails() const
Source & WithOwner(Owner value)
Source & WithCustomPolicyDetails(CustomPolicyDetailsT &&value)
const Aws::String & GetSourceIdentifier() const
bool SourceIdentifierHasBeenSet() const
bool OwnerHasBeenSet() const
Source & WithSourceIdentifier(SourceIdentifierT &&value)
void SetSourceDetails(SourceDetailsT &&value)
void SetOwner(Owner value)
void SetSourceIdentifier(SourceIdentifierT &&value)
const Aws::Vector< SourceDetail > & GetSourceDetails() const
bool SourceDetailsHasBeenSet() const
AWS_CONFIGSERVICE_API Source(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue