AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CancelDomainConfigChangeResult.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/es/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 ElasticsearchService
26{
27namespace Model
28{
36 {
37 public:
38 AWS_ELASTICSEARCHSERVICE_API CancelDomainConfigChangeResult() = default;
41
42
44
48 inline bool GetDryRun() const { return m_dryRun; }
49 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
50 inline CancelDomainConfigChangeResult& WithDryRun(bool value) { SetDryRun(value); return *this;}
52
54
57 inline const Aws::Vector<Aws::String>& GetCancelledChangeIds() const { return m_cancelledChangeIds; }
58 template<typename CancelledChangeIdsT = Aws::Vector<Aws::String>>
59 void SetCancelledChangeIds(CancelledChangeIdsT&& value) { m_cancelledChangeIdsHasBeenSet = true; m_cancelledChangeIds = std::forward<CancelledChangeIdsT>(value); }
60 template<typename CancelledChangeIdsT = Aws::Vector<Aws::String>>
61 CancelDomainConfigChangeResult& WithCancelledChangeIds(CancelledChangeIdsT&& value) { SetCancelledChangeIds(std::forward<CancelledChangeIdsT>(value)); return *this;}
62 template<typename CancelledChangeIdsT = Aws::String>
63 CancelDomainConfigChangeResult& AddCancelledChangeIds(CancelledChangeIdsT&& value) { m_cancelledChangeIdsHasBeenSet = true; m_cancelledChangeIds.emplace_back(std::forward<CancelledChangeIdsT>(value)); return *this; }
65
67
70 inline const Aws::Vector<CancelledChangeProperty>& GetCancelledChangeProperties() const { return m_cancelledChangeProperties; }
71 template<typename CancelledChangePropertiesT = Aws::Vector<CancelledChangeProperty>>
72 void SetCancelledChangeProperties(CancelledChangePropertiesT&& value) { m_cancelledChangePropertiesHasBeenSet = true; m_cancelledChangeProperties = std::forward<CancelledChangePropertiesT>(value); }
73 template<typename CancelledChangePropertiesT = Aws::Vector<CancelledChangeProperty>>
74 CancelDomainConfigChangeResult& WithCancelledChangeProperties(CancelledChangePropertiesT&& value) { SetCancelledChangeProperties(std::forward<CancelledChangePropertiesT>(value)); return *this;}
75 template<typename CancelledChangePropertiesT = CancelledChangeProperty>
76 CancelDomainConfigChangeResult& AddCancelledChangeProperties(CancelledChangePropertiesT&& value) { m_cancelledChangePropertiesHasBeenSet = true; m_cancelledChangeProperties.emplace_back(std::forward<CancelledChangePropertiesT>(value)); return *this; }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template<typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
84 template<typename RequestIdT = Aws::String>
85 CancelDomainConfigChangeResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
87 private:
88
89 bool m_dryRun{false};
90 bool m_dryRunHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_cancelledChangeIds;
93 bool m_cancelledChangeIdsHasBeenSet = false;
94
95 Aws::Vector<CancelledChangeProperty> m_cancelledChangeProperties;
96 bool m_cancelledChangePropertiesHasBeenSet = false;
97
98 Aws::String m_requestId;
99 bool m_requestIdHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace ElasticsearchService
104} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API CancelDomainConfigChangeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelDomainConfigChangeResult & WithCancelledChangeIds(CancelledChangeIdsT &&value)
AWS_ELASTICSEARCHSERVICE_API CancelDomainConfigChangeResult()=default
CancelDomainConfigChangeResult & WithCancelledChangeProperties(CancelledChangePropertiesT &&value)
AWS_ELASTICSEARCHSERVICE_API CancelDomainConfigChangeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< CancelledChangeProperty > & GetCancelledChangeProperties() const
CancelDomainConfigChangeResult & AddCancelledChangeProperties(CancelledChangePropertiesT &&value)
CancelDomainConfigChangeResult & WithRequestId(RequestIdT &&value)
CancelDomainConfigChangeResult & AddCancelledChangeIds(CancelledChangeIdsT &&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