AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CancelDomainConfigChangeResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10#include <aws/opensearch/model/CancelledChangeProperty.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace OpenSearchService {
24namespace Model {
26 public:
27 AWS_OPENSEARCHSERVICE_API CancelDomainConfigChangeResult() = default;
29 AWS_OPENSEARCHSERVICE_API CancelDomainConfigChangeResult& operator=(
31
33
36 inline const Aws::Vector<Aws::String>& GetCancelledChangeIds() const { return m_cancelledChangeIds; }
37 template <typename CancelledChangeIdsT = Aws::Vector<Aws::String>>
38 void SetCancelledChangeIds(CancelledChangeIdsT&& value) {
39 m_cancelledChangeIdsHasBeenSet = true;
40 m_cancelledChangeIds = std::forward<CancelledChangeIdsT>(value);
41 }
42 template <typename CancelledChangeIdsT = Aws::Vector<Aws::String>>
44 SetCancelledChangeIds(std::forward<CancelledChangeIdsT>(value));
45 return *this;
46 }
47 template <typename CancelledChangeIdsT = Aws::String>
49 m_cancelledChangeIdsHasBeenSet = true;
50 m_cancelledChangeIds.emplace_back(std::forward<CancelledChangeIdsT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<CancelledChangeProperty>& GetCancelledChangeProperties() const { return m_cancelledChangeProperties; }
60 template <typename CancelledChangePropertiesT = Aws::Vector<CancelledChangeProperty>>
61 void SetCancelledChangeProperties(CancelledChangePropertiesT&& value) {
62 m_cancelledChangePropertiesHasBeenSet = true;
63 m_cancelledChangeProperties = std::forward<CancelledChangePropertiesT>(value);
64 }
65 template <typename CancelledChangePropertiesT = Aws::Vector<CancelledChangeProperty>>
67 SetCancelledChangeProperties(std::forward<CancelledChangePropertiesT>(value));
68 return *this;
69 }
70 template <typename CancelledChangePropertiesT = CancelledChangeProperty>
71 CancelDomainConfigChangeResult& AddCancelledChangeProperties(CancelledChangePropertiesT&& value) {
72 m_cancelledChangePropertiesHasBeenSet = true;
73 m_cancelledChangeProperties.emplace_back(std::forward<CancelledChangePropertiesT>(value));
74 return *this;
75 }
77
79
83 inline bool GetDryRun() const { return m_dryRun; }
84 inline void SetDryRun(bool value) {
85 m_dryRunHasBeenSet = true;
86 m_dryRun = value;
87 }
89 SetDryRun(value);
90 return *this;
91 }
93
95
96 inline const Aws::String& GetRequestId() const { return m_requestId; }
97 template <typename RequestIdT = Aws::String>
98 void SetRequestId(RequestIdT&& value) {
99 m_requestIdHasBeenSet = true;
100 m_requestId = std::forward<RequestIdT>(value);
101 }
102 template <typename RequestIdT = Aws::String>
104 SetRequestId(std::forward<RequestIdT>(value));
105 return *this;
106 }
108 private:
109 Aws::Vector<Aws::String> m_cancelledChangeIds;
110
111 Aws::Vector<CancelledChangeProperty> m_cancelledChangeProperties;
112
113 bool m_dryRun{false};
114
115 Aws::String m_requestId;
116 bool m_cancelledChangeIdsHasBeenSet = false;
117 bool m_cancelledChangePropertiesHasBeenSet = false;
118 bool m_dryRunHasBeenSet = false;
119 bool m_requestIdHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace OpenSearchService
124} // 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