7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/Customizations.h>
9#include <aws/cloudfront/model/DomainResult.h>
10#include <aws/cloudfront/model/Parameter.h>
11#include <aws/cloudfront/model/Tags.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
64 template <
typename DistributionIdT = Aws::String>
66 m_distributionIdHasBeenSet =
true;
67 m_distributionId = std::forward<DistributionIdT>(value);
69 template <
typename DistributionIdT = Aws::String>
82 template <
typename NameT = Aws::String>
84 m_nameHasBeenSet =
true;
85 m_name = std::forward<NameT>(value);
87 template <
typename NameT = Aws::String>
89 SetName(std::forward<NameT>(value));
100 template <
typename ArnT = Aws::String>
102 m_arnHasBeenSet =
true;
103 m_arn = std::forward<ArnT>(value);
105 template <
typename ArnT = Aws::String>
107 SetArn(std::forward<ArnT>(value));
118 template <
typename DomainsT = Aws::Vector<DomainResult>>
120 m_domainsHasBeenSet =
true;
121 m_domains = std::forward<DomainsT>(value);
123 template <
typename DomainsT = Aws::Vector<DomainResult>>
128 template <
typename DomainsT = DomainResult>
130 m_domainsHasBeenSet =
true;
131 m_domains.emplace_back(std::forward<DomainsT>(value));
140 template <
typename TagsT = Tags>
142 m_tagsHasBeenSet =
true;
143 m_tags = std::forward<TagsT>(value);
145 template <
typename TagsT = Tags>
147 SetTags(std::forward<TagsT>(value));
162 template <
typename CustomizationsT = Customizations>
164 m_customizationsHasBeenSet =
true;
165 m_customizations = std::forward<CustomizationsT>(value);
167 template <
typename CustomizationsT = Customizations>
182 template <
typename ParametersT = Aws::Vector<Parameter>>
184 m_parametersHasBeenSet =
true;
185 m_parameters = std::forward<ParametersT>(value);
187 template <
typename ParametersT = Aws::Vector<Parameter>>
192 template <
typename ParametersT = Parameter>
194 m_parametersHasBeenSet =
true;
195 m_parameters.emplace_back(std::forward<ParametersT>(value));
207 template <
typename ConnectionGroupIdT = Aws::String>
209 m_connectionGroupIdHasBeenSet =
true;
210 m_connectionGroupId = std::forward<ConnectionGroupIdT>(value);
212 template <
typename ConnectionGroupIdT = Aws::String>
225 template <
typename CreatedTimeT = Aws::Utils::DateTime>
227 m_createdTimeHasBeenSet =
true;
228 m_createdTime = std::forward<CreatedTimeT>(value);
230 template <
typename CreatedTimeT = Aws::Utils::DateTime>
243 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
245 m_lastModifiedTimeHasBeenSet =
true;
246 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
248 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
263 m_enabledHasBeenSet =
true;
278 template <
typename StatusT = Aws::String>
280 m_statusHasBeenSet =
true;
281 m_status = std::forward<StatusT>(value);
283 template <
typename StatusT = Aws::String>
312 bool m_enabled{
false};
315 bool m_idHasBeenSet =
false;
316 bool m_distributionIdHasBeenSet =
false;
317 bool m_nameHasBeenSet =
false;
318 bool m_arnHasBeenSet =
false;
319 bool m_domainsHasBeenSet =
false;
320 bool m_tagsHasBeenSet =
false;
321 bool m_customizationsHasBeenSet =
false;
322 bool m_parametersHasBeenSet =
false;
323 bool m_connectionGroupIdHasBeenSet =
false;
324 bool m_createdTimeHasBeenSet =
false;
325 bool m_lastModifiedTimeHasBeenSet =
false;
326 bool m_enabledHasBeenSet =
false;
327 bool m_statusHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_CLOUDFRONT_API DistributionTenant(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEnabled(bool value)
void SetDomains(DomainsT &&value)
void SetTags(TagsT &&value)
bool CreatedTimeHasBeenSet() const
DistributionTenant & WithCustomizations(CustomizationsT &&value)
DistributionTenant & AddDomains(DomainsT &&value)
DistributionTenant & WithId(IdT &&value)
DistributionTenant & WithEnabled(bool value)
bool NameHasBeenSet() const
const Aws::Vector< Parameter > & GetParameters() const
void SetDistributionId(DistributionIdT &&value)
AWS_CLOUDFRONT_API DistributionTenant & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DistributionTenant & WithDistributionId(DistributionIdT &&value)
void SetArn(ArnT &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool ArnHasBeenSet() const
DistributionTenant & WithLastModifiedTime(LastModifiedTimeT &&value)
DistributionTenant & AddParameters(ParametersT &&value)
const Aws::String & GetId() const
bool DistributionIdHasBeenSet() const
bool DomainsHasBeenSet() const
DistributionTenant & WithArn(ArnT &&value)
void SetParameters(ParametersT &&value)
bool CustomizationsHasBeenSet() const
DistributionTenant & WithParameters(ParametersT &&value)
bool StatusHasBeenSet() const
AWS_CLOUDFRONT_API DistributionTenant()=default
const Aws::Vector< DomainResult > & GetDomains() const
void SetCreatedTime(CreatedTimeT &&value)
const Aws::String & GetConnectionGroupId() const
void SetCustomizations(CustomizationsT &&value)
DistributionTenant & WithConnectionGroupId(ConnectionGroupIdT &&value)
const Aws::String & GetArn() const
const Aws::String & GetName() const
void SetName(NameT &&value)
bool ParametersHasBeenSet() const
DistributionTenant & WithCreatedTime(CreatedTimeT &&value)
void SetConnectionGroupId(ConnectionGroupIdT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DistributionTenant & WithStatus(StatusT &&value)
void SetStatus(StatusT &&value)
const Customizations & GetCustomizations() const
bool TagsHasBeenSet() const
const Aws::String & GetStatus() const
bool EnabledHasBeenSet() const
DistributionTenant & WithDomains(DomainsT &&value)
const Aws::String & GetDistributionId() const
bool ConnectionGroupIdHasBeenSet() const
DistributionTenant & WithTags(TagsT &&value)
DistributionTenant & WithName(NameT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool IdHasBeenSet() const
bool LastModifiedTimeHasBeenSet() const
const Tags & GetTags() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector