AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSceneRequest.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoTTwinMaker
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTTWINMAKER_API CreateSceneRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateScene"; }
33
34 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
42 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
43 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
44 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
45 inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
46 inline CreateSceneRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
47 inline CreateSceneRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
48 inline CreateSceneRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
50
52
55 inline const Aws::String& GetSceneId() const{ return m_sceneId; }
56 inline bool SceneIdHasBeenSet() const { return m_sceneIdHasBeenSet; }
57 inline void SetSceneId(const Aws::String& value) { m_sceneIdHasBeenSet = true; m_sceneId = value; }
58 inline void SetSceneId(Aws::String&& value) { m_sceneIdHasBeenSet = true; m_sceneId = std::move(value); }
59 inline void SetSceneId(const char* value) { m_sceneIdHasBeenSet = true; m_sceneId.assign(value); }
60 inline CreateSceneRequest& WithSceneId(const Aws::String& value) { SetSceneId(value); return *this;}
61 inline CreateSceneRequest& WithSceneId(Aws::String&& value) { SetSceneId(std::move(value)); return *this;}
62 inline CreateSceneRequest& WithSceneId(const char* value) { SetSceneId(value); return *this;}
64
66
70 inline const Aws::String& GetContentLocation() const{ return m_contentLocation; }
71 inline bool ContentLocationHasBeenSet() const { return m_contentLocationHasBeenSet; }
72 inline void SetContentLocation(const Aws::String& value) { m_contentLocationHasBeenSet = true; m_contentLocation = value; }
73 inline void SetContentLocation(Aws::String&& value) { m_contentLocationHasBeenSet = true; m_contentLocation = std::move(value); }
74 inline void SetContentLocation(const char* value) { m_contentLocationHasBeenSet = true; m_contentLocation.assign(value); }
75 inline CreateSceneRequest& WithContentLocation(const Aws::String& value) { SetContentLocation(value); return *this;}
76 inline CreateSceneRequest& WithContentLocation(Aws::String&& value) { SetContentLocation(std::move(value)); return *this;}
77 inline CreateSceneRequest& WithContentLocation(const char* value) { SetContentLocation(value); return *this;}
79
81
84 inline const Aws::String& GetDescription() const{ return m_description; }
85 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
86 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
87 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
88 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
89 inline CreateSceneRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
90 inline CreateSceneRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
91 inline CreateSceneRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
93
95
98 inline const Aws::Vector<Aws::String>& GetCapabilities() const{ return m_capabilities; }
99 inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; }
100 inline void SetCapabilities(const Aws::Vector<Aws::String>& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; }
101 inline void SetCapabilities(Aws::Vector<Aws::String>&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); }
103 inline CreateSceneRequest& WithCapabilities(Aws::Vector<Aws::String>&& value) { SetCapabilities(std::move(value)); return *this;}
104 inline CreateSceneRequest& AddCapabilities(const Aws::String& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
105 inline CreateSceneRequest& AddCapabilities(Aws::String&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(std::move(value)); return *this; }
106 inline CreateSceneRequest& AddCapabilities(const char* value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
108
110
113 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
114 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
115 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
116 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
117 inline CreateSceneRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
118 inline CreateSceneRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
119 inline CreateSceneRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
120 inline CreateSceneRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
121 inline CreateSceneRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
122 inline CreateSceneRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
123 inline CreateSceneRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
124 inline CreateSceneRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
125 inline CreateSceneRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
127
129
132 inline const Aws::Map<Aws::String, Aws::String>& GetSceneMetadata() const{ return m_sceneMetadata; }
133 inline bool SceneMetadataHasBeenSet() const { return m_sceneMetadataHasBeenSet; }
134 inline void SetSceneMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata = value; }
135 inline void SetSceneMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata = std::move(value); }
138 inline CreateSceneRequest& AddSceneMetadata(const Aws::String& key, const Aws::String& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(key, value); return *this; }
139 inline CreateSceneRequest& AddSceneMetadata(Aws::String&& key, const Aws::String& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(std::move(key), value); return *this; }
140 inline CreateSceneRequest& AddSceneMetadata(const Aws::String& key, Aws::String&& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(key, std::move(value)); return *this; }
141 inline CreateSceneRequest& AddSceneMetadata(Aws::String&& key, Aws::String&& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(std::move(key), std::move(value)); return *this; }
142 inline CreateSceneRequest& AddSceneMetadata(const char* key, Aws::String&& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(key, std::move(value)); return *this; }
143 inline CreateSceneRequest& AddSceneMetadata(Aws::String&& key, const char* value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(std::move(key), value); return *this; }
144 inline CreateSceneRequest& AddSceneMetadata(const char* key, const char* value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(key, value); return *this; }
146 private:
147
148 Aws::String m_workspaceId;
149 bool m_workspaceIdHasBeenSet = false;
150
151 Aws::String m_sceneId;
152 bool m_sceneIdHasBeenSet = false;
153
154 Aws::String m_contentLocation;
155 bool m_contentLocationHasBeenSet = false;
156
157 Aws::String m_description;
158 bool m_descriptionHasBeenSet = false;
159
160 Aws::Vector<Aws::String> m_capabilities;
161 bool m_capabilitiesHasBeenSet = false;
162
164 bool m_tagsHasBeenSet = false;
165
167 bool m_sceneMetadataHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace IoTTwinMaker
172} // namespace Aws
CreateSceneRequest & AddSceneMetadata(Aws::String &&key, Aws::String &&value)
CreateSceneRequest & WithSceneId(const char *value)
const Aws::Vector< Aws::String > & GetCapabilities() const
CreateSceneRequest & WithCapabilities(Aws::Vector< Aws::String > &&value)
CreateSceneRequest & AddSceneMetadata(const Aws::String &key, Aws::String &&value)
CreateSceneRequest & WithSceneId(const Aws::String &value)
void SetCapabilities(const Aws::Vector< Aws::String > &value)
CreateSceneRequest & AddSceneMetadata(const Aws::String &key, const Aws::String &value)
CreateSceneRequest & AddSceneMetadata(const char *key, const char *value)
CreateSceneRequest & AddSceneMetadata(Aws::String &&key, const char *value)
CreateSceneRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateSceneRequest & WithWorkspaceId(Aws::String &&value)
CreateSceneRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateSceneRequest & WithWorkspaceId(const char *value)
CreateSceneRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSceneRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateSceneRequest & WithDescription(const Aws::String &value)
void SetWorkspaceId(const Aws::String &value)
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
CreateSceneRequest & AddTags(const char *key, const char *value)
void SetCapabilities(Aws::Vector< Aws::String > &&value)
CreateSceneRequest & AddSceneMetadata(const char *key, Aws::String &&value)
CreateSceneRequest & AddCapabilities(const char *value)
CreateSceneRequest & AddTags(const char *key, Aws::String &&value)
CreateSceneRequest & WithWorkspaceId(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetSceneMetadata(const Aws::Map< Aws::String, Aws::String > &value)
CreateSceneRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateSceneRequest & WithDescription(const char *value)
virtual const char * GetServiceRequestName() const override
CreateSceneRequest & WithSceneMetadata(const Aws::Map< Aws::String, Aws::String > &value)
CreateSceneRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateSceneRequest & WithCapabilities(const Aws::Vector< Aws::String > &value)
CreateSceneRequest & WithContentLocation(const Aws::String &value)
CreateSceneRequest & WithSceneMetadata(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetSceneMetadata() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateSceneRequest & WithSceneId(Aws::String &&value)
void SetContentLocation(const Aws::String &value)
CreateSceneRequest & AddSceneMetadata(Aws::String &&key, const Aws::String &value)
CreateSceneRequest & WithContentLocation(Aws::String &&value)
CreateSceneRequest & WithContentLocation(const char *value)
CreateSceneRequest & WithDescription(Aws::String &&value)
CreateSceneRequest & AddCapabilities(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetSceneMetadata(Aws::Map< Aws::String, Aws::String > &&value)
CreateSceneRequest & AddCapabilities(const Aws::String &value)
CreateSceneRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
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
std::vector< T, Aws::Allocator< T > > Vector