AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
ListRoomsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ivschat/IvschatRequest.h>
9#include <aws/ivschat/Ivschat_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ivschat {
15namespace Model {
16
20 public:
21 AWS_IVSCHAT_API ListRoomsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ListRooms"; }
28
29 AWS_IVSCHAT_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetName() const { return m_name; }
36 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
37 template <typename NameT = Aws::String>
38 void SetName(NameT&& value) {
39 m_nameHasBeenSet = true;
40 m_name = std::forward<NameT>(value);
41 }
42 template <typename NameT = Aws::String>
43 ListRoomsRequest& WithName(NameT&& value) {
44 SetName(std::forward<NameT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetNextToken() const { return m_nextToken; }
55 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
56 template <typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) {
58 m_nextTokenHasBeenSet = true;
59 m_nextToken = std::forward<NextTokenT>(value);
60 }
61 template <typename NextTokenT = Aws::String>
62 ListRoomsRequest& WithNextToken(NextTokenT&& value) {
63 SetNextToken(std::forward<NextTokenT>(value));
64 return *this;
65 }
67
69
72 inline int GetMaxResults() const { return m_maxResults; }
73 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
74 inline void SetMaxResults(int value) {
75 m_maxResultsHasBeenSet = true;
76 m_maxResults = value;
77 }
78 inline ListRoomsRequest& WithMaxResults(int value) {
79 SetMaxResults(value);
80 return *this;
81 }
83
85
88 inline const Aws::String& GetMessageReviewHandlerUri() const { return m_messageReviewHandlerUri; }
89 inline bool MessageReviewHandlerUriHasBeenSet() const { return m_messageReviewHandlerUriHasBeenSet; }
90 template <typename MessageReviewHandlerUriT = Aws::String>
91 void SetMessageReviewHandlerUri(MessageReviewHandlerUriT&& value) {
92 m_messageReviewHandlerUriHasBeenSet = true;
93 m_messageReviewHandlerUri = std::forward<MessageReviewHandlerUriT>(value);
94 }
95 template <typename MessageReviewHandlerUriT = Aws::String>
96 ListRoomsRequest& WithMessageReviewHandlerUri(MessageReviewHandlerUriT&& value) {
97 SetMessageReviewHandlerUri(std::forward<MessageReviewHandlerUriT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetLoggingConfigurationIdentifier() const { return m_loggingConfigurationIdentifier; }
107 inline bool LoggingConfigurationIdentifierHasBeenSet() const { return m_loggingConfigurationIdentifierHasBeenSet; }
108 template <typename LoggingConfigurationIdentifierT = Aws::String>
109 void SetLoggingConfigurationIdentifier(LoggingConfigurationIdentifierT&& value) {
110 m_loggingConfigurationIdentifierHasBeenSet = true;
111 m_loggingConfigurationIdentifier = std::forward<LoggingConfigurationIdentifierT>(value);
112 }
113 template <typename LoggingConfigurationIdentifierT = Aws::String>
114 ListRoomsRequest& WithLoggingConfigurationIdentifier(LoggingConfigurationIdentifierT&& value) {
115 SetLoggingConfigurationIdentifier(std::forward<LoggingConfigurationIdentifierT>(value));
116 return *this;
117 }
119 private:
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
123 Aws::String m_nextToken;
124 bool m_nextTokenHasBeenSet = false;
125
126 int m_maxResults{0};
127 bool m_maxResultsHasBeenSet = false;
128
129 Aws::String m_messageReviewHandlerUri;
130 bool m_messageReviewHandlerUriHasBeenSet = false;
131
132 Aws::String m_loggingConfigurationIdentifier;
133 bool m_loggingConfigurationIdentifierHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace ivschat
138} // namespace Aws
ListRoomsRequest & WithName(NameT &&value)
const Aws::String & GetMessageReviewHandlerUri() const
ListRoomsRequest & WithMessageReviewHandlerUri(MessageReviewHandlerUriT &&value)
AWS_IVSCHAT_API Aws::String SerializePayload() const override
AWS_IVSCHAT_API ListRoomsRequest()=default
void SetLoggingConfigurationIdentifier(LoggingConfigurationIdentifierT &&value)
ListRoomsRequest & WithMaxResults(int value)
ListRoomsRequest & WithNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
ListRoomsRequest & WithLoggingConfigurationIdentifier(LoggingConfigurationIdentifierT &&value)
const Aws::String & GetLoggingConfigurationIdentifier() const
void SetMessageReviewHandlerUri(MessageReviewHandlerUriT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetName() const
void SetNextToken(NextTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String