7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudfront/model/Tags.h>
11#include <aws/cloudfront/model/Customizations.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/cloudfront/model/DomainResult.h>
14#include <aws/cloudfront/model/Parameter.h>
52 template<
typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
54 template<
typename IdT = Aws::String>
64 template<
typename DistributionIdT = Aws::String>
65 void SetDistributionId(DistributionIdT&& value) { m_distributionIdHasBeenSet =
true; m_distributionId = std::forward<DistributionIdT>(value); }
66 template<
typename DistributionIdT = Aws::String>
76 template<
typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
78 template<
typename NameT = Aws::String>
88 template<
typename ArnT = Aws::String>
89 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
90 template<
typename ArnT = Aws::String>
100 template<
typename DomainsT = Aws::Vector<DomainResult>>
101 void SetDomains(DomainsT&& value) { m_domainsHasBeenSet =
true; m_domains = std::forward<DomainsT>(value); }
102 template<
typename DomainsT = Aws::Vector<DomainResult>>
104 template<
typename DomainsT = DomainResult>
112 template<
typename TagsT = Tags>
113 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
114 template<
typename TagsT = Tags>
128 template<
typename CustomizationsT = Customizations>
129 void SetCustomizations(CustomizationsT&& value) { m_customizationsHasBeenSet =
true; m_customizations = std::forward<CustomizationsT>(value); }
130 template<
typename CustomizationsT = Customizations>
142 template<
typename ParametersT = Aws::Vector<Parameter>>
143 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
144 template<
typename ParametersT = Aws::Vector<Parameter>>
146 template<
typename ParametersT = Parameter>
157 template<
typename ConnectionGroupIdT = Aws::String>
158 void SetConnectionGroupId(ConnectionGroupIdT&& value) { m_connectionGroupIdHasBeenSet =
true; m_connectionGroupId = std::forward<ConnectionGroupIdT>(value); }
159 template<
typename ConnectionGroupIdT = Aws::String>
169 template<
typename CreatedTimeT = Aws::Utils::DateTime>
170 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
171 template<
typename CreatedTimeT = Aws::Utils::DateTime>
181 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
182 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
183 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
194 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
204 template<
typename StatusT = Aws::String>
205 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
206 template<
typename StatusT = Aws::String>
212 bool m_idHasBeenSet =
false;
215 bool m_distributionIdHasBeenSet =
false;
218 bool m_nameHasBeenSet =
false;
221 bool m_arnHasBeenSet =
false;
224 bool m_domainsHasBeenSet =
false;
227 bool m_tagsHasBeenSet =
false;
230 bool m_customizationsHasBeenSet =
false;
233 bool m_parametersHasBeenSet =
false;
236 bool m_connectionGroupIdHasBeenSet =
false;
239 bool m_createdTimeHasBeenSet =
false;
242 bool m_lastModifiedTimeHasBeenSet =
false;
244 bool m_enabled{
false};
245 bool m_enabledHasBeenSet =
false;
248 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