AWS SDK for C++  1.9.159
AWS SDK for C++
CreateBackendEnvironmentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Amplify
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateBackendEnvironment"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetAppId() const{ return m_appId; }
43 
47  inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
48 
52  inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
53 
57  inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
58 
62  inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
63 
67  inline CreateBackendEnvironmentRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
68 
72  inline CreateBackendEnvironmentRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
73 
77  inline CreateBackendEnvironmentRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
78 
79 
83  inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
84 
88  inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
89 
93  inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
94 
98  inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
99 
103  inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
104 
108  inline CreateBackendEnvironmentRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
109 
113  inline CreateBackendEnvironmentRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
114 
118  inline CreateBackendEnvironmentRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
119 
120 
124  inline const Aws::String& GetStackName() const{ return m_stackName; }
125 
129  inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
130 
134  inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
135 
139  inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
140 
144  inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
145 
149  inline CreateBackendEnvironmentRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
150 
154  inline CreateBackendEnvironmentRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
155 
159  inline CreateBackendEnvironmentRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
160 
161 
165  inline const Aws::String& GetDeploymentArtifacts() const{ return m_deploymentArtifacts; }
166 
170  inline bool DeploymentArtifactsHasBeenSet() const { return m_deploymentArtifactsHasBeenSet; }
171 
175  inline void SetDeploymentArtifacts(const Aws::String& value) { m_deploymentArtifactsHasBeenSet = true; m_deploymentArtifacts = value; }
176 
180  inline void SetDeploymentArtifacts(Aws::String&& value) { m_deploymentArtifactsHasBeenSet = true; m_deploymentArtifacts = std::move(value); }
181 
185  inline void SetDeploymentArtifacts(const char* value) { m_deploymentArtifactsHasBeenSet = true; m_deploymentArtifacts.assign(value); }
186 
190  inline CreateBackendEnvironmentRequest& WithDeploymentArtifacts(const Aws::String& value) { SetDeploymentArtifacts(value); return *this;}
191 
195  inline CreateBackendEnvironmentRequest& WithDeploymentArtifacts(Aws::String&& value) { SetDeploymentArtifacts(std::move(value)); return *this;}
196 
200  inline CreateBackendEnvironmentRequest& WithDeploymentArtifacts(const char* value) { SetDeploymentArtifacts(value); return *this;}
201 
202  private:
203 
204  Aws::String m_appId;
205  bool m_appIdHasBeenSet;
206 
207  Aws::String m_environmentName;
208  bool m_environmentNameHasBeenSet;
209 
210  Aws::String m_stackName;
211  bool m_stackNameHasBeenSet;
212 
213  Aws::String m_deploymentArtifacts;
214  bool m_deploymentArtifactsHasBeenSet;
215  };
216 
217 } // namespace Model
218 } // namespace Amplify
219 } // namespace Aws
Amplify_EXPORTS.h
Aws::Amplify::Model::CreateBackendEnvironmentRequest::SetAppId
void SetAppId(const char *value)
Definition: CreateBackendEnvironmentRequest.h:62
Aws::Amplify::Model::CreateBackendEnvironmentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateBackendEnvironmentRequest.h:34
Aws::Amplify::Model::CreateBackendEnvironmentRequest::SetDeploymentArtifacts
void SetDeploymentArtifacts(const char *value)
Definition: CreateBackendEnvironmentRequest.h:185
Aws::Amplify::Model::CreateBackendEnvironmentRequest::SetEnvironmentName
void SetEnvironmentName(const char *value)
Definition: CreateBackendEnvironmentRequest.h:103
Aws::Amplify::Model::CreateBackendEnvironmentRequest::SetEnvironmentName
void SetEnvironmentName(const Aws::String &value)
Definition: CreateBackendEnvironmentRequest.h:93
Aws::Amplify::Model::CreateBackendEnvironmentRequest::SetStackName
void SetStackName(const char *value)
Definition: CreateBackendEnvironmentRequest.h:144
Aws::Amplify::Model::CreateBackendEnvironmentRequest::WithAppId
CreateBackendEnvironmentRequest & WithAppId(Aws::String &&value)
Definition: CreateBackendEnvironmentRequest.h:72
Aws::Amplify::Model::CreateBackendEnvironmentRequest::SetStackName
void SetStackName(const Aws::String &value)
Definition: CreateBackendEnvironmentRequest.h:134
Aws::Amplify::Model::CreateBackendEnvironmentRequest::WithDeploymentArtifacts
CreateBackendEnvironmentRequest & WithDeploymentArtifacts(Aws::String &&value)
Definition: CreateBackendEnvironmentRequest.h:195
Aws::Amplify::Model::CreateBackendEnvironmentRequest::WithEnvironmentName
CreateBackendEnvironmentRequest & WithEnvironmentName(const char *value)
Definition: CreateBackendEnvironmentRequest.h:118
Aws::Amplify::Model::CreateBackendEnvironmentRequest::WithEnvironmentName
CreateBackendEnvironmentRequest & WithEnvironmentName(Aws::String &&value)
Definition: CreateBackendEnvironmentRequest.h:113
Aws::Amplify::Model::CreateBackendEnvironmentRequest::GetAppId
const Aws::String & GetAppId() const
Definition: CreateBackendEnvironmentRequest.h:42
Aws::Amplify::Model::CreateBackendEnvironmentRequest::WithStackName
CreateBackendEnvironmentRequest & WithStackName(const char *value)
Definition: CreateBackendEnvironmentRequest.h:159
Aws::Amplify::Model::CreateBackendEnvironmentRequest::SetStackName
void SetStackName(Aws::String &&value)
Definition: CreateBackendEnvironmentRequest.h:139
Aws::Amplify::Model::CreateBackendEnvironmentRequest::WithStackName
CreateBackendEnvironmentRequest & WithStackName(Aws::String &&value)
Definition: CreateBackendEnvironmentRequest.h:154
AmplifyRequest.h
Aws::Amplify::Model::CreateBackendEnvironmentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Amplify::Model::CreateBackendEnvironmentRequest::WithAppId
CreateBackendEnvironmentRequest & WithAppId(const Aws::String &value)
Definition: CreateBackendEnvironmentRequest.h:67
Aws::Amplify::AmplifyRequest
Definition: AmplifyRequest.h:17
Aws::Amplify::Model::CreateBackendEnvironmentRequest::GetDeploymentArtifacts
const Aws::String & GetDeploymentArtifacts() const
Definition: CreateBackendEnvironmentRequest.h:165
Aws::Amplify::Model::CreateBackendEnvironmentRequest::EnvironmentNameHasBeenSet
bool EnvironmentNameHasBeenSet() const
Definition: CreateBackendEnvironmentRequest.h:88
Aws::Amplify::Model::CreateBackendEnvironmentRequest::WithDeploymentArtifacts
CreateBackendEnvironmentRequest & WithDeploymentArtifacts(const char *value)
Definition: CreateBackendEnvironmentRequest.h:200
Aws::Amplify::Model::CreateBackendEnvironmentRequest::WithDeploymentArtifacts
CreateBackendEnvironmentRequest & WithDeploymentArtifacts(const Aws::String &value)
Definition: CreateBackendEnvironmentRequest.h:190
Aws::Amplify::Model::CreateBackendEnvironmentRequest::GetStackName
const Aws::String & GetStackName() const
Definition: CreateBackendEnvironmentRequest.h:124
Aws::Amplify::Model::CreateBackendEnvironmentRequest::WithAppId
CreateBackendEnvironmentRequest & WithAppId(const char *value)
Definition: CreateBackendEnvironmentRequest.h:77
AWSString.h
Aws::Amplify::Model::CreateBackendEnvironmentRequest::SetDeploymentArtifacts
void SetDeploymentArtifacts(const Aws::String &value)
Definition: CreateBackendEnvironmentRequest.h:175
Aws::Amplify::Model::CreateBackendEnvironmentRequest::DeploymentArtifactsHasBeenSet
bool DeploymentArtifactsHasBeenSet() const
Definition: CreateBackendEnvironmentRequest.h:170
Aws::Amplify::Model::CreateBackendEnvironmentRequest::AppIdHasBeenSet
bool AppIdHasBeenSet() const
Definition: CreateBackendEnvironmentRequest.h:47
Aws::Amplify::Model::CreateBackendEnvironmentRequest::SetAppId
void SetAppId(const Aws::String &value)
Definition: CreateBackendEnvironmentRequest.h:52
Aws::Amplify::Model::CreateBackendEnvironmentRequest::SetAppId
void SetAppId(Aws::String &&value)
Definition: CreateBackendEnvironmentRequest.h:57
Aws::Amplify::Model::CreateBackendEnvironmentRequest::WithStackName
CreateBackendEnvironmentRequest & WithStackName(const Aws::String &value)
Definition: CreateBackendEnvironmentRequest.h:149
Aws::Amplify::Model::CreateBackendEnvironmentRequest::StackNameHasBeenSet
bool StackNameHasBeenSet() const
Definition: CreateBackendEnvironmentRequest.h:129
Aws::Amplify::Model::CreateBackendEnvironmentRequest::WithEnvironmentName
CreateBackendEnvironmentRequest & WithEnvironmentName(const Aws::String &value)
Definition: CreateBackendEnvironmentRequest.h:108
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::CreateBackendEnvironmentRequest
Definition: CreateBackendEnvironmentRequest.h:26
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::CreateBackendEnvironmentRequest::SetDeploymentArtifacts
void SetDeploymentArtifacts(Aws::String &&value)
Definition: CreateBackendEnvironmentRequest.h:180
Aws::Amplify::Model::CreateBackendEnvironmentRequest::GetEnvironmentName
const Aws::String & GetEnvironmentName() const
Definition: CreateBackendEnvironmentRequest.h:83
Aws::Amplify::Model::CreateBackendEnvironmentRequest::SetEnvironmentName
void SetEnvironmentName(Aws::String &&value)
Definition: CreateBackendEnvironmentRequest.h:98
Aws::Amplify::Model::CreateBackendEnvironmentRequest::CreateBackendEnvironmentRequest
CreateBackendEnvironmentRequest()
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28