AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CancelDomainConfigChangeResult.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearch/model/CancelledChangeProperty.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace OpenSearchService
26{
27namespace Model
28{
30 {
31 public:
32 AWS_OPENSEARCHSERVICE_API CancelDomainConfigChangeResult() = default;
35
36
38
41 inline const Aws::Vector<Aws::String>& GetCancelledChangeIds() const { return m_cancelledChangeIds; }
42 template<typename CancelledChangeIdsT = Aws::Vector<Aws::String>>
43 void SetCancelledChangeIds(CancelledChangeIdsT&& value) { m_cancelledChangeIdsHasBeenSet = true; m_cancelledChangeIds = std::forward<CancelledChangeIdsT>(value); }
44 template<typename CancelledChangeIdsT = Aws::Vector<Aws::String>>
45 CancelDomainConfigChangeResult& WithCancelledChangeIds(CancelledChangeIdsT&& value) { SetCancelledChangeIds(std::forward<CancelledChangeIdsT>(value)); return *this;}
46 template<typename CancelledChangeIdsT = Aws::String>
47 CancelDomainConfigChangeResult& AddCancelledChangeIds(CancelledChangeIdsT&& value) { m_cancelledChangeIdsHasBeenSet = true; m_cancelledChangeIds.emplace_back(std::forward<CancelledChangeIdsT>(value)); return *this; }
49
51
54 inline const Aws::Vector<CancelledChangeProperty>& GetCancelledChangeProperties() const { return m_cancelledChangeProperties; }
55 template<typename CancelledChangePropertiesT = Aws::Vector<CancelledChangeProperty>>
56 void SetCancelledChangeProperties(CancelledChangePropertiesT&& value) { m_cancelledChangePropertiesHasBeenSet = true; m_cancelledChangeProperties = std::forward<CancelledChangePropertiesT>(value); }
57 template<typename CancelledChangePropertiesT = Aws::Vector<CancelledChangeProperty>>
58 CancelDomainConfigChangeResult& WithCancelledChangeProperties(CancelledChangePropertiesT&& value) { SetCancelledChangeProperties(std::forward<CancelledChangePropertiesT>(value)); return *this;}
59 template<typename CancelledChangePropertiesT = CancelledChangeProperty>
60 CancelDomainConfigChangeResult& AddCancelledChangeProperties(CancelledChangePropertiesT&& value) { m_cancelledChangePropertiesHasBeenSet = true; m_cancelledChangeProperties.emplace_back(std::forward<CancelledChangePropertiesT>(value)); return *this; }
62
64
68 inline bool GetDryRun() const { return m_dryRun; }
69 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
70 inline CancelDomainConfigChangeResult& WithDryRun(bool value) { SetDryRun(value); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template<typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
78 template<typename RequestIdT = Aws::String>
79 CancelDomainConfigChangeResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
81 private:
82
83 Aws::Vector<Aws::String> m_cancelledChangeIds;
84 bool m_cancelledChangeIdsHasBeenSet = false;
85
86 Aws::Vector<CancelledChangeProperty> m_cancelledChangeProperties;
87 bool m_cancelledChangePropertiesHasBeenSet = false;
88
89 bool m_dryRun{false};
90 bool m_dryRunHasBeenSet = false;
91
92 Aws::String m_requestId;
93 bool m_requestIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace OpenSearchService
98} // 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