AWS SDK for C++

AWS SDK for C++ Version 1.11.887

Loading...
Searching...
No Matches
UpdateChannelRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesis/KinesisRequest.h>
9#include <aws/kinesis/Kinesis_EXPORTS.h>
10#include <aws/kinesis/model/ChannelLoggingUpdateInput.h>
11#include <aws/kinesis/model/S3DestinationUpdateInput.h>
12#include <aws/kinesis/model/S3TablesDestinationUpdateInput.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Kinesis {
18namespace Model {
19
23 public:
24 AWS_KINESIS_API UpdateChannelRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateChannel"; }
31
32 AWS_KINESIS_API Aws::String SerializePayload() const override;
33
35
39 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
40
42
45 inline const Aws::String& GetChannelARN() const { return m_channelARN; }
46 inline bool ChannelARNHasBeenSet() const { return m_channelARNHasBeenSet; }
47 template <typename ChannelARNT = Aws::String>
48 void SetChannelARN(ChannelARNT&& value) {
49 m_channelARNHasBeenSet = true;
50 m_channelARN = std::forward<ChannelARNT>(value);
51 }
52 template <typename ChannelARNT = Aws::String>
53 UpdateChannelRequest& WithChannelARN(ChannelARNT&& value) {
54 SetChannelARN(std::forward<ChannelARNT>(value));
55 return *this;
56 }
58
60
64 inline const S3DestinationUpdateInput& GetS3DestinationConfiguration() const { return m_s3DestinationConfiguration; }
65 inline bool S3DestinationConfigurationHasBeenSet() const { return m_s3DestinationConfigurationHasBeenSet; }
66 template <typename S3DestinationConfigurationT = S3DestinationUpdateInput>
67 void SetS3DestinationConfiguration(S3DestinationConfigurationT&& value) {
68 m_s3DestinationConfigurationHasBeenSet = true;
69 m_s3DestinationConfiguration = std::forward<S3DestinationConfigurationT>(value);
70 }
71 template <typename S3DestinationConfigurationT = S3DestinationUpdateInput>
72 UpdateChannelRequest& WithS3DestinationConfiguration(S3DestinationConfigurationT&& value) {
73 SetS3DestinationConfiguration(std::forward<S3DestinationConfigurationT>(value));
74 return *this;
75 }
77
79
83 inline const S3TablesDestinationUpdateInput& GetS3TablesDestinationConfiguration() const { return m_s3TablesDestinationConfiguration; }
84 inline bool S3TablesDestinationConfigurationHasBeenSet() const { return m_s3TablesDestinationConfigurationHasBeenSet; }
85 template <typename S3TablesDestinationConfigurationT = S3TablesDestinationUpdateInput>
86 void SetS3TablesDestinationConfiguration(S3TablesDestinationConfigurationT&& value) {
87 m_s3TablesDestinationConfigurationHasBeenSet = true;
88 m_s3TablesDestinationConfiguration = std::forward<S3TablesDestinationConfigurationT>(value);
89 }
90 template <typename S3TablesDestinationConfigurationT = S3TablesDestinationUpdateInput>
91 UpdateChannelRequest& WithS3TablesDestinationConfiguration(S3TablesDestinationConfigurationT&& value) {
92 SetS3TablesDestinationConfiguration(std::forward<S3TablesDestinationConfigurationT>(value));
93 return *this;
94 }
96
98
101 inline const ChannelLoggingUpdateInput& GetLoggingConfiguration() const { return m_loggingConfiguration; }
102 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
103 template <typename LoggingConfigurationT = ChannelLoggingUpdateInput>
104 void SetLoggingConfiguration(LoggingConfigurationT&& value) {
105 m_loggingConfigurationHasBeenSet = true;
106 m_loggingConfiguration = std::forward<LoggingConfigurationT>(value);
107 }
108 template <typename LoggingConfigurationT = ChannelLoggingUpdateInput>
109 UpdateChannelRequest& WithLoggingConfiguration(LoggingConfigurationT&& value) {
110 SetLoggingConfiguration(std::forward<LoggingConfigurationT>(value));
111 return *this;
112 }
114 private:
115 Aws::String m_channelARN;
116
117 S3DestinationUpdateInput m_s3DestinationConfiguration;
118
119 S3TablesDestinationUpdateInput m_s3TablesDestinationConfiguration;
120
121 ChannelLoggingUpdateInput m_loggingConfiguration;
122 bool m_channelARNHasBeenSet = false;
123 bool m_s3DestinationConfigurationHasBeenSet = false;
124 bool m_s3TablesDestinationConfigurationHasBeenSet = false;
125 bool m_loggingConfigurationHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace Kinesis
130} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
AWS_KINESIS_API UpdateChannelRequest()=default
void SetS3DestinationConfiguration(S3DestinationConfigurationT &&value)
const S3TablesDestinationUpdateInput & GetS3TablesDestinationConfiguration() const
void SetS3TablesDestinationConfiguration(S3TablesDestinationConfigurationT &&value)
const ChannelLoggingUpdateInput & GetLoggingConfiguration() const
UpdateChannelRequest & WithChannelARN(ChannelARNT &&value)
virtual const char * GetServiceRequestName() const override
AWS_KINESIS_API Aws::String SerializePayload() const override
UpdateChannelRequest & WithLoggingConfiguration(LoggingConfigurationT &&value)
void SetLoggingConfiguration(LoggingConfigurationT &&value)
UpdateChannelRequest & WithS3TablesDestinationConfiguration(S3TablesDestinationConfigurationT &&value)
UpdateChannelRequest & WithS3DestinationConfiguration(S3DestinationConfigurationT &&value)
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const S3DestinationUpdateInput & GetS3DestinationConfiguration() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String