AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRoomRequest.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 <aws/ivschat/model/MessageReviewHandler.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ivschat
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IVSCHAT_API UpdateRoomRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateRoom"; }
33
34 AWS_IVSCHAT_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
42 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
43 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
44 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
45 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
46 inline UpdateRoomRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
47 inline UpdateRoomRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
48 inline UpdateRoomRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
60 inline UpdateRoomRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
61 inline UpdateRoomRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
62 inline UpdateRoomRequest& WithName(const char* value) { SetName(value); return *this;}
64
66
70 inline int GetMaximumMessageRatePerSecond() const{ return m_maximumMessageRatePerSecond; }
71 inline bool MaximumMessageRatePerSecondHasBeenSet() const { return m_maximumMessageRatePerSecondHasBeenSet; }
72 inline void SetMaximumMessageRatePerSecond(int value) { m_maximumMessageRatePerSecondHasBeenSet = true; m_maximumMessageRatePerSecond = value; }
75
77
82 inline int GetMaximumMessageLength() const{ return m_maximumMessageLength; }
83 inline bool MaximumMessageLengthHasBeenSet() const { return m_maximumMessageLengthHasBeenSet; }
84 inline void SetMaximumMessageLength(int value) { m_maximumMessageLengthHasBeenSet = true; m_maximumMessageLength = value; }
85 inline UpdateRoomRequest& WithMaximumMessageLength(int value) { SetMaximumMessageLength(value); return *this;}
87
89
94 inline const MessageReviewHandler& GetMessageReviewHandler() const{ return m_messageReviewHandler; }
95 inline bool MessageReviewHandlerHasBeenSet() const { return m_messageReviewHandlerHasBeenSet; }
96 inline void SetMessageReviewHandler(const MessageReviewHandler& value) { m_messageReviewHandlerHasBeenSet = true; m_messageReviewHandler = value; }
97 inline void SetMessageReviewHandler(MessageReviewHandler&& value) { m_messageReviewHandlerHasBeenSet = true; m_messageReviewHandler = std::move(value); }
101
103
106 inline const Aws::Vector<Aws::String>& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; }
107 inline bool LoggingConfigurationIdentifiersHasBeenSet() const { return m_loggingConfigurationIdentifiersHasBeenSet; }
108 inline void SetLoggingConfigurationIdentifiers(const Aws::Vector<Aws::String>& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = value; }
109 inline void SetLoggingConfigurationIdentifiers(Aws::Vector<Aws::String>&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = std::move(value); }
112 inline UpdateRoomRequest& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; }
113 inline UpdateRoomRequest& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; }
114 inline UpdateRoomRequest& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; }
116 private:
117
118 Aws::String m_identifier;
119 bool m_identifierHasBeenSet = false;
120
121 Aws::String m_name;
122 bool m_nameHasBeenSet = false;
123
124 int m_maximumMessageRatePerSecond;
125 bool m_maximumMessageRatePerSecondHasBeenSet = false;
126
127 int m_maximumMessageLength;
128 bool m_maximumMessageLengthHasBeenSet = false;
129
130 MessageReviewHandler m_messageReviewHandler;
131 bool m_messageReviewHandlerHasBeenSet = false;
132
133 Aws::Vector<Aws::String> m_loggingConfigurationIdentifiers;
134 bool m_loggingConfigurationIdentifiersHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace ivschat
139} // namespace Aws
UpdateRoomRequest & WithMessageReviewHandler(const MessageReviewHandler &value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetLoggingConfigurationIdentifiers() const
UpdateRoomRequest & WithName(Aws::String &&value)
void SetIdentifier(Aws::String &&value)
void SetLoggingConfigurationIdentifiers(Aws::Vector< Aws::String > &&value)
UpdateRoomRequest & WithName(const char *value)
void SetMessageReviewHandler(MessageReviewHandler &&value)
UpdateRoomRequest & WithIdentifier(Aws::String &&value)
UpdateRoomRequest & AddLoggingConfigurationIdentifiers(const Aws::String &value)
UpdateRoomRequest & WithIdentifier(const char *value)
const MessageReviewHandler & GetMessageReviewHandler() const
UpdateRoomRequest & WithMaximumMessageLength(int value)
void SetIdentifier(const Aws::String &value)
UpdateRoomRequest & AddLoggingConfigurationIdentifiers(const char *value)
void SetName(const Aws::String &value)
void SetLoggingConfigurationIdentifiers(const Aws::Vector< Aws::String > &value)
AWS_IVSCHAT_API Aws::String SerializePayload() const override
void SetMessageReviewHandler(const MessageReviewHandler &value)
UpdateRoomRequest & WithMessageReviewHandler(MessageReviewHandler &&value)
const Aws::String & GetName() const
UpdateRoomRequest & WithMaximumMessageRatePerSecond(int value)
UpdateRoomRequest & WithIdentifier(const Aws::String &value)
UpdateRoomRequest & WithLoggingConfigurationIdentifiers(const Aws::Vector< Aws::String > &value)
UpdateRoomRequest & AddLoggingConfigurationIdentifiers(Aws::String &&value)
UpdateRoomRequest & WithName(const Aws::String &value)
UpdateRoomRequest & WithLoggingConfigurationIdentifiers(Aws::Vector< Aws::String > &&value)
const Aws::String & GetIdentifier() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector