7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/outposts/Outposts_EXPORTS.h>
10#include <aws/outposts/model/RackPhysicalProperties.h>
31 AWS_OUTPOSTS_API
Site() =
default;
40 template <
typename SiteIdT = Aws::String>
42 m_siteIdHasBeenSet =
true;
43 m_siteId = std::forward<SiteIdT>(value);
45 template <
typename SiteIdT = Aws::String>
56 template <
typename AccountIdT = Aws::String>
58 m_accountIdHasBeenSet =
true;
59 m_accountId = std::forward<AccountIdT>(value);
61 template <
typename AccountIdT = Aws::String>
72 template <
typename NameT = Aws::String>
74 m_nameHasBeenSet =
true;
75 m_name = std::forward<NameT>(value);
77 template <
typename NameT = Aws::String>
79 SetName(std::forward<NameT>(value));
88 template <
typename DescriptionT = Aws::String>
90 m_descriptionHasBeenSet =
true;
91 m_description = std::forward<DescriptionT>(value);
93 template <
typename DescriptionT = Aws::String>
106 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
108 m_tagsHasBeenSet =
true;
109 m_tags = std::forward<TagsT>(value);
111 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
113 SetTags(std::forward<TagsT>(value));
116 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
118 m_tagsHasBeenSet =
true;
119 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
128 template <
typename SiteArnT = Aws::String>
130 m_siteArnHasBeenSet =
true;
131 m_siteArn = std::forward<SiteArnT>(value);
133 template <
typename SiteArnT = Aws::String>
146 template <
typename NotesT = Aws::String>
148 m_notesHasBeenSet =
true;
149 m_notes = std::forward<NotesT>(value);
151 template <
typename NotesT = Aws::String>
153 SetNotes(std::forward<NotesT>(value));
165 template <
typename OperatingAddressCountryCodeT = Aws::String>
167 m_operatingAddressCountryCodeHasBeenSet =
true;
168 m_operatingAddressCountryCode = std::forward<OperatingAddressCountryCodeT>(value);
170 template <
typename OperatingAddressCountryCodeT = Aws::String>
183 template <
typename OperatingAddressStateOrRegionT = Aws::String>
185 m_operatingAddressStateOrRegionHasBeenSet =
true;
186 m_operatingAddressStateOrRegion = std::forward<OperatingAddressStateOrRegionT>(value);
188 template <
typename OperatingAddressStateOrRegionT = Aws::String>
201 template <
typename OperatingAddressCityT = Aws::String>
203 m_operatingAddressCityHasBeenSet =
true;
204 m_operatingAddressCity = std::forward<OperatingAddressCityT>(value);
206 template <
typename OperatingAddressCityT = Aws::String>
220 template <
typename RackPhysicalPropertiesT = RackPhysicalProperties>
222 m_rackPhysicalPropertiesHasBeenSet =
true;
223 m_rackPhysicalProperties = std::forward<RackPhysicalPropertiesT>(value);
225 template <
typename RackPhysicalPropertiesT = RackPhysicalProperties>
253 bool m_siteIdHasBeenSet =
false;
254 bool m_accountIdHasBeenSet =
false;
255 bool m_nameHasBeenSet =
false;
256 bool m_descriptionHasBeenSet =
false;
257 bool m_tagsHasBeenSet =
false;
258 bool m_siteArnHasBeenSet =
false;
259 bool m_notesHasBeenSet =
false;
260 bool m_operatingAddressCountryCodeHasBeenSet =
false;
261 bool m_operatingAddressStateOrRegionHasBeenSet =
false;
262 bool m_operatingAddressCityHasBeenSet =
false;
263 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