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>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace OpenSearchService {
38 template <
typename CancelledChangeIdsT = Aws::Vector<Aws::String>>
40 m_cancelledChangeIdsHasBeenSet =
true;
41 m_cancelledChangeIds = std::forward<CancelledChangeIdsT>(value);
43 template <
typename CancelledChangeIdsT = Aws::Vector<Aws::String>>
48 template <
typename CancelledChangeIdsT = Aws::String>
50 m_cancelledChangeIdsHasBeenSet =
true;
51 m_cancelledChangeIds.emplace_back(std::forward<CancelledChangeIdsT>(value));
61 template <
typename CancelledChangePropertiesT = Aws::Vector<CancelledChangeProperty>>
63 m_cancelledChangePropertiesHasBeenSet =
true;
64 m_cancelledChangeProperties = std::forward<CancelledChangePropertiesT>(value);
66 template <
typename CancelledChangePropertiesT = Aws::Vector<CancelledChangeProperty>>
71 template <
typename CancelledChangePropertiesT = CancelledChangeProperty>
73 m_cancelledChangePropertiesHasBeenSet =
true;
74 m_cancelledChangeProperties.emplace_back(std::forward<CancelledChangePropertiesT>(value));
86 m_dryRunHasBeenSet =
true;
98 template <
typename RequestIdT = Aws::String>
100 m_requestIdHasBeenSet =
true;
101 m_requestId = std::forward<RequestIdT>(value);
103 template <
typename RequestIdT = Aws::String>
116 bool m_dryRun{
false};
120 bool m_cancelledChangeIdsHasBeenSet =
false;
121 bool m_cancelledChangePropertiesHasBeenSet =
false;
122 bool m_dryRunHasBeenSet =
false;
123 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< CancelledChangeProperty > & GetCancelledChangeProperties() const
void SetCancelledChangeIds(CancelledChangeIdsT &&value)
void SetDryRun(bool value)
void SetCancelledChangeProperties(CancelledChangePropertiesT &&value)
AWS_OPENSEARCHSERVICE_API CancelDomainConfigChangeResult()=default
CancelDomainConfigChangeResult & AddCancelledChangeIds(CancelledChangeIdsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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)
const Aws::String & GetRequestId() const
CancelDomainConfigChangeResult & WithCancelledChangeProperties(CancelledChangePropertiesT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::Vector< Aws::String > & GetCancelledChangeIds() const
CancelDomainConfigChangeResult & WithDryRun(bool 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