AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
42 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
43 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
44 inline ListRoomsRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
45 inline ListRoomsRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
46 inline ListRoomsRequest& WithName(const char* value) { SetName(value); return *this;}
48
50
54 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
55 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
56 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
57 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
58 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
59 inline ListRoomsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
60 inline ListRoomsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
61 inline ListRoomsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
63
65
68 inline int GetMaxResults() const{ return m_maxResults; }
69 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
70 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
71 inline ListRoomsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
73
75
78 inline const Aws::String& GetMessageReviewHandlerUri() const{ return m_messageReviewHandlerUri; }
79 inline bool MessageReviewHandlerUriHasBeenSet() const { return m_messageReviewHandlerUriHasBeenSet; }
80 inline void SetMessageReviewHandlerUri(const Aws::String& value) { m_messageReviewHandlerUriHasBeenSet = true; m_messageReviewHandlerUri = value; }
81 inline void SetMessageReviewHandlerUri(Aws::String&& value) { m_messageReviewHandlerUriHasBeenSet = true; m_messageReviewHandlerUri = std::move(value); }
82 inline void SetMessageReviewHandlerUri(const char* value) { m_messageReviewHandlerUriHasBeenSet = true; m_messageReviewHandlerUri.assign(value); }
84 inline ListRoomsRequest& WithMessageReviewHandlerUri(Aws::String&& value) { SetMessageReviewHandlerUri(std::move(value)); return *this;}
85 inline ListRoomsRequest& WithMessageReviewHandlerUri(const char* value) { SetMessageReviewHandlerUri(value); return *this;}
87
89
92 inline const Aws::String& GetLoggingConfigurationIdentifier() const{ return m_loggingConfigurationIdentifier; }
93 inline bool LoggingConfigurationIdentifierHasBeenSet() const { return m_loggingConfigurationIdentifierHasBeenSet; }
94 inline void SetLoggingConfigurationIdentifier(const Aws::String& value) { m_loggingConfigurationIdentifierHasBeenSet = true; m_loggingConfigurationIdentifier = value; }
95 inline void SetLoggingConfigurationIdentifier(Aws::String&& value) { m_loggingConfigurationIdentifierHasBeenSet = true; m_loggingConfigurationIdentifier = std::move(value); }
96 inline void SetLoggingConfigurationIdentifier(const char* value) { m_loggingConfigurationIdentifierHasBeenSet = true; m_loggingConfigurationIdentifier.assign(value); }
101 private:
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = false;
105
106 Aws::String m_nextToken;
107 bool m_nextTokenHasBeenSet = false;
108
109 int m_maxResults;
110 bool m_maxResultsHasBeenSet = false;
111
112 Aws::String m_messageReviewHandlerUri;
113 bool m_messageReviewHandlerUriHasBeenSet = false;
114
115 Aws::String m_loggingConfigurationIdentifier;
116 bool m_loggingConfigurationIdentifierHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace ivschat
121} // namespace Aws
ListRoomsRequest & WithMessageReviewHandlerUri(const char *value)
ListRoomsRequest & WithName(const char *value)
ListRoomsRequest & WithLoggingConfigurationIdentifier(const char *value)
const Aws::String & GetMessageReviewHandlerUri() const
void SetName(const Aws::String &value)
void SetMessageReviewHandlerUri(const Aws::String &value)
AWS_IVSCHAT_API Aws::String SerializePayload() const override
ListRoomsRequest & WithLoggingConfigurationIdentifier(const Aws::String &value)
ListRoomsRequest & WithMessageReviewHandlerUri(const Aws::String &value)
void SetMessageReviewHandlerUri(const char *value)
ListRoomsRequest & WithNextToken(const Aws::String &value)
ListRoomsRequest & WithMaxResults(int value)
void SetLoggingConfigurationIdentifier(const char *value)
void SetNextToken(const Aws::String &value)
void SetLoggingConfigurationIdentifier(Aws::String &&value)
ListRoomsRequest & WithNextToken(Aws::String &&value)
const Aws::String & GetNextToken() const
ListRoomsRequest & WithLoggingConfigurationIdentifier(Aws::String &&value)
void SetMessageReviewHandlerUri(Aws::String &&value)
const Aws::String & GetLoggingConfigurationIdentifier() const
ListRoomsRequest & WithName(const Aws::String &value)
ListRoomsRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
ListRoomsRequest & WithMessageReviewHandlerUri(Aws::String &&value)
ListRoomsRequest & WithName(Aws::String &&value)
void SetLoggingConfigurationIdentifier(const Aws::String &value)
const Aws::String & GetName() const
void SetNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String