AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename IdentifierT = Aws::String>
44 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
45 template<typename IdentifierT = Aws::String>
46 UpdateRoomRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template<typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
57 template<typename NameT = Aws::String>
58 UpdateRoomRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
60
62
66 inline int GetMaximumMessageRatePerSecond() const { return m_maximumMessageRatePerSecond; }
67 inline bool MaximumMessageRatePerSecondHasBeenSet() const { return m_maximumMessageRatePerSecondHasBeenSet; }
68 inline void SetMaximumMessageRatePerSecond(int value) { m_maximumMessageRatePerSecondHasBeenSet = true; m_maximumMessageRatePerSecond = value; }
71
73
78 inline int GetMaximumMessageLength() const { return m_maximumMessageLength; }
79 inline bool MaximumMessageLengthHasBeenSet() const { return m_maximumMessageLengthHasBeenSet; }
80 inline void SetMaximumMessageLength(int value) { m_maximumMessageLengthHasBeenSet = true; m_maximumMessageLength = value; }
81 inline UpdateRoomRequest& WithMaximumMessageLength(int value) { SetMaximumMessageLength(value); return *this;}
83
85
90 inline const MessageReviewHandler& GetMessageReviewHandler() const { return m_messageReviewHandler; }
91 inline bool MessageReviewHandlerHasBeenSet() const { return m_messageReviewHandlerHasBeenSet; }
92 template<typename MessageReviewHandlerT = MessageReviewHandler>
93 void SetMessageReviewHandler(MessageReviewHandlerT&& value) { m_messageReviewHandlerHasBeenSet = true; m_messageReviewHandler = std::forward<MessageReviewHandlerT>(value); }
94 template<typename MessageReviewHandlerT = MessageReviewHandler>
95 UpdateRoomRequest& WithMessageReviewHandler(MessageReviewHandlerT&& value) { SetMessageReviewHandler(std::forward<MessageReviewHandlerT>(value)); return *this;}
97
99
102 inline const Aws::Vector<Aws::String>& GetLoggingConfigurationIdentifiers() const { return m_loggingConfigurationIdentifiers; }
103 inline bool LoggingConfigurationIdentifiersHasBeenSet() const { return m_loggingConfigurationIdentifiersHasBeenSet; }
104 template<typename LoggingConfigurationIdentifiersT = Aws::Vector<Aws::String>>
105 void SetLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = std::forward<LoggingConfigurationIdentifiersT>(value); }
106 template<typename LoggingConfigurationIdentifiersT = Aws::Vector<Aws::String>>
107 UpdateRoomRequest& WithLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT&& value) { SetLoggingConfigurationIdentifiers(std::forward<LoggingConfigurationIdentifiersT>(value)); return *this;}
108 template<typename LoggingConfigurationIdentifiersT = Aws::String>
109 UpdateRoomRequest& AddLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.emplace_back(std::forward<LoggingConfigurationIdentifiersT>(value)); return *this; }
111 private:
112
113 Aws::String m_identifier;
114 bool m_identifierHasBeenSet = false;
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 int m_maximumMessageRatePerSecond{0};
120 bool m_maximumMessageRatePerSecondHasBeenSet = false;
121
122 int m_maximumMessageLength{0};
123 bool m_maximumMessageLengthHasBeenSet = false;
124
125 MessageReviewHandler m_messageReviewHandler;
126 bool m_messageReviewHandlerHasBeenSet = false;
127
128 Aws::Vector<Aws::String> m_loggingConfigurationIdentifiers;
129 bool m_loggingConfigurationIdentifiersHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace ivschat
134} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateRoomRequest & AddLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT &&value)
const Aws::Vector< Aws::String > & GetLoggingConfigurationIdentifiers() const
const MessageReviewHandler & GetMessageReviewHandler() const
UpdateRoomRequest & WithMaximumMessageLength(int value)
UpdateRoomRequest & WithLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT &&value)
AWS_IVSCHAT_API UpdateRoomRequest()=default
AWS_IVSCHAT_API Aws::String SerializePayload() const override
void SetLoggingConfigurationIdentifiers(LoggingConfigurationIdentifiersT &&value)
const Aws::String & GetName() const
UpdateRoomRequest & WithMaximumMessageRatePerSecond(int value)
UpdateRoomRequest & WithIdentifier(IdentifierT &&value)
UpdateRoomRequest & WithMessageReviewHandler(MessageReviewHandlerT &&value)
UpdateRoomRequest & WithName(NameT &&value)
void SetIdentifier(IdentifierT &&value)
void SetMessageReviewHandler(MessageReviewHandlerT &&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