AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateBackendEnvironmentRequest.h
1
6#pragma once
7#include <aws/amplify/AmplifyRequest.h>
8#include <aws/amplify/Amplify_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Amplify {
15namespace Model {
16
24 public:
25 AWS_AMPLIFY_API CreateBackendEnvironmentRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateBackendEnvironment"; }
32
33 AWS_AMPLIFY_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetAppId() const { return m_appId; }
40 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
41 template <typename AppIdT = Aws::String>
42 void SetAppId(AppIdT&& value) {
43 m_appIdHasBeenSet = true;
44 m_appId = std::forward<AppIdT>(value);
45 }
46 template <typename AppIdT = Aws::String>
48 SetAppId(std::forward<AppIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
58 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
59 template <typename EnvironmentNameT = Aws::String>
60 void SetEnvironmentName(EnvironmentNameT&& value) {
61 m_environmentNameHasBeenSet = true;
62 m_environmentName = std::forward<EnvironmentNameT>(value);
63 }
64 template <typename EnvironmentNameT = Aws::String>
66 SetEnvironmentName(std::forward<EnvironmentNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetStackName() const { return m_stackName; }
76 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
77 template <typename StackNameT = Aws::String>
78 void SetStackName(StackNameT&& value) {
79 m_stackNameHasBeenSet = true;
80 m_stackName = std::forward<StackNameT>(value);
81 }
82 template <typename StackNameT = Aws::String>
84 SetStackName(std::forward<StackNameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDeploymentArtifacts() const { return m_deploymentArtifacts; }
94 inline bool DeploymentArtifactsHasBeenSet() const { return m_deploymentArtifactsHasBeenSet; }
95 template <typename DeploymentArtifactsT = Aws::String>
96 void SetDeploymentArtifacts(DeploymentArtifactsT&& value) {
97 m_deploymentArtifactsHasBeenSet = true;
98 m_deploymentArtifacts = std::forward<DeploymentArtifactsT>(value);
99 }
100 template <typename DeploymentArtifactsT = Aws::String>
102 SetDeploymentArtifacts(std::forward<DeploymentArtifactsT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_appId;
108
109 Aws::String m_environmentName;
110
111 Aws::String m_stackName;
112
113 Aws::String m_deploymentArtifacts;
114 bool m_appIdHasBeenSet = false;
115 bool m_environmentNameHasBeenSet = false;
116 bool m_stackNameHasBeenSet = false;
117 bool m_deploymentArtifactsHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace Amplify
122} // namespace Aws
CreateBackendEnvironmentRequest & WithAppId(AppIdT &&value)
CreateBackendEnvironmentRequest & WithEnvironmentName(EnvironmentNameT &&value)
CreateBackendEnvironmentRequest & WithStackName(StackNameT &&value)
AWS_AMPLIFY_API Aws::String SerializePayload() const override
AWS_AMPLIFY_API CreateBackendEnvironmentRequest()=default
CreateBackendEnvironmentRequest & WithDeploymentArtifacts(DeploymentArtifactsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String