AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
EnableKinesisStreamingDestinationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dynamodb/DynamoDB_EXPORTS.h>
10#include <aws/dynamodb/model/DestinationStatus.h>
11#include <aws/dynamodb/model/EnableKinesisStreamingConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DynamoDB {
25namespace Model {
27 public:
28 AWS_DYNAMODB_API EnableKinesisStreamingDestinationResult() = default;
32
34
37 inline const Aws::String& GetTableName() const { return m_tableName; }
38 template <typename TableNameT = Aws::String>
39 void SetTableName(TableNameT&& value) {
40 m_tableNameHasBeenSet = true;
41 m_tableName = std::forward<TableNameT>(value);
42 }
43 template <typename TableNameT = Aws::String>
45 SetTableName(std::forward<TableNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetStreamArn() const { return m_streamArn; }
55 template <typename StreamArnT = Aws::String>
56 void SetStreamArn(StreamArnT&& value) {
57 m_streamArnHasBeenSet = true;
58 m_streamArn = std::forward<StreamArnT>(value);
59 }
60 template <typename StreamArnT = Aws::String>
62 SetStreamArn(std::forward<StreamArnT>(value));
63 return *this;
64 }
66
68
71 inline DestinationStatus GetDestinationStatus() const { return m_destinationStatus; }
73 m_destinationStatusHasBeenSet = true;
74 m_destinationStatus = value;
75 }
78 return *this;
79 }
81
83
88 return m_enableKinesisStreamingConfiguration;
89 }
90 template <typename EnableKinesisStreamingConfigurationT = EnableKinesisStreamingConfiguration>
91 void SetEnableKinesisStreamingConfiguration(EnableKinesisStreamingConfigurationT&& value) {
92 m_enableKinesisStreamingConfigurationHasBeenSet = true;
93 m_enableKinesisStreamingConfiguration = std::forward<EnableKinesisStreamingConfigurationT>(value);
94 }
95 template <typename EnableKinesisStreamingConfigurationT = EnableKinesisStreamingConfiguration>
97 SetEnableKinesisStreamingConfiguration(std::forward<EnableKinesisStreamingConfigurationT>(value));
98 return *this;
99 }
101
103
104 inline const Aws::String& GetRequestId() const { return m_requestId; }
105 template <typename RequestIdT = Aws::String>
106 void SetRequestId(RequestIdT&& value) {
107 m_requestIdHasBeenSet = true;
108 m_requestId = std::forward<RequestIdT>(value);
109 }
110 template <typename RequestIdT = Aws::String>
112 SetRequestId(std::forward<RequestIdT>(value));
113 return *this;
114 }
116 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
117
118 private:
119 Aws::String m_tableName;
120
121 Aws::String m_streamArn;
122
124
125 EnableKinesisStreamingConfiguration m_enableKinesisStreamingConfiguration;
126
127 Aws::String m_requestId;
128 Aws::Http::HttpResponseCode m_HttpResponseCode;
129 bool m_tableNameHasBeenSet = false;
130 bool m_streamArnHasBeenSet = false;
131 bool m_destinationStatusHasBeenSet = false;
132 bool m_enableKinesisStreamingConfigurationHasBeenSet = false;
133 bool m_requestIdHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace DynamoDB
138} // namespace Aws
EnableKinesisStreamingDestinationResult & WithRequestId(RequestIdT &&value)
void SetEnableKinesisStreamingConfiguration(EnableKinesisStreamingConfigurationT &&value)
EnableKinesisStreamingDestinationResult & WithTableName(TableNameT &&value)
EnableKinesisStreamingDestinationResult & WithDestinationStatus(DestinationStatus value)
const EnableKinesisStreamingConfiguration & GetEnableKinesisStreamingConfiguration() const
EnableKinesisStreamingDestinationResult & WithStreamArn(StreamArnT &&value)
EnableKinesisStreamingDestinationResult & WithEnableKinesisStreamingConfiguration(EnableKinesisStreamingConfigurationT &&value)
AWS_DYNAMODB_API EnableKinesisStreamingDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DYNAMODB_API EnableKinesisStreamingDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue