7#include <aws/codestar-connections/CodeStarconnectionsRequest.h>
8#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
9#include <aws/codestar-connections/model/ProviderType.h>
10#include <aws/codestar-connections/model/Tag.h>
11#include <aws/codestar-connections/model/VpcConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18namespace CodeStarconnections {
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
64 m_providerTypeHasBeenSet =
true;
65 m_providerType = value;
80 template <
typename Prov
iderEndpo
intT = Aws::String>
82 m_providerEndpointHasBeenSet =
true;
83 m_providerEndpoint = std::forward<ProviderEndpointT>(value);
85 template <
typename Prov
iderEndpo
intT = Aws::String>
100 template <
typename VpcConfigurationT = VpcConfiguration>
102 m_vpcConfigurationHasBeenSet =
true;
103 m_vpcConfiguration = std::forward<VpcConfigurationT>(value);
105 template <
typename VpcConfigurationT = VpcConfiguration>
118 template <
typename TagsT = Aws::Vector<Tag>>
120 m_tagsHasBeenSet =
true;
121 m_tags = std::forward<TagsT>(value);
123 template <
typename TagsT = Aws::Vector<Tag>>
125 SetTags(std::forward<TagsT>(value));
128 template <
typename TagsT = Tag>
130 m_tagsHasBeenSet =
true;
131 m_tags.emplace_back(std::forward<TagsT>(value));
142 VpcConfiguration m_vpcConfiguration;
145 bool m_nameHasBeenSet =
false;
146 bool m_providerTypeHasBeenSet =
false;
147 bool m_providerEndpointHasBeenSet =
false;
148 bool m_vpcConfigurationHasBeenSet =
false;
149 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