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/launch-wizard/LaunchWizard_EXPORTS.h>
8#include <aws/launch-wizard/LaunchWizardRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LaunchWizard
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LAUNCHWIZARD_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_LAUNCHWIZARD_API Aws::String SerializePayload() const override;
34
35
37
44 inline const Aws::String& GetDeploymentPatternName() const{ return m_deploymentPatternName; }
45 inline bool DeploymentPatternNameHasBeenSet() const { return m_deploymentPatternNameHasBeenSet; }
46 inline void SetDeploymentPatternName(const Aws::String& value) { m_deploymentPatternNameHasBeenSet = true; m_deploymentPatternName = value; }
47 inline void SetDeploymentPatternName(Aws::String&& value) { m_deploymentPatternNameHasBeenSet = true; m_deploymentPatternName = std::move(value); }
48 inline void SetDeploymentPatternName(const char* value) { m_deploymentPatternNameHasBeenSet = true; m_deploymentPatternName.assign(value); }
51 inline CreateDeploymentRequest& WithDeploymentPatternName(const char* value) { SetDeploymentPatternName(value); return *this;}
53
55
61 inline bool GetDryRun() const{ return m_dryRun; }
62 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
63 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
64 inline CreateDeploymentRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
66
68
71 inline const Aws::String& GetName() const{ return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
74 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
75 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
76 inline CreateDeploymentRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
77 inline CreateDeploymentRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 inline CreateDeploymentRequest& WithName(const char* value) { SetName(value); return *this;}
80
82
93 inline const Aws::Map<Aws::String, Aws::String>& GetSpecifications() const{ return m_specifications; }
94 inline bool SpecificationsHasBeenSet() const { return m_specificationsHasBeenSet; }
95 inline void SetSpecifications(const Aws::Map<Aws::String, Aws::String>& value) { m_specificationsHasBeenSet = true; m_specifications = value; }
96 inline void SetSpecifications(Aws::Map<Aws::String, Aws::String>&& value) { m_specificationsHasBeenSet = true; m_specifications = std::move(value); }
99 inline CreateDeploymentRequest& AddSpecifications(const Aws::String& key, const Aws::String& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, value); return *this; }
100 inline CreateDeploymentRequest& AddSpecifications(Aws::String&& key, const Aws::String& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(std::move(key), value); return *this; }
101 inline CreateDeploymentRequest& AddSpecifications(const Aws::String& key, Aws::String&& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, std::move(value)); return *this; }
102 inline CreateDeploymentRequest& AddSpecifications(Aws::String&& key, Aws::String&& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(std::move(key), std::move(value)); return *this; }
103 inline CreateDeploymentRequest& AddSpecifications(const char* key, Aws::String&& value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, std::move(value)); return *this; }
104 inline CreateDeploymentRequest& AddSpecifications(Aws::String&& key, const char* value) { m_specificationsHasBeenSet = true; m_specifications.emplace(std::move(key), value); return *this; }
105 inline CreateDeploymentRequest& AddSpecifications(const char* key, const char* value) { m_specificationsHasBeenSet = true; m_specifications.emplace(key, value); return *this; }
107
109
112 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
113 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
114 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
115 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
116 inline CreateDeploymentRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
117 inline CreateDeploymentRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
118 inline CreateDeploymentRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
119 inline CreateDeploymentRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
120 inline CreateDeploymentRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
121 inline CreateDeploymentRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
122 inline CreateDeploymentRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
123 inline CreateDeploymentRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
124 inline CreateDeploymentRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
126
128
134 inline const Aws::String& GetWorkloadName() const{ return m_workloadName; }
135 inline bool WorkloadNameHasBeenSet() const { return m_workloadNameHasBeenSet; }
136 inline void SetWorkloadName(const Aws::String& value) { m_workloadNameHasBeenSet = true; m_workloadName = value; }
137 inline void SetWorkloadName(Aws::String&& value) { m_workloadNameHasBeenSet = true; m_workloadName = std::move(value); }
138 inline void SetWorkloadName(const char* value) { m_workloadNameHasBeenSet = true; m_workloadName.assign(value); }
139 inline CreateDeploymentRequest& WithWorkloadName(const Aws::String& value) { SetWorkloadName(value); return *this;}
140 inline CreateDeploymentRequest& WithWorkloadName(Aws::String&& value) { SetWorkloadName(std::move(value)); return *this;}
141 inline CreateDeploymentRequest& WithWorkloadName(const char* value) { SetWorkloadName(value); return *this;}
143 private:
144
145 Aws::String m_deploymentPatternName;
146 bool m_deploymentPatternNameHasBeenSet = false;
147
148 bool m_dryRun;
149 bool m_dryRunHasBeenSet = false;
150
151 Aws::String m_name;
152 bool m_nameHasBeenSet = false;
153
154 Aws::Map<Aws::String, Aws::String> m_specifications;
155 bool m_specificationsHasBeenSet = false;
156
158 bool m_tagsHasBeenSet = false;
159
160 Aws::String m_workloadName;
161 bool m_workloadNameHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace LaunchWizard
166} // namespace Aws
CreateDeploymentRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDeploymentRequest & WithWorkloadName(const char *value)
CreateDeploymentRequest & AddSpecifications(const Aws::String &key, const Aws::String &value)
CreateDeploymentRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDeploymentRequest & AddTags(Aws::String &&key, const char *value)
CreateDeploymentRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDeploymentRequest & AddSpecifications(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetSpecifications() const
CreateDeploymentRequest & AddSpecifications(Aws::String &&key, Aws::String &&value)
CreateDeploymentRequest & WithSpecifications(Aws::Map< Aws::String, Aws::String > &&value)
void SetSpecifications(const Aws::Map< Aws::String, Aws::String > &value)
CreateDeploymentRequest & AddSpecifications(const char *key, const char *value)
CreateDeploymentRequest & WithName(Aws::String &&value)
CreateDeploymentRequest & WithSpecifications(const Aws::Map< Aws::String, Aws::String > &value)
CreateDeploymentRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateDeploymentRequest & AddSpecifications(const Aws::String &key, Aws::String &&value)
CreateDeploymentRequest & AddTags(const char *key, const char *value)
virtual const char * GetServiceRequestName() const override
void SetSpecifications(Aws::Map< Aws::String, Aws::String > &&value)
CreateDeploymentRequest & WithDeploymentPatternName(const Aws::String &value)
CreateDeploymentRequest & WithDeploymentPatternName(const char *value)
CreateDeploymentRequest & AddSpecifications(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDeploymentRequest & WithName(const char *value)
CreateDeploymentRequest & WithWorkloadName(const Aws::String &value)
CreateDeploymentRequest & WithWorkloadName(Aws::String &&value)
CreateDeploymentRequest & WithName(const Aws::String &value)
CreateDeploymentRequest & WithDeploymentPatternName(Aws::String &&value)
CreateDeploymentRequest & AddSpecifications(Aws::String &&key, const char *value)
AWS_LAUNCHWIZARD_API Aws::String SerializePayload() const override
CreateDeploymentRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateDeploymentRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateDeploymentRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
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