AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSceneRequest.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 UpdateSceneRequest();
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 "UpdateScene"; }
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 UpdateSceneRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
47 inline UpdateSceneRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
48 inline UpdateSceneRequest& 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 UpdateSceneRequest& WithSceneId(const Aws::String& value) { SetSceneId(value); return *this;}
61 inline UpdateSceneRequest& WithSceneId(Aws::String&& value) { SetSceneId(std::move(value)); return *this;}
62 inline UpdateSceneRequest& 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 UpdateSceneRequest& WithContentLocation(const Aws::String& value) { SetContentLocation(value); return *this;}
76 inline UpdateSceneRequest& WithContentLocation(Aws::String&& value) { SetContentLocation(std::move(value)); return *this;}
77 inline UpdateSceneRequest& 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 UpdateSceneRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
90 inline UpdateSceneRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
91 inline UpdateSceneRequest& 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 UpdateSceneRequest& WithCapabilities(Aws::Vector<Aws::String>&& value) { SetCapabilities(std::move(value)); return *this;}
104 inline UpdateSceneRequest& AddCapabilities(const Aws::String& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
105 inline UpdateSceneRequest& AddCapabilities(Aws::String&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(std::move(value)); return *this; }
106 inline UpdateSceneRequest& 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>& GetSceneMetadata() const{ return m_sceneMetadata; }
114 inline bool SceneMetadataHasBeenSet() const { return m_sceneMetadataHasBeenSet; }
115 inline void SetSceneMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata = value; }
116 inline void SetSceneMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata = std::move(value); }
119 inline UpdateSceneRequest& AddSceneMetadata(const Aws::String& key, const Aws::String& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(key, value); return *this; }
120 inline UpdateSceneRequest& AddSceneMetadata(Aws::String&& key, const Aws::String& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(std::move(key), value); return *this; }
121 inline UpdateSceneRequest& AddSceneMetadata(const Aws::String& key, Aws::String&& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(key, std::move(value)); return *this; }
122 inline UpdateSceneRequest& AddSceneMetadata(Aws::String&& key, Aws::String&& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(std::move(key), std::move(value)); return *this; }
123 inline UpdateSceneRequest& AddSceneMetadata(const char* key, Aws::String&& value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(key, std::move(value)); return *this; }
124 inline UpdateSceneRequest& AddSceneMetadata(Aws::String&& key, const char* value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(std::move(key), value); return *this; }
125 inline UpdateSceneRequest& AddSceneMetadata(const char* key, const char* value) { m_sceneMetadataHasBeenSet = true; m_sceneMetadata.emplace(key, value); return *this; }
127 private:
128
129 Aws::String m_workspaceId;
130 bool m_workspaceIdHasBeenSet = false;
131
132 Aws::String m_sceneId;
133 bool m_sceneIdHasBeenSet = false;
134
135 Aws::String m_contentLocation;
136 bool m_contentLocationHasBeenSet = false;
137
138 Aws::String m_description;
139 bool m_descriptionHasBeenSet = false;
140
141 Aws::Vector<Aws::String> m_capabilities;
142 bool m_capabilitiesHasBeenSet = false;
143
145 bool m_sceneMetadataHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace IoTTwinMaker
150} // namespace Aws
void SetContentLocation(const Aws::String &value)
UpdateSceneRequest & WithContentLocation(Aws::String &&value)
UpdateSceneRequest & WithWorkspaceId(Aws::String &&value)
UpdateSceneRequest & AddSceneMetadata(Aws::String &&key, const char *value)
void SetCapabilities(Aws::Vector< Aws::String > &&value)
UpdateSceneRequest & WithSceneMetadata(Aws::Map< Aws::String, Aws::String > &&value)
UpdateSceneRequest & AddSceneMetadata(const Aws::String &key, Aws::String &&value)
UpdateSceneRequest & AddCapabilities(const char *value)
UpdateSceneRequest & WithSceneId(Aws::String &&value)
void SetSceneMetadata(const Aws::Map< Aws::String, Aws::String > &value)
UpdateSceneRequest & WithSceneMetadata(const Aws::Map< Aws::String, Aws::String > &value)
UpdateSceneRequest & WithContentLocation(const Aws::String &value)
UpdateSceneRequest & WithWorkspaceId(const Aws::String &value)
UpdateSceneRequest & AddSceneMetadata(Aws::String &&key, Aws::String &&value)
UpdateSceneRequest & WithDescription(const Aws::String &value)
const Aws::Vector< Aws::String > & GetCapabilities() const
UpdateSceneRequest & WithSceneId(const char *value)
void SetCapabilities(const Aws::Vector< Aws::String > &value)
void SetSceneMetadata(Aws::Map< Aws::String, Aws::String > &&value)
UpdateSceneRequest & AddSceneMetadata(const char *key, const char *value)
UpdateSceneRequest & WithSceneId(const Aws::String &value)
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
UpdateSceneRequest & AddCapabilities(const Aws::String &value)
UpdateSceneRequest & AddSceneMetadata(const char *key, Aws::String &&value)
UpdateSceneRequest & AddCapabilities(Aws::String &&value)
UpdateSceneRequest & AddSceneMetadata(Aws::String &&key, const Aws::String &value)
UpdateSceneRequest & WithWorkspaceId(const char *value)
UpdateSceneRequest & WithDescription(Aws::String &&value)
UpdateSceneRequest & AddSceneMetadata(const Aws::String &key, const Aws::String &value)
UpdateSceneRequest & WithCapabilities(const Aws::Vector< Aws::String > &value)
void SetWorkspaceId(const Aws::String &value)
void SetDescription(const Aws::String &value)
UpdateSceneRequest & WithContentLocation(const char *value)
UpdateSceneRequest & WithCapabilities(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
UpdateSceneRequest & WithDescription(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetSceneMetadata() 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