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/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/ThemeType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace QuickSight
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_QUICKSIGHT_API ListThemesRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListThemes"; }
36
37 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
38
39 AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
47 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
48 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
49 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
50 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
51 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
52 inline ListThemesRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
53 inline ListThemesRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
54 inline ListThemesRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
56
58
62 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
63 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
64 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
65 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
66 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
67 inline ListThemesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
68 inline ListThemesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
69 inline ListThemesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
71
73
76 inline int GetMaxResults() const{ return m_maxResults; }
77 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
78 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
79 inline ListThemesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
81
83
90 inline const ThemeType& GetType() const{ return m_type; }
91 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
92 inline void SetType(const ThemeType& value) { m_typeHasBeenSet = true; m_type = value; }
93 inline void SetType(ThemeType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
94 inline ListThemesRequest& WithType(const ThemeType& value) { SetType(value); return *this;}
95 inline ListThemesRequest& WithType(ThemeType&& value) { SetType(std::move(value)); return *this;}
97 private:
98
99 Aws::String m_awsAccountId;
100 bool m_awsAccountIdHasBeenSet = false;
101
102 Aws::String m_nextToken;
103 bool m_nextTokenHasBeenSet = false;
104
105 int m_maxResults;
106 bool m_maxResultsHasBeenSet = false;
107
108 ThemeType m_type;
109 bool m_typeHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace QuickSight
114} // namespace Aws
ListThemesRequest & WithAwsAccountId(const Aws::String &value)
ListThemesRequest & WithNextToken(Aws::String &&value)
const Aws::String & GetAwsAccountId() const
ListThemesRequest & WithAwsAccountId(const char *value)
ListThemesRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
ListThemesRequest & WithAwsAccountId(Aws::String &&value)
ListThemesRequest & WithNextToken(const Aws::String &value)
void SetAwsAccountId(const Aws::String &value)
ListThemesRequest & WithNextToken(const char *value)
ListThemesRequest & WithType(const ThemeType &value)
ListThemesRequest & WithType(ThemeType &&value)
void SetNextToken(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
AWS_QUICKSIGHT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String