AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
DeleteStreamResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dsql/DSQL_EXPORTS.h>
11#include <aws/dsql/model/StreamStatus.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 DSQL {
25namespace Model {
32 public:
33 AWS_DSQL_API DeleteStreamResult() = default;
36
38
41 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
42 template <typename ClusterIdentifierT = Aws::String>
43 void SetClusterIdentifier(ClusterIdentifierT&& value) {
44 m_clusterIdentifierHasBeenSet = true;
45 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
46 }
47 template <typename ClusterIdentifierT = Aws::String>
48 DeleteStreamResult& WithClusterIdentifier(ClusterIdentifierT&& value) {
49 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetStreamIdentifier() const { return m_streamIdentifier; }
59 template <typename StreamIdentifierT = Aws::String>
60 void SetStreamIdentifier(StreamIdentifierT&& value) {
61 m_streamIdentifierHasBeenSet = true;
62 m_streamIdentifier = std::forward<StreamIdentifierT>(value);
63 }
64 template <typename StreamIdentifierT = Aws::String>
65 DeleteStreamResult& WithStreamIdentifier(StreamIdentifierT&& value) {
66 SetStreamIdentifier(std::forward<StreamIdentifierT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetArn() const { return m_arn; }
76 template <typename ArnT = Aws::String>
77 void SetArn(ArnT&& value) {
78 m_arnHasBeenSet = true;
79 m_arn = std::forward<ArnT>(value);
80 }
81 template <typename ArnT = Aws::String>
82 DeleteStreamResult& WithArn(ArnT&& value) {
83 SetArn(std::forward<ArnT>(value));
84 return *this;
85 }
87
89
92 inline StreamStatus GetStatus() const { return m_status; }
93 inline void SetStatus(StreamStatus value) {
94 m_statusHasBeenSet = true;
95 m_status = value;
96 }
98 SetStatus(value);
99 return *this;
100 }
102
104
107 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
108 template <typename CreationTimeT = Aws::Utils::DateTime>
109 void SetCreationTime(CreationTimeT&& value) {
110 m_creationTimeHasBeenSet = true;
111 m_creationTime = std::forward<CreationTimeT>(value);
112 }
113 template <typename CreationTimeT = Aws::Utils::DateTime>
114 DeleteStreamResult& WithCreationTime(CreationTimeT&& value) {
115 SetCreationTime(std::forward<CreationTimeT>(value));
116 return *this;
117 }
119
121
122 inline const Aws::String& GetRequestId() const { return m_requestId; }
123 template <typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) {
125 m_requestIdHasBeenSet = true;
126 m_requestId = std::forward<RequestIdT>(value);
127 }
128 template <typename RequestIdT = Aws::String>
129 DeleteStreamResult& WithRequestId(RequestIdT&& value) {
130 SetRequestId(std::forward<RequestIdT>(value));
131 return *this;
132 }
134 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
135
136 private:
137 Aws::String m_clusterIdentifier;
138
139 Aws::String m_streamIdentifier;
140
141 Aws::String m_arn;
142
144
145 Aws::Utils::DateTime m_creationTime{};
146
147 Aws::String m_requestId;
148 Aws::Http::HttpResponseCode m_HttpResponseCode;
149 bool m_clusterIdentifierHasBeenSet = false;
150 bool m_streamIdentifierHasBeenSet = false;
151 bool m_arnHasBeenSet = false;
152 bool m_statusHasBeenSet = false;
153 bool m_creationTimeHasBeenSet = false;
154 bool m_requestIdHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace DSQL
159} // namespace Aws
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetRequestId() const
void SetStreamIdentifier(StreamIdentifierT &&value)
const Aws::String & GetArn() const
const Aws::String & GetStreamIdentifier() const
AWS_DSQL_API DeleteStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteStreamResult & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_DSQL_API DeleteStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DSQL_API DeleteStreamResult()=default
DeleteStreamResult & WithStatus(StreamStatus value)
DeleteStreamResult & WithArn(ArnT &&value)
DeleteStreamResult & WithStreamIdentifier(StreamIdentifierT &&value)
DeleteStreamResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetClusterIdentifier() const
void SetClusterIdentifier(ClusterIdentifierT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DeleteStreamResult & WithCreationTime(CreationTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue