AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/KafkaRequest.h>
10#include <aws/kafka/Kafka_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Kafka {
16namespace Model {
17
21 public:
22 AWS_KAFKA_API UpdateConfigurationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateConfiguration"; }
29
30 AWS_KAFKA_API Aws::String SerializePayload() const override;
31
33
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::String& GetDescription() const { return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 template <typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) {
63 m_descriptionHasBeenSet = true;
64 m_description = std::forward<DescriptionT>(value);
65 }
66 template <typename DescriptionT = Aws::String>
68 SetDescription(std::forward<DescriptionT>(value));
69 return *this;
70 }
72
74
84 inline const Aws::Utils::ByteBuffer& GetServerProperties() const { return m_serverProperties; }
85 inline bool ServerPropertiesHasBeenSet() const { return m_serverPropertiesHasBeenSet; }
86 template <typename ServerPropertiesT = Aws::Utils::ByteBuffer>
87 void SetServerProperties(ServerPropertiesT&& value) {
88 m_serverPropertiesHasBeenSet = true;
89 m_serverProperties = std::forward<ServerPropertiesT>(value);
90 }
91 template <typename ServerPropertiesT = Aws::Utils::ByteBuffer>
93 SetServerProperties(std::forward<ServerPropertiesT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_arn;
99
100 Aws::String m_description;
101
102 Aws::Utils::ByteBuffer m_serverProperties{};
103 bool m_arnHasBeenSet = false;
104 bool m_descriptionHasBeenSet = false;
105 bool m_serverPropertiesHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace Kafka
110} // namespace Aws
UpdateConfigurationRequest & WithServerProperties(ServerPropertiesT &&value)
AWS_KAFKA_API UpdateConfigurationRequest()=default
UpdateConfigurationRequest & WithArn(ArnT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Utils::ByteBuffer & GetServerProperties() const
UpdateConfigurationRequest & WithDescription(DescriptionT &&value)
AWS_KAFKA_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String