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
42 AWS_CONFIGSERVICE_API
Source() =
default;
63 inline void SetOwner(
Owner value) { m_ownerHasBeenSet =
true; m_owner = value; }
81 template<
typename SourceIdentifierT = Aws::String>
82 void SetSourceIdentifier(SourceIdentifierT&& value) { m_sourceIdentifierHasBeenSet =
true; m_sourceIdentifier = std::forward<SourceIdentifierT>(value); }
83 template<
typename SourceIdentifierT = Aws::String>
99 template<
typename SourceDetailsT = Aws::Vector<SourceDetail>>
100 void SetSourceDetails(SourceDetailsT&& value) { m_sourceDetailsHasBeenSet =
true; m_sourceDetails = std::forward<SourceDetailsT>(value); }
101 template<
typename SourceDetailsT = Aws::Vector<SourceDetail>>
103 template<
typename SourceDetailsT = SourceDetail>
104 Source&
AddSourceDetails(SourceDetailsT&& value) { m_sourceDetailsHasBeenSet =
true; m_sourceDetails.emplace_back(std::forward<SourceDetailsT>(value));
return *
this; }
114 template<
typename CustomPolicyDetailsT = CustomPolicyDetails>
115 void SetCustomPolicyDetails(CustomPolicyDetailsT&& value) { m_customPolicyDetailsHasBeenSet =
true; m_customPolicyDetails = std::forward<CustomPolicyDetailsT>(value); }
116 template<
typename CustomPolicyDetailsT = CustomPolicyDetails>
122 bool m_ownerHasBeenSet =
false;
125 bool m_sourceIdentifierHasBeenSet =
false;
128 bool m_sourceDetailsHasBeenSet =
false;
130 CustomPolicyDetails m_customPolicyDetails;
131 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