AWS SDK for C++  1.9.106
AWS SDK for C++
UpdateConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/core/utils/Array.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Kafka
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateConfiguration"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
42  inline const Aws::String& GetArn() const{ return m_arn; }
43 
50  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 
58  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
59 
66  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
67 
74  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
75 
82  inline UpdateConfigurationRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
83 
90  inline UpdateConfigurationRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
91 
98  inline UpdateConfigurationRequest& WithArn(const char* value) { SetArn(value); return *this;}
99 
100 
106  inline const Aws::String& GetDescription() const{ return m_description; }
107 
113  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
114 
120  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
121 
127  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
128 
134  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
135 
141  inline UpdateConfigurationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
142 
148  inline UpdateConfigurationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
149 
155  inline UpdateConfigurationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
156 
157 
168  inline const Aws::Utils::ByteBuffer& GetServerProperties() const{ return m_serverProperties; }
169 
180  inline bool ServerPropertiesHasBeenSet() const { return m_serverPropertiesHasBeenSet; }
181 
192  inline void SetServerProperties(const Aws::Utils::ByteBuffer& value) { m_serverPropertiesHasBeenSet = true; m_serverProperties = value; }
193 
204  inline void SetServerProperties(Aws::Utils::ByteBuffer&& value) { m_serverPropertiesHasBeenSet = true; m_serverProperties = std::move(value); }
205 
216  inline UpdateConfigurationRequest& WithServerProperties(const Aws::Utils::ByteBuffer& value) { SetServerProperties(value); return *this;}
217 
228  inline UpdateConfigurationRequest& WithServerProperties(Aws::Utils::ByteBuffer&& value) { SetServerProperties(std::move(value)); return *this;}
229 
230  private:
231 
232  Aws::String m_arn;
233  bool m_arnHasBeenSet;
234 
235  Aws::String m_description;
236  bool m_descriptionHasBeenSet;
237 
238  Aws::Utils::ByteBuffer m_serverProperties;
239  bool m_serverPropertiesHasBeenSet;
240  };
241 
242 } // namespace Model
243 } // namespace Kafka
244 } // namespace Aws
KafkaRequest.h
Aws::Kafka::KafkaRequest
Definition: KafkaRequest.h:17
Aws::Kafka::Model::UpdateConfigurationRequest::GetArn
const Aws::String & GetArn() const
Definition: UpdateConfigurationRequest.h:42
Aws::Kafka::Model::UpdateConfigurationRequest::SetArn
void SetArn(const char *value)
Definition: UpdateConfigurationRequest.h:74
Aws::Kafka::Model::UpdateConfigurationRequest::SetArn
void SetArn(Aws::String &&value)
Definition: UpdateConfigurationRequest.h:66
Aws::Kafka::Model::UpdateConfigurationRequest::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: UpdateConfigurationRequest.h:50
Aws::Kafka::Model::UpdateConfigurationRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateConfigurationRequest.h:106
Aws::Kafka::Model::UpdateConfigurationRequest::WithDescription
UpdateConfigurationRequest & WithDescription(const Aws::String &value)
Definition: UpdateConfigurationRequest.h:141
Aws::Kafka::Model::UpdateConfigurationRequest::ServerPropertiesHasBeenSet
bool ServerPropertiesHasBeenSet() const
Definition: UpdateConfigurationRequest.h:180
Aws::Kafka::Model::UpdateConfigurationRequest::GetServerProperties
const Aws::Utils::ByteBuffer & GetServerProperties() const
Definition: UpdateConfigurationRequest.h:168
Aws::Kafka::Model::UpdateConfigurationRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateConfigurationRequest.h:127
Aws::Kafka::Model::UpdateConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateConfigurationRequest.h:31
Aws::Kafka::Model::UpdateConfigurationRequest::WithServerProperties
UpdateConfigurationRequest & WithServerProperties(const Aws::Utils::ByteBuffer &value)
Definition: UpdateConfigurationRequest.h:216
Aws::Kafka::Model::UpdateConfigurationRequest::SetArn
void SetArn(const Aws::String &value)
Definition: UpdateConfigurationRequest.h:58
Aws::Kafka::Model::UpdateConfigurationRequest::SetServerProperties
void SetServerProperties(const Aws::Utils::ByteBuffer &value)
Definition: UpdateConfigurationRequest.h:192
Aws::Kafka::Model::UpdateConfigurationRequest::WithDescription
UpdateConfigurationRequest & WithDescription(const char *value)
Definition: UpdateConfigurationRequest.h:155
Aws::Kafka::Model::UpdateConfigurationRequest::WithArn
UpdateConfigurationRequest & WithArn(const char *value)
Definition: UpdateConfigurationRequest.h:98
Aws::Kafka::Model::UpdateConfigurationRequest::WithArn
UpdateConfigurationRequest & WithArn(Aws::String &&value)
Definition: UpdateConfigurationRequest.h:90
Aws::Utils::Array< unsigned char >
AWSString.h
Aws::Kafka::Model::UpdateConfigurationRequest
Definition: UpdateConfigurationRequest.h:23
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::UpdateConfigurationRequest::WithDescription
UpdateConfigurationRequest & WithDescription(Aws::String &&value)
Definition: UpdateConfigurationRequest.h:148
Aws::Kafka::Model::UpdateConfigurationRequest::UpdateConfigurationRequest
UpdateConfigurationRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::UpdateConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Array.h
Aws::Kafka::Model::UpdateConfigurationRequest::WithArn
UpdateConfigurationRequest & WithArn(const Aws::String &value)
Definition: UpdateConfigurationRequest.h:82
Aws::Kafka::Model::UpdateConfigurationRequest::SetServerProperties
void SetServerProperties(Aws::Utils::ByteBuffer &&value)
Definition: UpdateConfigurationRequest.h:204
Aws::Kafka::Model::UpdateConfigurationRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateConfigurationRequest.h:120
Aws::Kafka::Model::UpdateConfigurationRequest::WithServerProperties
UpdateConfigurationRequest & WithServerProperties(Aws::Utils::ByteBuffer &&value)
Definition: UpdateConfigurationRequest.h:228
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::UpdateConfigurationRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateConfigurationRequest.h:113
Aws::Kafka::Model::UpdateConfigurationRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateConfigurationRequest.h:134