AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::Vector<Aws::String>& GetCancelledChangeIds() const{ return m_cancelledChangeIds; }
42 inline void SetCancelledChangeIds(const Aws::Vector<Aws::String>& value) { m_cancelledChangeIds = value; }
43 inline void SetCancelledChangeIds(Aws::Vector<Aws::String>&& value) { m_cancelledChangeIds = std::move(value); }
46 inline CancelDomainConfigChangeResult& AddCancelledChangeIds(const Aws::String& value) { m_cancelledChangeIds.push_back(value); return *this; }
47 inline CancelDomainConfigChangeResult& AddCancelledChangeIds(Aws::String&& value) { m_cancelledChangeIds.push_back(std::move(value)); return *this; }
48 inline CancelDomainConfigChangeResult& AddCancelledChangeIds(const char* value) { m_cancelledChangeIds.push_back(value); return *this; }
50
52
55 inline const Aws::Vector<CancelledChangeProperty>& GetCancelledChangeProperties() const{ return m_cancelledChangeProperties; }
56 inline void SetCancelledChangeProperties(const Aws::Vector<CancelledChangeProperty>& value) { m_cancelledChangeProperties = value; }
57 inline void SetCancelledChangeProperties(Aws::Vector<CancelledChangeProperty>&& value) { m_cancelledChangeProperties = std::move(value); }
60 inline CancelDomainConfigChangeResult& AddCancelledChangeProperties(const CancelledChangeProperty& value) { m_cancelledChangeProperties.push_back(value); return *this; }
61 inline CancelDomainConfigChangeResult& AddCancelledChangeProperties(CancelledChangeProperty&& value) { m_cancelledChangeProperties.push_back(std::move(value)); return *this; }
63
65
69 inline bool GetDryRun() const{ return m_dryRun; }
70 inline void SetDryRun(bool value) { m_dryRun = value; }
71 inline CancelDomainConfigChangeResult& WithDryRun(bool value) { SetDryRun(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline CancelDomainConfigChangeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline CancelDomainConfigChangeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline CancelDomainConfigChangeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::Vector<Aws::String> m_cancelledChangeIds;
87
88 Aws::Vector<CancelledChangeProperty> m_cancelledChangeProperties;
89
90 bool m_dryRun;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace OpenSearchService
97} // namespace Aws
const Aws::Vector< CancelledChangeProperty > & GetCancelledChangeProperties() const
CancelDomainConfigChangeResult & AddCancelledChangeIds(const char *value)
CancelDomainConfigChangeResult & WithRequestId(const Aws::String &value)
CancelDomainConfigChangeResult & WithCancelledChangeIds(const Aws::Vector< Aws::String > &value)
CancelDomainConfigChangeResult & WithCancelledChangeProperties(const Aws::Vector< CancelledChangeProperty > &value)
void SetCancelledChangeProperties(const Aws::Vector< CancelledChangeProperty > &value)
CancelDomainConfigChangeResult & AddCancelledChangeProperties(const CancelledChangeProperty &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 & WithRequestId(Aws::String &&value)
CancelDomainConfigChangeResult & WithCancelledChangeProperties(Aws::Vector< CancelledChangeProperty > &&value)
CancelDomainConfigChangeResult & AddCancelledChangeIds(const Aws::String &value)
CancelDomainConfigChangeResult & AddCancelledChangeProperties(CancelledChangeProperty &&value)
CancelDomainConfigChangeResult & AddCancelledChangeIds(Aws::String &&value)
CancelDomainConfigChangeResult & WithRequestId(const char *value)
void SetCancelledChangeProperties(Aws::Vector< CancelledChangeProperty > &&value)
CancelDomainConfigChangeResult & WithCancelledChangeIds(Aws::Vector< Aws::String > &&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