AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateConfigurationRequest.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Kafka
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KAFKA_API UpdateConfigurationRequest() = default;
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_KAFKA_API Aws::String SerializePayload() const override;
34
35
37
43 inline const Aws::String& GetArn() const { return m_arn; }
44 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
45 template<typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
47 template<typename ArnT = Aws::String>
48 UpdateConfigurationRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
50
52
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template<typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
61 template<typename DescriptionT = Aws::String>
62 UpdateConfigurationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
64
66
76 inline const Aws::Utils::ByteBuffer& GetServerProperties() const { return m_serverProperties; }
77 inline bool ServerPropertiesHasBeenSet() const { return m_serverPropertiesHasBeenSet; }
78 template<typename ServerPropertiesT = Aws::Utils::ByteBuffer>
79 void SetServerProperties(ServerPropertiesT&& value) { m_serverPropertiesHasBeenSet = true; m_serverProperties = std::forward<ServerPropertiesT>(value); }
80 template<typename ServerPropertiesT = Aws::Utils::ByteBuffer>
81 UpdateConfigurationRequest& WithServerProperties(ServerPropertiesT&& value) { SetServerProperties(std::forward<ServerPropertiesT>(value)); return *this;}
83 private:
84
85 Aws::String m_arn;
86 bool m_arnHasBeenSet = false;
87
88 Aws::String m_description;
89 bool m_descriptionHasBeenSet = false;
90
91 Aws::Utils::ByteBuffer m_serverProperties{};
92 bool m_serverPropertiesHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Kafka
97} // 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