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"; }
50 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
66 inline void SetCodebuildRoleArn(
const char* value) { m_codebuildRoleArnHasBeenSet =
true; m_codebuildRoleArn.assign(value); }
87 inline void SetComponentRoleArn(
const char* value) { m_componentRoleArnHasBeenSet =
true; m_componentRoleArn.assign(value); }
102 inline void SetEnvironmentName(
const char* value) { m_environmentNameHasBeenSet =
true; m_environmentName.assign(value); }
120 inline void SetManagementAccountId(
const char* value) { m_managementAccountIdHasBeenSet =
true; m_managementAccountId.assign(value); }
136 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
162 bool m_clientTokenHasBeenSet =
false;
165 bool m_codebuildRoleArnHasBeenSet =
false;
168 bool m_componentRoleArnHasBeenSet =
false;
171 bool m_environmentNameHasBeenSet =
false;
174 bool m_managementAccountIdHasBeenSet =
false;
177 bool m_roleArnHasBeenSet =
false;
180 bool m_tagsHasBeenSet =
false;
const Aws::String & GetCodebuildRoleArn() const
CreateEnvironmentAccountConnectionRequest & WithManagementAccountId(const char *value)
CreateEnvironmentAccountConnectionRequest & WithRoleArn(Aws::String &&value)
CreateEnvironmentAccountConnectionRequest & WithEnvironmentName(const Aws::String &value)
bool ClientTokenHasBeenSet() const
CreateEnvironmentAccountConnectionRequest & WithManagementAccountId(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
CreateEnvironmentAccountConnectionRequest & WithComponentRoleArn(Aws::String &&value)
CreateEnvironmentAccountConnectionRequest & WithEnvironmentName(Aws::String &&value)
const Aws::String & GetEnvironmentName() const
void SetEnvironmentName(const Aws::String &value)
void SetCodebuildRoleArn(const char *value)
const Aws::String & GetComponentRoleArn() const
void SetEnvironmentName(const char *value)
void SetClientToken(const Aws::String &value)
void SetManagementAccountId(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
bool ManagementAccountIdHasBeenSet() const
CreateEnvironmentAccountConnectionRequest & WithRoleArn(const Aws::String &value)
bool RoleArnHasBeenSet() const
CreateEnvironmentAccountConnectionRequest & AddTags(Tag &&value)
void SetRoleArn(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
void SetManagementAccountId(Aws::String &&value)
const Aws::String & GetRoleArn() const
void SetComponentRoleArn(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
CreateEnvironmentAccountConnectionRequest & WithClientToken(const Aws::String &value)
CreateEnvironmentAccountConnectionRequest & WithManagementAccountId(const Aws::String &value)
CreateEnvironmentAccountConnectionRequest & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetManagementAccountId() const
CreateEnvironmentAccountConnectionRequest & WithRoleArn(const char *value)
CreateEnvironmentAccountConnectionRequest & WithCodebuildRoleArn(Aws::String &&value)
void SetComponentRoleArn(Aws::String &&value)
CreateEnvironmentAccountConnectionRequest & WithClientToken(Aws::String &&value)
CreateEnvironmentAccountConnectionRequest & WithCodebuildRoleArn(const Aws::String &value)
void SetManagementAccountId(const Aws::String &value)
void SetClientToken(const char *value)
CreateEnvironmentAccountConnectionRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetClientToken() const
CreateEnvironmentAccountConnectionRequest & AddTags(const Tag &value)
CreateEnvironmentAccountConnectionRequest & WithComponentRoleArn(const Aws::String &value)
void SetCodebuildRoleArn(const Aws::String &value)
void SetComponentRoleArn(const char *value)
void SetClientToken(Aws::String &&value)
AWS_PROTON_API CreateEnvironmentAccountConnectionRequest()
void SetCodebuildRoleArn(Aws::String &&value)
void SetEnvironmentName(Aws::String &&value)
CreateEnvironmentAccountConnectionRequest & WithEnvironmentName(const char *value)
bool TagsHasBeenSet() const
bool CodebuildRoleArnHasBeenSet() const
CreateEnvironmentAccountConnectionRequest & WithClientToken(const char *value)
bool EnvironmentNameHasBeenSet() const
CreateEnvironmentAccountConnectionRequest & WithCodebuildRoleArn(const char *value)
AWS_PROTON_API Aws::String SerializePayload() const override
CreateEnvironmentAccountConnectionRequest & WithComponentRoleArn(const char *value)
bool ComponentRoleArnHasBeenSet() const
void SetRoleArn(const char *value)
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