AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDeploymentRequest.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/m2/MainframeModernizationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace MainframeModernization
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_MAINFRAMEMODERNIZATION_API CreateDeploymentRequest();
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 "CreateDeployment"; }
32
33 AWS_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
43 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
44 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
45 inline CreateDeploymentRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
46 inline CreateDeploymentRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
47 inline CreateDeploymentRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
49
51
54 inline int GetApplicationVersion() const{ return m_applicationVersion; }
55 inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; }
56 inline void SetApplicationVersion(int value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; }
57 inline CreateDeploymentRequest& WithApplicationVersion(int value) { SetApplicationVersion(value); return *this;}
59
61
69 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
70 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
71 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
72 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
73 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
74 inline CreateDeploymentRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
75 inline CreateDeploymentRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
76 inline CreateDeploymentRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
78
80
84 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
85 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
86 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
87 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
88 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
89 inline CreateDeploymentRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
90 inline CreateDeploymentRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
91 inline CreateDeploymentRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
93 private:
94
95 Aws::String m_applicationId;
96 bool m_applicationIdHasBeenSet = false;
97
98 int m_applicationVersion;
99 bool m_applicationVersionHasBeenSet = false;
100
101 Aws::String m_clientToken;
102 bool m_clientTokenHasBeenSet = false;
103
104 Aws::String m_environmentId;
105 bool m_environmentIdHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace MainframeModernization
110} // namespace Aws
AWS_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override
CreateDeploymentRequest & WithApplicationId(const Aws::String &value)
CreateDeploymentRequest & WithClientToken(const Aws::String &value)
CreateDeploymentRequest & WithApplicationId(Aws::String &&value)
CreateDeploymentRequest & WithClientToken(const char *value)
CreateDeploymentRequest & WithClientToken(Aws::String &&value)
CreateDeploymentRequest & WithApplicationId(const char *value)
CreateDeploymentRequest & WithEnvironmentId(const char *value)
CreateDeploymentRequest & WithEnvironmentId(Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API CreateDeploymentRequest()
CreateDeploymentRequest & WithEnvironmentId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String