7#include <aws/amplifygen3/AmplifyGen3Request.h>
8#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
9#include <aws/amplifygen3/model/DeploymentSourceConfigRequest.h>
10#include <aws/amplifygen3/model/PublishableKeyAction.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
17namespace AmplifyGen3 {
40 template <
typename AppNameT = Aws::String>
42 m_appNameHasBeenSet =
true;
43 m_appName = std::forward<AppNameT>(value);
45 template <
typename AppNameT = Aws::String>
58 template <
typename EnvironmentNameT = Aws::String>
60 m_environmentNameHasBeenSet =
true;
61 m_environmentName = std::forward<EnvironmentNameT>(value);
63 template <
typename EnvironmentNameT = Aws::String>
76 template <
typename SourceConfigT = DeploymentSourceConfigRequest>
78 m_sourceConfigHasBeenSet =
true;
79 m_sourceConfig = std::forward<SourceConfigT>(value);
81 template <
typename SourceConfigT = DeploymentSourceConfigRequest>
94 template <
typename DescriptionT = Aws::String>
96 m_descriptionHasBeenSet =
true;
97 m_description = std::forward<DescriptionT>(value);
99 template <
typename DescriptionT = Aws::String>
112 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 m_tagsHasBeenSet =
true;
115 m_tags = std::forward<TagsT>(value);
117 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
119 SetTags(std::forward<TagsT>(value));
122 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
124 m_tagsHasBeenSet =
true;
125 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
140 template <
typename BranchArnT = Aws::String>
142 m_branchArnHasBeenSet =
true;
143 m_branchArn = std::forward<BranchArnT>(value);
145 template <
typename BranchArnT = Aws::String>
162 m_publishableKeyActionHasBeenSet =
true;
163 m_publishableKeyAction = value;
184 bool m_appNameHasBeenSet =
false;
185 bool m_environmentNameHasBeenSet =
false;
186 bool m_sourceConfigHasBeenSet =
false;
187 bool m_descriptionHasBeenSet =
false;
188 bool m_tagsHasBeenSet =
false;
189 bool m_branchArnHasBeenSet =
false;
190 bool m_publishableKeyActionHasBeenSet =
false;
const Aws::String & GetDescription() const
AWS_AMPLIFYGEN3_API Aws::String SerializePayload() const override
CreateDeploymentRequest & WithSourceConfig(SourceConfigT &&value)
void SetEnvironmentName(EnvironmentNameT &&value)
bool SourceConfigHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetTags(TagsT &&value)
CreateDeploymentRequest & WithDescription(DescriptionT &&value)
bool AppNameHasBeenSet() const
CreateDeploymentRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool PublishableKeyActionHasBeenSet() const
const Aws::String & GetBranchArn() const
CreateDeploymentRequest & WithEnvironmentName(EnvironmentNameT &&value)
bool EnvironmentNameHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool BranchArnHasBeenSet() const
CreateDeploymentRequest & WithPublishableKeyAction(PublishableKeyAction value)
void SetSourceConfig(SourceConfigT &&value)
CreateDeploymentRequest & WithTags(TagsT &&value)
CreateDeploymentRequest & WithAppName(AppNameT &&value)
void SetBranchArn(BranchArnT &&value)
void SetPublishableKeyAction(PublishableKeyAction value)
const DeploymentSourceConfigRequest & GetSourceConfig() const
const Aws::String & GetAppName() const
PublishableKeyAction GetPublishableKeyAction() const
CreateDeploymentRequest & WithBranchArn(BranchArnT &&value)
AWS_AMPLIFYGEN3_API CreateDeploymentRequest()=default
void SetAppName(AppNameT &&value)
const Aws::String & GetEnvironmentName() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String