AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateThemeRequest.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/CreateThemeData.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 CreateThemeRequest();
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 "CreateTheme"; }
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 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
50 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
51 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
52 inline CreateThemeRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
53 inline CreateThemeRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
54 inline CreateThemeRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
56
58
61 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
62 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
63 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
64 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
65 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
66 inline CreateThemeRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
67 inline CreateThemeRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
68 inline CreateThemeRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
70
72
75 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
76 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
77 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
78 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
79 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
80 inline CreateThemeRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
81 inline CreateThemeRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
82 inline CreateThemeRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
84
86
89 inline const CreateThemeData& GetThemeToCreate() const{ return m_themeToCreate; }
90 inline bool ThemeToCreateHasBeenSet() const { return m_themeToCreateHasBeenSet; }
91 inline void SetThemeToCreate(const CreateThemeData& value) { m_themeToCreateHasBeenSet = true; m_themeToCreate = value; }
92 inline void SetThemeToCreate(CreateThemeData&& value) { m_themeToCreateHasBeenSet = true; m_themeToCreate = std::move(value); }
93 inline CreateThemeRequest& WithThemeToCreate(const CreateThemeData& value) { SetThemeToCreate(value); return *this;}
94 inline CreateThemeRequest& WithThemeToCreate(CreateThemeData&& value) { SetThemeToCreate(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_appId;
99 bool m_appIdHasBeenSet = false;
100
101 Aws::String m_environmentName;
102 bool m_environmentNameHasBeenSet = false;
103
104 Aws::String m_clientToken;
105 bool m_clientTokenHasBeenSet = false;
106
107 CreateThemeData m_themeToCreate;
108 bool m_themeToCreateHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace AmplifyUIBuilder
113} // namespace Aws
void SetThemeToCreate(const CreateThemeData &value)
CreateThemeRequest & WithAppId(const char *value)
CreateThemeRequest & WithClientToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateThemeRequest & WithAppId(Aws::String &&value)
CreateThemeRequest & WithThemeToCreate(const CreateThemeData &value)
CreateThemeRequest & WithThemeToCreate(CreateThemeData &&value)
CreateThemeRequest & WithClientToken(const Aws::String &value)
CreateThemeRequest & WithAppId(const Aws::String &value)
CreateThemeRequest & WithEnvironmentName(Aws::String &&value)
CreateThemeRequest & WithEnvironmentName(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override
AWS_AMPLIFYUIBUILDER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
CreateThemeRequest & WithClientToken(const char *value)
CreateThemeRequest & WithEnvironmentName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String