7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/codestar-connections/CodeStarconnectionsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codestar-connections/model/ProviderType.h>
11#include <aws/codestar-connections/model/VpcConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/codestar-connections/model/Tag.h>
18namespace CodeStarconnections
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
72 template<
typename Prov
iderEndpo
intT = Aws::String>
73 void SetProviderEndpoint(ProviderEndpointT&& value) { m_providerEndpointHasBeenSet =
true; m_providerEndpoint = std::forward<ProviderEndpointT>(value); }
74 template<
typename Prov
iderEndpo
intT = Aws::String>
86 template<
typename VpcConfigurationT = VpcConfiguration>
87 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet =
true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
88 template<
typename VpcConfigurationT = VpcConfiguration>
98 template<
typename TagsT = Aws::Vector<Tag>>
99 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
100 template<
typename TagsT = Aws::Vector<Tag>>
102 template<
typename TagsT = Tag>
103 CreateHostRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
108 bool m_nameHasBeenSet =
false;
111 bool m_providerTypeHasBeenSet =
false;
114 bool m_providerEndpointHasBeenSet =
false;
116 VpcConfiguration m_vpcConfiguration;
117 bool m_vpcConfigurationHasBeenSet =
false;
120 bool m_tagsHasBeenSet =
false;
CreateHostRequest & WithVpcConfiguration(VpcConfigurationT &&value)
bool ProviderEndpointHasBeenSet() const
CreateHostRequest & WithProviderType(ProviderType value)
const Aws::String & GetProviderEndpoint() const
CreateHostRequest & WithProviderEndpoint(ProviderEndpointT &&value)
void SetName(NameT &&value)
AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override
void SetProviderEndpoint(ProviderEndpointT &&value)
const VpcConfiguration & GetVpcConfiguration() const
CreateHostRequest & AddTags(TagsT &&value)
const Aws::String & GetName() const
CreateHostRequest & WithTags(TagsT &&value)
bool TagsHasBeenSet() const
bool VpcConfigurationHasBeenSet() const
bool ProviderTypeHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool NameHasBeenSet() const
CreateHostRequest & WithName(NameT &&value)
void SetProviderType(ProviderType value)
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
ProviderType GetProviderType() const
void SetVpcConfiguration(VpcConfigurationT &&value)
AWS_CODESTARCONNECTIONS_API CreateHostRequest()=default
AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector