AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListThemesRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace AmplifyUIBuilder
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_AMPLIFYUIBUILDER_API ListThemesRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListThemes"; }
35
36 AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override;
37
38 AWS_AMPLIFYUIBUILDER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetAppId() const{ return m_appId; }
46 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
47 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
48 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
49 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
50 inline ListThemesRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
51 inline ListThemesRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
52 inline ListThemesRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
54
56
59 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
60 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
61 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
62 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
63 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
64 inline ListThemesRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
65 inline ListThemesRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
66 inline ListThemesRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
68
70
73 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
74 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
75 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
76 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
77 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
78 inline ListThemesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
79 inline ListThemesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
80 inline ListThemesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
82
84
87 inline int GetMaxResults() const{ return m_maxResults; }
88 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
89 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
90 inline ListThemesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
92 private:
93
94 Aws::String m_appId;
95 bool m_appIdHasBeenSet = false;
96
97 Aws::String m_environmentName;
98 bool m_environmentNameHasBeenSet = false;
99
100 Aws::String m_nextToken;
101 bool m_nextTokenHasBeenSet = false;
102
103 int m_maxResults;
104 bool m_maxResultsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace AmplifyUIBuilder
109} // namespace Aws
AWS_AMPLIFYUIBUILDER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListThemesRequest & WithEnvironmentName(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API ListThemesRequest()
ListThemesRequest & WithNextToken(const Aws::String &value)
ListThemesRequest & WithNextToken(const char *value)
ListThemesRequest & WithAppId(const char *value)
AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override
ListThemesRequest & WithAppId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListThemesRequest & WithEnvironmentName(Aws::String &&value)
void SetEnvironmentName(const Aws::String &value)
ListThemesRequest & WithNextToken(Aws::String &&value)
ListThemesRequest & WithEnvironmentName(const char *value)
ListThemesRequest & WithAppId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String