AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListRoomsRequest.h
1
6#pragma once
7#include <aws/ivschat/Ivschat_EXPORTS.h>
8#include <aws/ivschat/IvschatRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ivschat
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IVSCHAT_API ListRoomsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListRooms"; }
31
32 AWS_IVSCHAT_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template<typename NameT = Aws::String>
42 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
43 template<typename NameT = Aws::String>
44 ListRoomsRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
46
48
52 inline const Aws::String& GetNextToken() const { return m_nextToken; }
53 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
54 template<typename NextTokenT = Aws::String>
55 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
56 template<typename NextTokenT = Aws::String>
57 ListRoomsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
59
61
64 inline int GetMaxResults() const { return m_maxResults; }
65 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
66 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
67 inline ListRoomsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
69
71
74 inline const Aws::String& GetMessageReviewHandlerUri() const { return m_messageReviewHandlerUri; }
75 inline bool MessageReviewHandlerUriHasBeenSet() const { return m_messageReviewHandlerUriHasBeenSet; }
76 template<typename MessageReviewHandlerUriT = Aws::String>
77 void SetMessageReviewHandlerUri(MessageReviewHandlerUriT&& value) { m_messageReviewHandlerUriHasBeenSet = true; m_messageReviewHandlerUri = std::forward<MessageReviewHandlerUriT>(value); }
78 template<typename MessageReviewHandlerUriT = Aws::String>
79 ListRoomsRequest& WithMessageReviewHandlerUri(MessageReviewHandlerUriT&& value) { SetMessageReviewHandlerUri(std::forward<MessageReviewHandlerUriT>(value)); return *this;}
81
83
86 inline const Aws::String& GetLoggingConfigurationIdentifier() const { return m_loggingConfigurationIdentifier; }
87 inline bool LoggingConfigurationIdentifierHasBeenSet() const { return m_loggingConfigurationIdentifierHasBeenSet; }
88 template<typename LoggingConfigurationIdentifierT = Aws::String>
89 void SetLoggingConfigurationIdentifier(LoggingConfigurationIdentifierT&& value) { m_loggingConfigurationIdentifierHasBeenSet = true; m_loggingConfigurationIdentifier = std::forward<LoggingConfigurationIdentifierT>(value); }
90 template<typename LoggingConfigurationIdentifierT = Aws::String>
91 ListRoomsRequest& WithLoggingConfigurationIdentifier(LoggingConfigurationIdentifierT&& value) { SetLoggingConfigurationIdentifier(std::forward<LoggingConfigurationIdentifierT>(value)); return *this;}
93 private:
94
95 Aws::String m_name;
96 bool m_nameHasBeenSet = false;
97
98 Aws::String m_nextToken;
99 bool m_nextTokenHasBeenSet = false;
100
101 int m_maxResults{0};
102 bool m_maxResultsHasBeenSet = false;
103
104 Aws::String m_messageReviewHandlerUri;
105 bool m_messageReviewHandlerUriHasBeenSet = false;
106
107 Aws::String m_loggingConfigurationIdentifier;
108 bool m_loggingConfigurationIdentifierHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace ivschat
113} // 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