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/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17namespace CodeStarconnections {
44 m_providerTypeHasBeenSet =
true;
45 m_providerType = value;
59 template <
typename ConnectionNameT = Aws::String>
61 m_connectionNameHasBeenSet =
true;
62 m_connectionName = std::forward<ConnectionNameT>(value);
64 template <
typename ConnectionNameT = Aws::String>
77 template <
typename TagsT = Aws::Vector<Tag>>
79 m_tagsHasBeenSet =
true;
80 m_tags = std::forward<TagsT>(value);
82 template <
typename TagsT = Aws::Vector<Tag>>
84 SetTags(std::forward<TagsT>(value));
87 template <
typename TagsT = Tag>
89 m_tagsHasBeenSet =
true;
90 m_tags.emplace_back(std::forward<TagsT>(value));
102 template <
typename HostArnT = Aws::String>
104 m_hostArnHasBeenSet =
true;
105 m_hostArn = std::forward<HostArnT>(value);
107 template <
typename HostArnT = Aws::String>
121 bool m_providerTypeHasBeenSet =
false;
122 bool m_connectionNameHasBeenSet =
false;
123 bool m_tagsHasBeenSet =
false;
124 bool m_hostArnHasBeenSet =
false;
void SetProviderType(ProviderType value)
bool TagsHasBeenSet() const
CreateConnectionRequest & WithConnectionName(ConnectionNameT &&value)
bool ProviderTypeHasBeenSet() const
bool HostArnHasBeenSet() const
const Aws::String & GetConnectionName() const
CreateConnectionRequest & WithHostArn(HostArnT &&value)
const Aws::String & GetHostArn() const
void SetTags(TagsT &&value)
CreateConnectionRequest & WithProviderType(ProviderType value)
CreateConnectionRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CODESTARCONNECTIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CODESTARCONNECTIONS_API Aws::String SerializePayload() const override
bool ConnectionNameHasBeenSet() const
CreateConnectionRequest & AddTags(TagsT &&value)
void SetConnectionName(ConnectionNameT &&value)
void SetHostArn(HostArnT &&value)
AWS_CODESTARCONNECTIONS_API CreateConnectionRequest()=default
const Aws::Vector< Tag > & GetTags() const
ProviderType GetProviderType() const
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