7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/outposts/model/RackPhysicalProperties.h>
36 AWS_OUTPOSTS_API
Site() =
default;
46 template<
typename SiteIdT = Aws::String>
47 void SetSiteId(SiteIdT&& value) { m_siteIdHasBeenSet =
true; m_siteId = std::forward<SiteIdT>(value); }
48 template<
typename SiteIdT = Aws::String>
56 template<
typename AccountIdT = Aws::String>
57 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
58 template<
typename AccountIdT = Aws::String>
66 template<
typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
68 template<
typename NameT = Aws::String>
76 template<
typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
78 template<
typename DescriptionT = Aws::String>
88 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
89 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
90 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
92 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
94 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
102 template<
typename SiteArnT = Aws::String>
103 void SetSiteArn(SiteArnT&& value) { m_siteArnHasBeenSet =
true; m_siteArn = std::forward<SiteArnT>(value); }
104 template<
typename SiteArnT = Aws::String>
114 template<
typename NotesT = Aws::String>
115 void SetNotes(NotesT&& value) { m_notesHasBeenSet =
true; m_notes = std::forward<NotesT>(value); }
116 template<
typename NotesT = Aws::String>
127 template<
typename OperatingAddressCountryCodeT = Aws::String>
128 void SetOperatingAddressCountryCode(OperatingAddressCountryCodeT&& value) { m_operatingAddressCountryCodeHasBeenSet =
true; m_operatingAddressCountryCode = std::forward<OperatingAddressCountryCodeT>(value); }
129 template<
typename OperatingAddressCountryCodeT = Aws::String>
139 template<
typename OperatingAddressStateOrRegionT = Aws::String>
140 void SetOperatingAddressStateOrRegion(OperatingAddressStateOrRegionT&& value) { m_operatingAddressStateOrRegionHasBeenSet =
true; m_operatingAddressStateOrRegion = std::forward<OperatingAddressStateOrRegionT>(value); }
141 template<
typename OperatingAddressStateOrRegionT = Aws::String>
151 template<
typename OperatingAddressCityT = Aws::String>
152 void SetOperatingAddressCity(OperatingAddressCityT&& value) { m_operatingAddressCityHasBeenSet =
true; m_operatingAddressCity = std::forward<OperatingAddressCityT>(value); }
153 template<
typename OperatingAddressCityT = Aws::String>
164 template<
typename RackPhysicalPropertiesT = RackPhysicalProperties>
165 void SetRackPhysicalProperties(RackPhysicalPropertiesT&& value) { m_rackPhysicalPropertiesHasBeenSet =
true; m_rackPhysicalProperties = std::forward<RackPhysicalPropertiesT>(value); }
166 template<
typename RackPhysicalPropertiesT = RackPhysicalProperties>
172 bool m_siteIdHasBeenSet =
false;
175 bool m_accountIdHasBeenSet =
false;
178 bool m_nameHasBeenSet =
false;
181 bool m_descriptionHasBeenSet =
false;
184 bool m_tagsHasBeenSet =
false;
187 bool m_siteArnHasBeenSet =
false;
190 bool m_notesHasBeenSet =
false;
193 bool m_operatingAddressCountryCodeHasBeenSet =
false;
196 bool m_operatingAddressStateOrRegionHasBeenSet =
false;
199 bool m_operatingAddressCityHasBeenSet =
false;
202 bool m_rackPhysicalPropertiesHasBeenSet =
false;
void SetAccountId(AccountIdT &&value)
AWS_OUTPOSTS_API Site & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SiteIdHasBeenSet() const
bool SiteArnHasBeenSet() const
bool RackPhysicalPropertiesHasBeenSet() const
const Aws::String & GetSiteArn() const
bool OperatingAddressCityHasBeenSet() const
Site & WithSiteId(SiteIdT &&value)
Site & WithSiteArn(SiteArnT &&value)
void SetSiteArn(SiteArnT &&value)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
Site & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetOperatingAddressStateOrRegion() const
void SetOperatingAddressStateOrRegion(OperatingAddressStateOrRegionT &&value)
const RackPhysicalProperties & GetRackPhysicalProperties() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Site & WithName(NameT &&value)
void SetDescription(DescriptionT &&value)
Site & WithOperatingAddressCity(OperatingAddressCityT &&value)
const Aws::String & GetOperatingAddressCountryCode() const
bool OperatingAddressStateOrRegionHasBeenSet() const
Site & WithNotes(NotesT &&value)
void SetOperatingAddressCountryCode(OperatingAddressCountryCodeT &&value)
Site & WithOperatingAddressCountryCode(OperatingAddressCountryCodeT &&value)
const Aws::String & GetDescription() const
bool AccountIdHasBeenSet() const
void SetRackPhysicalProperties(RackPhysicalPropertiesT &&value)
bool NameHasBeenSet() const
void SetOperatingAddressCity(OperatingAddressCityT &&value)
const Aws::String & GetName() const
void SetName(NameT &&value)
void SetTags(TagsT &&value)
const Aws::String & GetSiteId() const
const Aws::String & GetAccountId() const
Site & WithRackPhysicalProperties(RackPhysicalPropertiesT &&value)
AWS_OUTPOSTS_API Site()=default
AWS_OUTPOSTS_API Site(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetNotes() const
Site & WithAccountId(AccountIdT &&value)
Site & WithDescription(DescriptionT &&value)
bool TagsHasBeenSet() const
void SetSiteId(SiteIdT &&value)
Site & WithOperatingAddressStateOrRegion(OperatingAddressStateOrRegionT &&value)
bool NotesHasBeenSet() const
const Aws::String & GetOperatingAddressCity() const
Site & WithTags(TagsT &&value)
void SetNotes(NotesT &&value)
bool DescriptionHasBeenSet() const
bool OperatingAddressCountryCodeHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue