7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/outposts/OutpostsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/outposts/model/SupportedHardwareType.h>
41 template<
typename NameT = Aws::String>
42 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
43 template<
typename NameT = Aws::String>
51 template<
typename DescriptionT = Aws::String>
52 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
53 template<
typename DescriptionT = Aws::String>
63 template<
typename SiteIdT = Aws::String>
64 void SetSiteId(SiteIdT&& value) { m_siteIdHasBeenSet =
true; m_siteId = std::forward<SiteIdT>(value); }
65 template<
typename SiteIdT = Aws::String>
73 template<
typename AvailabilityZoneT = Aws::String>
74 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
75 template<
typename AvailabilityZoneT = Aws::String>
83 template<
typename AvailabilityZoneIdT = Aws::String>
84 void SetAvailabilityZoneId(AvailabilityZoneIdT&& value) { m_availabilityZoneIdHasBeenSet =
true; m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value); }
85 template<
typename AvailabilityZoneIdT = Aws::String>
95 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
96 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
97 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
99 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
101 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
117 bool m_nameHasBeenSet =
false;
120 bool m_descriptionHasBeenSet =
false;
123 bool m_siteIdHasBeenSet =
false;
126 bool m_availabilityZoneHasBeenSet =
false;
129 bool m_availabilityZoneIdHasBeenSet =
false;
132 bool m_tagsHasBeenSet =
false;
135 bool m_supportedHardwareTypeHasBeenSet =
false;
CreateOutpostRequest & WithTags(TagsT &&value)
const Aws::String & GetAvailabilityZone() const
const Aws::String & GetName() const
const Aws::String & GetSiteId() const
void SetDescription(DescriptionT &&value)
AWS_OUTPOSTS_API Aws::String SerializePayload() const override
bool SupportedHardwareTypeHasBeenSet() const
void SetSupportedHardwareType(SupportedHardwareType value)
bool NameHasBeenSet() const
const Aws::String & GetAvailabilityZoneId() const
void SetName(NameT &&value)
virtual const char * GetServiceRequestName() const override
CreateOutpostRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetTags(TagsT &&value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
CreateOutpostRequest & WithSupportedHardwareType(SupportedHardwareType value)
CreateOutpostRequest & WithSiteId(SiteIdT &&value)
bool TagsHasBeenSet() const
CreateOutpostRequest & WithAvailabilityZone(AvailabilityZoneT &&value)
bool SiteIdHasBeenSet() const
CreateOutpostRequest & WithDescription(DescriptionT &&value)
void SetSiteId(SiteIdT &&value)
bool DescriptionHasBeenSet() const
void SetAvailabilityZone(AvailabilityZoneT &&value)
CreateOutpostRequest & WithName(NameT &&value)
const Aws::String & GetDescription() const
AWS_OUTPOSTS_API CreateOutpostRequest()=default
bool AvailabilityZoneIdHasBeenSet() const
bool AvailabilityZoneHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateOutpostRequest & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
SupportedHardwareType GetSupportedHardwareType() 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