7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/proton/ProtonRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/proton/model/Tag.h>
13#include <aws/core/utils/UUID.h>
33 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateEnvironmentAccountConnection"; }
48 template<
typename ClientTokenT = Aws::String>
49 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
50 template<
typename ClientTokenT = Aws::String>
62 template<
typename CodebuildRoleArnT = Aws::String>
63 void SetCodebuildRoleArn(CodebuildRoleArnT&& value) { m_codebuildRoleArnHasBeenSet =
true; m_codebuildRoleArn = std::forward<CodebuildRoleArnT>(value); }
64 template<
typename CodebuildRoleArnT = Aws::String>
81 template<
typename ComponentRoleArnT = Aws::String>
82 void SetComponentRoleArn(ComponentRoleArnT&& value) { m_componentRoleArnHasBeenSet =
true; m_componentRoleArn = std::forward<ComponentRoleArnT>(value); }
83 template<
typename ComponentRoleArnT = Aws::String>
94 template<
typename EnvironmentNameT = Aws::String>
95 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet =
true; m_environmentName = std::forward<EnvironmentNameT>(value); }
96 template<
typename EnvironmentNameT = Aws::String>
110 template<
typename ManagementAccountIdT = Aws::String>
111 void SetManagementAccountId(ManagementAccountIdT&& value) { m_managementAccountIdHasBeenSet =
true; m_managementAccountId = std::forward<ManagementAccountIdT>(value); }
112 template<
typename ManagementAccountIdT = Aws::String>
124 template<
typename RoleArnT = Aws::String>
125 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
126 template<
typename RoleArnT = Aws::String>
140 template<
typename TagsT = Aws::Vector<Tag>>
141 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
142 template<
typename TagsT = Aws::Vector<Tag>>
144 template<
typename TagsT = Tag>
150 bool m_clientTokenHasBeenSet =
true;
153 bool m_codebuildRoleArnHasBeenSet =
false;
156 bool m_componentRoleArnHasBeenSet =
false;
159 bool m_environmentNameHasBeenSet =
false;
162 bool m_managementAccountIdHasBeenSet =
false;
165 bool m_roleArnHasBeenSet =
false;
168 bool m_tagsHasBeenSet =
false;
const Aws::String & GetCodebuildRoleArn() const
AWS_PROTON_API CreateEnvironmentAccountConnectionRequest()=default
CreateEnvironmentAccountConnectionRequest & WithCodebuildRoleArn(CodebuildRoleArnT &&value)
void SetManagementAccountId(ManagementAccountIdT &&value)
bool ClientTokenHasBeenSet() const
CreateEnvironmentAccountConnectionRequest & WithTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetEnvironmentName() const
CreateEnvironmentAccountConnectionRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetComponentRoleArn() const
CreateEnvironmentAccountConnectionRequest & WithEnvironmentName(EnvironmentNameT &&value)
bool ManagementAccountIdHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
bool RoleArnHasBeenSet() const
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRoleArn() const
CreateEnvironmentAccountConnectionRequest & WithComponentRoleArn(ComponentRoleArnT &&value)
void SetComponentRoleArn(ComponentRoleArnT &&value)
CreateEnvironmentAccountConnectionRequest & AddTags(TagsT &&value)
const Aws::String & GetManagementAccountId() const
void SetEnvironmentName(EnvironmentNameT &&value)
const Aws::String & GetClientToken() const
void SetCodebuildRoleArn(CodebuildRoleArnT &&value)
CreateEnvironmentAccountConnectionRequest & WithRoleArn(RoleArnT &&value)
CreateEnvironmentAccountConnectionRequest & WithManagementAccountId(ManagementAccountIdT &&value)
void SetTags(TagsT &&value)
bool TagsHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
bool CodebuildRoleArnHasBeenSet() const
bool EnvironmentNameHasBeenSet() const
AWS_PROTON_API Aws::String SerializePayload() const override
bool ComponentRoleArnHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
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