AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateBackendEnvironmentRequest.h
1
6#pragma once
7#include <aws/amplify/Amplify_EXPORTS.h>
8#include <aws/amplify/AmplifyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Amplify
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_AMPLIFY_API CreateBackendEnvironmentRequest() = default;
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_AMPLIFY_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetAppId() const { return m_appId; }
44 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
45 template<typename AppIdT = Aws::String>
46 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
47 template<typename AppIdT = Aws::String>
48 CreateBackendEnvironmentRequest& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
56 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
57 template<typename EnvironmentNameT = Aws::String>
58 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
59 template<typename EnvironmentNameT = Aws::String>
60 CreateBackendEnvironmentRequest& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetStackName() const { return m_stackName; }
68 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
69 template<typename StackNameT = Aws::String>
70 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
71 template<typename StackNameT = Aws::String>
72 CreateBackendEnvironmentRequest& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
74
76
79 inline const Aws::String& GetDeploymentArtifacts() const { return m_deploymentArtifacts; }
80 inline bool DeploymentArtifactsHasBeenSet() const { return m_deploymentArtifactsHasBeenSet; }
81 template<typename DeploymentArtifactsT = Aws::String>
82 void SetDeploymentArtifacts(DeploymentArtifactsT&& value) { m_deploymentArtifactsHasBeenSet = true; m_deploymentArtifacts = std::forward<DeploymentArtifactsT>(value); }
83 template<typename DeploymentArtifactsT = Aws::String>
84 CreateBackendEnvironmentRequest& WithDeploymentArtifacts(DeploymentArtifactsT&& value) { SetDeploymentArtifacts(std::forward<DeploymentArtifactsT>(value)); return *this;}
86 private:
87
88 Aws::String m_appId;
89 bool m_appIdHasBeenSet = false;
90
91 Aws::String m_environmentName;
92 bool m_environmentNameHasBeenSet = false;
93
94 Aws::String m_stackName;
95 bool m_stackNameHasBeenSet = false;
96
97 Aws::String m_deploymentArtifacts;
98 bool m_deploymentArtifactsHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Amplify
103} // 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