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>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace OpenSearchService {
37 template <
typename CancelledChangeIdsT = Aws::Vector<Aws::String>>
39 m_cancelledChangeIdsHasBeenSet =
true;
40 m_cancelledChangeIds = std::forward<CancelledChangeIdsT>(value);
42 template <
typename CancelledChangeIdsT = Aws::Vector<Aws::String>>
47 template <
typename CancelledChangeIdsT = Aws::String>
49 m_cancelledChangeIdsHasBeenSet =
true;
50 m_cancelledChangeIds.emplace_back(std::forward<CancelledChangeIdsT>(value));
60 template <
typename CancelledChangePropertiesT = Aws::Vector<CancelledChangeProperty>>
62 m_cancelledChangePropertiesHasBeenSet =
true;
63 m_cancelledChangeProperties = std::forward<CancelledChangePropertiesT>(value);
65 template <
typename CancelledChangePropertiesT = Aws::Vector<CancelledChangeProperty>>
70 template <
typename CancelledChangePropertiesT = CancelledChangeProperty>
72 m_cancelledChangePropertiesHasBeenSet =
true;
73 m_cancelledChangeProperties.emplace_back(std::forward<CancelledChangePropertiesT>(value));
85 m_dryRunHasBeenSet =
true;
97 template <
typename RequestIdT = Aws::String>
99 m_requestIdHasBeenSet =
true;
100 m_requestId = std::forward<RequestIdT>(value);
102 template <
typename RequestIdT = Aws::String>
113 bool m_dryRun{
false};
116 bool m_cancelledChangeIdsHasBeenSet =
false;
117 bool m_cancelledChangePropertiesHasBeenSet =
false;
118 bool m_dryRunHasBeenSet =
false;
119 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)
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