AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateApplicationInstanceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/panorama/PanoramaRequest.h>
10#include <aws/panorama/Panorama_EXPORTS.h>
11#include <aws/panorama/model/ManifestOverridesPayload.h>
12#include <aws/panorama/model/ManifestPayload.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Panorama {
18namespace Model {
19
23 public:
24 AWS_PANORAMA_API CreateApplicationInstanceRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateApplicationInstance"; }
31
32 AWS_PANORAMA_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetApplicationInstanceIdToReplace() const { return m_applicationInstanceIdToReplace; }
39 inline bool ApplicationInstanceIdToReplaceHasBeenSet() const { return m_applicationInstanceIdToReplaceHasBeenSet; }
40 template <typename ApplicationInstanceIdToReplaceT = Aws::String>
41 void SetApplicationInstanceIdToReplace(ApplicationInstanceIdToReplaceT&& value) {
42 m_applicationInstanceIdToReplaceHasBeenSet = true;
43 m_applicationInstanceIdToReplace = std::forward<ApplicationInstanceIdToReplaceT>(value);
44 }
45 template <typename ApplicationInstanceIdToReplaceT = Aws::String>
46 CreateApplicationInstanceRequest& WithApplicationInstanceIdToReplace(ApplicationInstanceIdToReplaceT&& value) {
47 SetApplicationInstanceIdToReplace(std::forward<ApplicationInstanceIdToReplaceT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDefaultRuntimeContextDevice() const { return m_defaultRuntimeContextDevice; }
57 inline bool DefaultRuntimeContextDeviceHasBeenSet() const { return m_defaultRuntimeContextDeviceHasBeenSet; }
58 template <typename DefaultRuntimeContextDeviceT = Aws::String>
59 void SetDefaultRuntimeContextDevice(DefaultRuntimeContextDeviceT&& value) {
60 m_defaultRuntimeContextDeviceHasBeenSet = true;
61 m_defaultRuntimeContextDevice = std::forward<DefaultRuntimeContextDeviceT>(value);
62 }
63 template <typename DefaultRuntimeContextDeviceT = Aws::String>
65 SetDefaultRuntimeContextDevice(std::forward<DefaultRuntimeContextDeviceT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87
89
92 inline const ManifestOverridesPayload& GetManifestOverridesPayload() const { return m_manifestOverridesPayload; }
93 inline bool ManifestOverridesPayloadHasBeenSet() const { return m_manifestOverridesPayloadHasBeenSet; }
94 template <typename ManifestOverridesPayloadT = ManifestOverridesPayload>
95 void SetManifestOverridesPayload(ManifestOverridesPayloadT&& value) {
96 m_manifestOverridesPayloadHasBeenSet = true;
97 m_manifestOverridesPayload = std::forward<ManifestOverridesPayloadT>(value);
98 }
99 template <typename ManifestOverridesPayloadT = ManifestOverridesPayload>
101 SetManifestOverridesPayload(std::forward<ManifestOverridesPayloadT>(value));
102 return *this;
103 }
105
107
110 inline const ManifestPayload& GetManifestPayload() const { return m_manifestPayload; }
111 inline bool ManifestPayloadHasBeenSet() const { return m_manifestPayloadHasBeenSet; }
112 template <typename ManifestPayloadT = ManifestPayload>
113 void SetManifestPayload(ManifestPayloadT&& value) {
114 m_manifestPayloadHasBeenSet = true;
115 m_manifestPayload = std::forward<ManifestPayloadT>(value);
116 }
117 template <typename ManifestPayloadT = ManifestPayload>
119 SetManifestPayload(std::forward<ManifestPayloadT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetName() const { return m_name; }
129 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
130 template <typename NameT = Aws::String>
131 void SetName(NameT&& value) {
132 m_nameHasBeenSet = true;
133 m_name = std::forward<NameT>(value);
134 }
135 template <typename NameT = Aws::String>
137 SetName(std::forward<NameT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetRuntimeRoleArn() const { return m_runtimeRoleArn; }
147 inline bool RuntimeRoleArnHasBeenSet() const { return m_runtimeRoleArnHasBeenSet; }
148 template <typename RuntimeRoleArnT = Aws::String>
149 void SetRuntimeRoleArn(RuntimeRoleArnT&& value) {
150 m_runtimeRoleArnHasBeenSet = true;
151 m_runtimeRoleArn = std::forward<RuntimeRoleArnT>(value);
152 }
153 template <typename RuntimeRoleArnT = Aws::String>
155 SetRuntimeRoleArn(std::forward<RuntimeRoleArnT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
165 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
166 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
167 void SetTags(TagsT&& value) {
168 m_tagsHasBeenSet = true;
169 m_tags = std::forward<TagsT>(value);
170 }
171 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
173 SetTags(std::forward<TagsT>(value));
174 return *this;
175 }
176 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
177 CreateApplicationInstanceRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
178 m_tagsHasBeenSet = true;
179 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
180 return *this;
181 }
183 private:
184 Aws::String m_applicationInstanceIdToReplace;
185
186 Aws::String m_defaultRuntimeContextDevice;
187
188 Aws::String m_description;
189
190 ManifestOverridesPayload m_manifestOverridesPayload;
191
192 ManifestPayload m_manifestPayload;
193
194 Aws::String m_name;
195
196 Aws::String m_runtimeRoleArn;
197
199 bool m_applicationInstanceIdToReplaceHasBeenSet = false;
200 bool m_defaultRuntimeContextDeviceHasBeenSet = false;
201 bool m_descriptionHasBeenSet = false;
202 bool m_manifestOverridesPayloadHasBeenSet = false;
203 bool m_manifestPayloadHasBeenSet = false;
204 bool m_nameHasBeenSet = false;
205 bool m_runtimeRoleArnHasBeenSet = false;
206 bool m_tagsHasBeenSet = false;
207};
208
209} // namespace Model
210} // namespace Panorama
211} // namespace Aws
CreateApplicationInstanceRequest & WithManifestOverridesPayload(ManifestOverridesPayloadT &&value)
CreateApplicationInstanceRequest & WithApplicationInstanceIdToReplace(ApplicationInstanceIdToReplaceT &&value)
CreateApplicationInstanceRequest & WithDescription(DescriptionT &&value)
CreateApplicationInstanceRequest & WithManifestPayload(ManifestPayloadT &&value)
CreateApplicationInstanceRequest & WithDefaultRuntimeContextDevice(DefaultRuntimeContextDeviceT &&value)
CreateApplicationInstanceRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateApplicationInstanceRequest & WithTags(TagsT &&value)
void SetApplicationInstanceIdToReplace(ApplicationInstanceIdToReplaceT &&value)
AWS_PANORAMA_API Aws::String SerializePayload() const override
CreateApplicationInstanceRequest & WithName(NameT &&value)
void SetDefaultRuntimeContextDevice(DefaultRuntimeContextDeviceT &&value)
CreateApplicationInstanceRequest & WithRuntimeRoleArn(RuntimeRoleArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_PANORAMA_API CreateApplicationInstanceRequest()=default
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