AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
CancelDomainConfigChangeResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearch/OpenSearchService_EXPORTS.h>
11#include <aws/opensearch/model/CancelledChangeProperty.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 OpenSearchService {
25namespace Model {
27 public:
28 AWS_OPENSEARCHSERVICE_API CancelDomainConfigChangeResult() = default;
30 AWS_OPENSEARCHSERVICE_API CancelDomainConfigChangeResult& operator=(
32
34
37 inline const Aws::Vector<Aws::String>& GetCancelledChangeIds() const { return m_cancelledChangeIds; }
38 template <typename CancelledChangeIdsT = Aws::Vector<Aws::String>>
39 void SetCancelledChangeIds(CancelledChangeIdsT&& value) {
40 m_cancelledChangeIdsHasBeenSet = true;
41 m_cancelledChangeIds = std::forward<CancelledChangeIdsT>(value);
42 }
43 template <typename CancelledChangeIdsT = Aws::Vector<Aws::String>>
45 SetCancelledChangeIds(std::forward<CancelledChangeIdsT>(value));
46 return *this;
47 }
48 template <typename CancelledChangeIdsT = Aws::String>
50 m_cancelledChangeIdsHasBeenSet = true;
51 m_cancelledChangeIds.emplace_back(std::forward<CancelledChangeIdsT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<CancelledChangeProperty>& GetCancelledChangeProperties() const { return m_cancelledChangeProperties; }
61 template <typename CancelledChangePropertiesT = Aws::Vector<CancelledChangeProperty>>
62 void SetCancelledChangeProperties(CancelledChangePropertiesT&& value) {
63 m_cancelledChangePropertiesHasBeenSet = true;
64 m_cancelledChangeProperties = std::forward<CancelledChangePropertiesT>(value);
65 }
66 template <typename CancelledChangePropertiesT = Aws::Vector<CancelledChangeProperty>>
68 SetCancelledChangeProperties(std::forward<CancelledChangePropertiesT>(value));
69 return *this;
70 }
71 template <typename CancelledChangePropertiesT = CancelledChangeProperty>
72 CancelDomainConfigChangeResult& AddCancelledChangeProperties(CancelledChangePropertiesT&& value) {
73 m_cancelledChangePropertiesHasBeenSet = true;
74 m_cancelledChangeProperties.emplace_back(std::forward<CancelledChangePropertiesT>(value));
75 return *this;
76 }
78
80
84 inline bool GetDryRun() const { return m_dryRun; }
85 inline void SetDryRun(bool value) {
86 m_dryRunHasBeenSet = true;
87 m_dryRun = value;
88 }
90 SetDryRun(value);
91 return *this;
92 }
94
96
97 inline const Aws::String& GetRequestId() const { return m_requestId; }
98 template <typename RequestIdT = Aws::String>
99 void SetRequestId(RequestIdT&& value) {
100 m_requestIdHasBeenSet = true;
101 m_requestId = std::forward<RequestIdT>(value);
102 }
103 template <typename RequestIdT = Aws::String>
105 SetRequestId(std::forward<RequestIdT>(value));
106 return *this;
107 }
109 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
110
111 private:
112 Aws::Vector<Aws::String> m_cancelledChangeIds;
113
114 Aws::Vector<CancelledChangeProperty> m_cancelledChangeProperties;
115
116 bool m_dryRun{false};
117
118 Aws::String m_requestId;
119 Aws::Http::HttpResponseCode m_HttpResponseCode;
120 bool m_cancelledChangeIdsHasBeenSet = false;
121 bool m_cancelledChangePropertiesHasBeenSet = false;
122 bool m_dryRunHasBeenSet = false;
123 bool m_requestIdHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace OpenSearchService
128} // namespace Aws
const Aws::Vector< CancelledChangeProperty > & GetCancelledChangeProperties() const
AWS_OPENSEARCHSERVICE_API CancelDomainConfigChangeResult()=default
CancelDomainConfigChangeResult & AddCancelledChangeIds(CancelledChangeIdsT &&value)
CancelDomainConfigChangeResult & WithRequestId(RequestIdT &&value)
AWS_OPENSEARCHSERVICE_API CancelDomainConfigChangeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OPENSEARCHSERVICE_API CancelDomainConfigChangeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelDomainConfigChangeResult & AddCancelledChangeProperties(CancelledChangePropertiesT &&value)
CancelDomainConfigChangeResult & WithCancelledChangeIds(CancelledChangeIdsT &&value)
CancelDomainConfigChangeResult & WithCancelledChangeProperties(CancelledChangePropertiesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue