AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateThemeRequest.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/AmplifyUIBuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/amplifyuibuilder/model/UpdateThemeData.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace AmplifyUIBuilder
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_AMPLIFYUIBUILDER_API UpdateThemeRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateTheme"; }
37
38 AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override;
39
40 AWS_AMPLIFYUIBUILDER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline const Aws::String& GetAppId() const { return m_appId; }
48 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
49 template<typename AppIdT = Aws::String>
50 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
51 template<typename AppIdT = Aws::String>
52 UpdateThemeRequest& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
60 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
61 template<typename EnvironmentNameT = Aws::String>
62 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
63 template<typename EnvironmentNameT = Aws::String>
64 UpdateThemeRequest& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetId() const { return m_id; }
72 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
73 template<typename IdT = Aws::String>
74 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
75 template<typename IdT = Aws::String>
76 UpdateThemeRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
78
80
83 inline const Aws::String& GetClientToken() const { return m_clientToken; }
84 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
85 template<typename ClientTokenT = Aws::String>
86 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
87 template<typename ClientTokenT = Aws::String>
88 UpdateThemeRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
90
92
95 inline const UpdateThemeData& GetUpdatedTheme() const { return m_updatedTheme; }
96 inline bool UpdatedThemeHasBeenSet() const { return m_updatedThemeHasBeenSet; }
97 template<typename UpdatedThemeT = UpdateThemeData>
98 void SetUpdatedTheme(UpdatedThemeT&& value) { m_updatedThemeHasBeenSet = true; m_updatedTheme = std::forward<UpdatedThemeT>(value); }
99 template<typename UpdatedThemeT = UpdateThemeData>
100 UpdateThemeRequest& WithUpdatedTheme(UpdatedThemeT&& value) { SetUpdatedTheme(std::forward<UpdatedThemeT>(value)); return *this;}
102 private:
103
104 Aws::String m_appId;
105 bool m_appIdHasBeenSet = false;
106
107 Aws::String m_environmentName;
108 bool m_environmentNameHasBeenSet = false;
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
114 bool m_clientTokenHasBeenSet = true;
115
116 UpdateThemeData m_updatedTheme;
117 bool m_updatedThemeHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace AmplifyUIBuilder
122} // namespace Aws
AWS_AMPLIFYUIBUILDER_API UpdateThemeRequest()=default
AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override
UpdateThemeRequest & WithClientToken(ClientTokenT &&value)
AWS_AMPLIFYUIBUILDER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
UpdateThemeRequest & WithUpdatedTheme(UpdatedThemeT &&value)
UpdateThemeRequest & WithEnvironmentName(EnvironmentNameT &&value)
UpdateThemeRequest & WithAppId(AppIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String