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/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();
41
42
44
48 inline bool GetDryRun() const{ return m_dryRun; }
49 inline void SetDryRun(bool value) { 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 inline void SetCancelledChangeIds(const Aws::Vector<Aws::String>& value) { m_cancelledChangeIds = value; }
59 inline void SetCancelledChangeIds(Aws::Vector<Aws::String>&& value) { m_cancelledChangeIds = std::move(value); }
62 inline CancelDomainConfigChangeResult& AddCancelledChangeIds(const Aws::String& value) { m_cancelledChangeIds.push_back(value); return *this; }
63 inline CancelDomainConfigChangeResult& AddCancelledChangeIds(Aws::String&& value) { m_cancelledChangeIds.push_back(std::move(value)); return *this; }
64 inline CancelDomainConfigChangeResult& AddCancelledChangeIds(const char* value) { m_cancelledChangeIds.push_back(value); return *this; }
66
68
71 inline const Aws::Vector<CancelledChangeProperty>& GetCancelledChangeProperties() const{ return m_cancelledChangeProperties; }
72 inline void SetCancelledChangeProperties(const Aws::Vector<CancelledChangeProperty>& value) { m_cancelledChangeProperties = value; }
73 inline void SetCancelledChangeProperties(Aws::Vector<CancelledChangeProperty>&& value) { m_cancelledChangeProperties = std::move(value); }
76 inline CancelDomainConfigChangeResult& AddCancelledChangeProperties(const CancelledChangeProperty& value) { m_cancelledChangeProperties.push_back(value); return *this; }
77 inline CancelDomainConfigChangeResult& AddCancelledChangeProperties(CancelledChangeProperty&& value) { m_cancelledChangeProperties.push_back(std::move(value)); return *this; }
79
81
82 inline const Aws::String& GetRequestId() const{ return m_requestId; }
83 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
84 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
85 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
86 inline CancelDomainConfigChangeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
87 inline CancelDomainConfigChangeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
88 inline CancelDomainConfigChangeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
90 private:
91
92 bool m_dryRun;
93
94 Aws::Vector<Aws::String> m_cancelledChangeIds;
95
96 Aws::Vector<CancelledChangeProperty> m_cancelledChangeProperties;
97
98 Aws::String m_requestId;
99 };
100
101} // namespace Model
102} // namespace ElasticsearchService
103} // namespace Aws
CancelDomainConfigChangeResult & AddCancelledChangeIds(const char *value)
AWS_ELASTICSEARCHSERVICE_API CancelDomainConfigChangeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelDomainConfigChangeResult & WithCancelledChangeIds(const Aws::Vector< Aws::String > &value)
CancelDomainConfigChangeResult & WithRequestId(const Aws::String &value)
CancelDomainConfigChangeResult & AddCancelledChangeProperties(CancelledChangeProperty &&value)
CancelDomainConfigChangeResult & WithCancelledChangeIds(Aws::Vector< Aws::String > &&value)
AWS_ELASTICSEARCHSERVICE_API CancelDomainConfigChangeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< CancelledChangeProperty > & GetCancelledChangeProperties() const
void SetCancelledChangeProperties(Aws::Vector< CancelledChangeProperty > &&value)
CancelDomainConfigChangeResult & AddCancelledChangeIds(const Aws::String &value)
CancelDomainConfigChangeResult & WithRequestId(const char *value)
CancelDomainConfigChangeResult & AddCancelledChangeProperties(const CancelledChangeProperty &value)
CancelDomainConfigChangeResult & WithRequestId(Aws::String &&value)
CancelDomainConfigChangeResult & WithCancelledChangeProperties(const Aws::Vector< CancelledChangeProperty > &value)
CancelDomainConfigChangeResult & AddCancelledChangeIds(Aws::String &&value)
void SetCancelledChangeProperties(const Aws::Vector< CancelledChangeProperty > &value)
CancelDomainConfigChangeResult & WithCancelledChangeProperties(Aws::Vector< CancelledChangeProperty > &&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