AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateApplicationInstanceRequest.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/PanoramaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/panorama/model/ManifestOverridesPayload.h>
11#include <aws/panorama/model/ManifestPayload.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Panorama
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateApplicationInstance"; }
34
35 AWS_PANORAMA_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetApplicationInstanceIdToReplace() const{ return m_applicationInstanceIdToReplace; }
43 inline bool ApplicationInstanceIdToReplaceHasBeenSet() const { return m_applicationInstanceIdToReplaceHasBeenSet; }
44 inline void SetApplicationInstanceIdToReplace(const Aws::String& value) { m_applicationInstanceIdToReplaceHasBeenSet = true; m_applicationInstanceIdToReplace = value; }
45 inline void SetApplicationInstanceIdToReplace(Aws::String&& value) { m_applicationInstanceIdToReplaceHasBeenSet = true; m_applicationInstanceIdToReplace = std::move(value); }
46 inline void SetApplicationInstanceIdToReplace(const char* value) { m_applicationInstanceIdToReplaceHasBeenSet = true; m_applicationInstanceIdToReplace.assign(value); }
51
53
56 inline const Aws::String& GetDefaultRuntimeContextDevice() const{ return m_defaultRuntimeContextDevice; }
57 inline bool DefaultRuntimeContextDeviceHasBeenSet() const { return m_defaultRuntimeContextDeviceHasBeenSet; }
58 inline void SetDefaultRuntimeContextDevice(const Aws::String& value) { m_defaultRuntimeContextDeviceHasBeenSet = true; m_defaultRuntimeContextDevice = value; }
59 inline void SetDefaultRuntimeContextDevice(Aws::String&& value) { m_defaultRuntimeContextDeviceHasBeenSet = true; m_defaultRuntimeContextDevice = std::move(value); }
60 inline void SetDefaultRuntimeContextDevice(const char* value) { m_defaultRuntimeContextDeviceHasBeenSet = true; m_defaultRuntimeContextDevice.assign(value); }
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline CreateApplicationInstanceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline CreateApplicationInstanceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline CreateApplicationInstanceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
84 inline const ManifestOverridesPayload& GetManifestOverridesPayload() const{ return m_manifestOverridesPayload; }
85 inline bool ManifestOverridesPayloadHasBeenSet() const { return m_manifestOverridesPayloadHasBeenSet; }
86 inline void SetManifestOverridesPayload(const ManifestOverridesPayload& value) { m_manifestOverridesPayloadHasBeenSet = true; m_manifestOverridesPayload = value; }
87 inline void SetManifestOverridesPayload(ManifestOverridesPayload&& value) { m_manifestOverridesPayloadHasBeenSet = true; m_manifestOverridesPayload = std::move(value); }
91
93
96 inline const ManifestPayload& GetManifestPayload() const{ return m_manifestPayload; }
97 inline bool ManifestPayloadHasBeenSet() const { return m_manifestPayloadHasBeenSet; }
98 inline void SetManifestPayload(const ManifestPayload& value) { m_manifestPayloadHasBeenSet = true; m_manifestPayload = value; }
99 inline void SetManifestPayload(ManifestPayload&& value) { m_manifestPayloadHasBeenSet = true; m_manifestPayload = std::move(value); }
103
105
108 inline const Aws::String& GetName() const{ return m_name; }
109 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
110 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
111 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
112 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
113 inline CreateApplicationInstanceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
114 inline CreateApplicationInstanceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
115 inline CreateApplicationInstanceRequest& WithName(const char* value) { SetName(value); return *this;}
117
119
122 inline const Aws::String& GetRuntimeRoleArn() const{ return m_runtimeRoleArn; }
123 inline bool RuntimeRoleArnHasBeenSet() const { return m_runtimeRoleArnHasBeenSet; }
124 inline void SetRuntimeRoleArn(const Aws::String& value) { m_runtimeRoleArnHasBeenSet = true; m_runtimeRoleArn = value; }
125 inline void SetRuntimeRoleArn(Aws::String&& value) { m_runtimeRoleArnHasBeenSet = true; m_runtimeRoleArn = std::move(value); }
126 inline void SetRuntimeRoleArn(const char* value) { m_runtimeRoleArnHasBeenSet = true; m_runtimeRoleArn.assign(value); }
128 inline CreateApplicationInstanceRequest& WithRuntimeRoleArn(Aws::String&& value) { SetRuntimeRoleArn(std::move(value)); return *this;}
129 inline CreateApplicationInstanceRequest& WithRuntimeRoleArn(const char* value) { SetRuntimeRoleArn(value); return *this;}
131
133
136 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
137 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
138 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
139 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
141 inline CreateApplicationInstanceRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
142 inline CreateApplicationInstanceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
143 inline CreateApplicationInstanceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
144 inline CreateApplicationInstanceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
145 inline CreateApplicationInstanceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
146 inline CreateApplicationInstanceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
147 inline CreateApplicationInstanceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
148 inline CreateApplicationInstanceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
150 private:
151
152 Aws::String m_applicationInstanceIdToReplace;
153 bool m_applicationInstanceIdToReplaceHasBeenSet = false;
154
155 Aws::String m_defaultRuntimeContextDevice;
156 bool m_defaultRuntimeContextDeviceHasBeenSet = false;
157
158 Aws::String m_description;
159 bool m_descriptionHasBeenSet = false;
160
161 ManifestOverridesPayload m_manifestOverridesPayload;
162 bool m_manifestOverridesPayloadHasBeenSet = false;
163
164 ManifestPayload m_manifestPayload;
165 bool m_manifestPayloadHasBeenSet = false;
166
167 Aws::String m_name;
168 bool m_nameHasBeenSet = false;
169
170 Aws::String m_runtimeRoleArn;
171 bool m_runtimeRoleArnHasBeenSet = false;
172
174 bool m_tagsHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace Panorama
179} // namespace Aws
CreateApplicationInstanceRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateApplicationInstanceRequest & WithRuntimeRoleArn(Aws::String &&value)
CreateApplicationInstanceRequest & WithDescription(const Aws::String &value)
CreateApplicationInstanceRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateApplicationInstanceRequest & WithManifestPayload(ManifestPayload &&value)
void SetManifestOverridesPayload(const ManifestOverridesPayload &value)
CreateApplicationInstanceRequest & WithName(const char *value)
CreateApplicationInstanceRequest & AddTags(Aws::String &&key, const char *value)
CreateApplicationInstanceRequest & WithDescription(const char *value)
CreateApplicationInstanceRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateApplicationInstanceRequest & WithApplicationInstanceIdToReplace(Aws::String &&value)
CreateApplicationInstanceRequest & AddTags(const char *key, const char *value)
CreateApplicationInstanceRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateApplicationInstanceRequest & WithManifestOverridesPayload(ManifestOverridesPayload &&value)
AWS_PANORAMA_API Aws::String SerializePayload() const override
CreateApplicationInstanceRequest & WithDescription(Aws::String &&value)
CreateApplicationInstanceRequest & WithApplicationInstanceIdToReplace(const char *value)
CreateApplicationInstanceRequest & AddTags(const char *key, Aws::String &&value)
CreateApplicationInstanceRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateApplicationInstanceRequest & WithRuntimeRoleArn(const char *value)
CreateApplicationInstanceRequest & WithName(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateApplicationInstanceRequest & WithManifestOverridesPayload(const ManifestOverridesPayload &value)
CreateApplicationInstanceRequest & WithDefaultRuntimeContextDevice(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateApplicationInstanceRequest & WithDefaultRuntimeContextDevice(Aws::String &&value)
CreateApplicationInstanceRequest & WithDefaultRuntimeContextDevice(const Aws::String &value)
CreateApplicationInstanceRequest & WithApplicationInstanceIdToReplace(const Aws::String &value)
CreateApplicationInstanceRequest & WithManifestPayload(const ManifestPayload &value)
CreateApplicationInstanceRequest & WithName(const Aws::String &value)
CreateApplicationInstanceRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateApplicationInstanceRequest & WithRuntimeRoleArn(const 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