AWS SDK for C++

AWS SDK for C++ Version 1.11.867

Loading...
Searching...
No Matches
UpdateChannelRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10#include <aws/kafka/model/IcebergDestinationUpdate.h>
11#include <aws/kafka/model/S3DestinationUpdate.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Kafka {
17namespace Model {
18
27 public:
28 AWS_KAFKA_API UpdateChannelRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateChannel"; }
35
36 AWS_KAFKA_API Aws::String SerializePayload() const override;
37
39
42 inline const Aws::String& GetChannelArn() const { return m_channelArn; }
43 inline bool ChannelArnHasBeenSet() const { return m_channelArnHasBeenSet; }
44 template <typename ChannelArnT = Aws::String>
45 void SetChannelArn(ChannelArnT&& value) {
46 m_channelArnHasBeenSet = true;
47 m_channelArn = std::forward<ChannelArnT>(value);
48 }
49 template <typename ChannelArnT = Aws::String>
50 UpdateChannelRequest& WithChannelArn(ChannelArnT&& value) {
51 SetChannelArn(std::forward<ChannelArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
61 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
62 template <typename ClusterArnT = Aws::String>
63 void SetClusterArn(ClusterArnT&& value) {
64 m_clusterArnHasBeenSet = true;
65 m_clusterArn = std::forward<ClusterArnT>(value);
66 }
67 template <typename ClusterArnT = Aws::String>
68 UpdateChannelRequest& WithClusterArn(ClusterArnT&& value) {
69 SetClusterArn(std::forward<ClusterArnT>(value));
70 return *this;
71 }
73
75
79 inline const IcebergDestinationUpdate& GetIcebergDestinationUpdate() const { return m_icebergDestinationUpdate; }
80 inline bool IcebergDestinationUpdateHasBeenSet() const { return m_icebergDestinationUpdateHasBeenSet; }
81 template <typename IcebergDestinationUpdateT = IcebergDestinationUpdate>
82 void SetIcebergDestinationUpdate(IcebergDestinationUpdateT&& value) {
83 m_icebergDestinationUpdateHasBeenSet = true;
84 m_icebergDestinationUpdate = std::forward<IcebergDestinationUpdateT>(value);
85 }
86 template <typename IcebergDestinationUpdateT = IcebergDestinationUpdate>
87 UpdateChannelRequest& WithIcebergDestinationUpdate(IcebergDestinationUpdateT&& value) {
88 SetIcebergDestinationUpdate(std::forward<IcebergDestinationUpdateT>(value));
89 return *this;
90 }
92
94
98 inline const S3DestinationUpdate& GetS3DestinationUpdate() const { return m_s3DestinationUpdate; }
99 inline bool S3DestinationUpdateHasBeenSet() const { return m_s3DestinationUpdateHasBeenSet; }
100 template <typename S3DestinationUpdateT = S3DestinationUpdate>
101 void SetS3DestinationUpdate(S3DestinationUpdateT&& value) {
102 m_s3DestinationUpdateHasBeenSet = true;
103 m_s3DestinationUpdate = std::forward<S3DestinationUpdateT>(value);
104 }
105 template <typename S3DestinationUpdateT = S3DestinationUpdate>
106 UpdateChannelRequest& WithS3DestinationUpdate(S3DestinationUpdateT&& value) {
107 SetS3DestinationUpdate(std::forward<S3DestinationUpdateT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_channelArn;
113
114 Aws::String m_clusterArn;
115
116 IcebergDestinationUpdate m_icebergDestinationUpdate;
117
118 S3DestinationUpdate m_s3DestinationUpdate;
119 bool m_channelArnHasBeenSet = false;
120 bool m_clusterArnHasBeenSet = false;
121 bool m_icebergDestinationUpdateHasBeenSet = false;
122 bool m_s3DestinationUpdateHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace Kafka
127} // namespace Aws
const IcebergDestinationUpdate & GetIcebergDestinationUpdate() const
virtual const char * GetServiceRequestName() const override
UpdateChannelRequest & WithS3DestinationUpdate(S3DestinationUpdateT &&value)
void SetIcebergDestinationUpdate(IcebergDestinationUpdateT &&value)
const S3DestinationUpdate & GetS3DestinationUpdate() const
UpdateChannelRequest & WithChannelArn(ChannelArnT &&value)
AWS_KAFKA_API Aws::String SerializePayload() const override
void SetS3DestinationUpdate(S3DestinationUpdateT &&value)
AWS_KAFKA_API UpdateChannelRequest()=default
UpdateChannelRequest & WithClusterArn(ClusterArnT &&value)
UpdateChannelRequest & WithIcebergDestinationUpdate(IcebergDestinationUpdateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String