AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
CancelledChangeProperty.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/es/ElasticsearchService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ElasticsearchService {
20namespace Model {
21
29 public:
30 AWS_ELASTICSEARCHSERVICE_API CancelledChangeProperty() = default;
31 AWS_ELASTICSEARCHSERVICE_API CancelledChangeProperty(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ELASTICSEARCHSERVICE_API CancelledChangeProperty& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetPropertyName() const { return m_propertyName; }
40 inline bool PropertyNameHasBeenSet() const { return m_propertyNameHasBeenSet; }
41 template <typename PropertyNameT = Aws::String>
42 void SetPropertyName(PropertyNameT&& value) {
43 m_propertyNameHasBeenSet = true;
44 m_propertyName = std::forward<PropertyNameT>(value);
45 }
46 template <typename PropertyNameT = Aws::String>
47 CancelledChangeProperty& WithPropertyName(PropertyNameT&& value) {
48 SetPropertyName(std::forward<PropertyNameT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetCancelledValue() const { return m_cancelledValue; }
59 inline bool CancelledValueHasBeenSet() const { return m_cancelledValueHasBeenSet; }
60 template <typename CancelledValueT = Aws::String>
61 void SetCancelledValue(CancelledValueT&& value) {
62 m_cancelledValueHasBeenSet = true;
63 m_cancelledValue = std::forward<CancelledValueT>(value);
64 }
65 template <typename CancelledValueT = Aws::String>
66 CancelledChangeProperty& WithCancelledValue(CancelledValueT&& value) {
67 SetCancelledValue(std::forward<CancelledValueT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetActiveValue() const { return m_activeValue; }
77 inline bool ActiveValueHasBeenSet() const { return m_activeValueHasBeenSet; }
78 template <typename ActiveValueT = Aws::String>
79 void SetActiveValue(ActiveValueT&& value) {
80 m_activeValueHasBeenSet = true;
81 m_activeValue = std::forward<ActiveValueT>(value);
82 }
83 template <typename ActiveValueT = Aws::String>
85 SetActiveValue(std::forward<ActiveValueT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_propertyName;
91
92 Aws::String m_cancelledValue;
93
94 Aws::String m_activeValue;
95 bool m_propertyNameHasBeenSet = false;
96 bool m_cancelledValueHasBeenSet = false;
97 bool m_activeValueHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace ElasticsearchService
102} // namespace Aws
CancelledChangeProperty & WithPropertyName(PropertyNameT &&value)
AWS_ELASTICSEARCHSERVICE_API CancelledChangeProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
CancelledChangeProperty & WithActiveValue(ActiveValueT &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API CancelledChangeProperty(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API CancelledChangeProperty()=default
CancelledChangeProperty & WithCancelledValue(CancelledValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue