AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CancelledChangeProperty.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ElasticsearchService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ELASTICSEARCHSERVICE_API CancelledChangeProperty() = default;
36 AWS_ELASTICSEARCHSERVICE_API CancelledChangeProperty(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ELASTICSEARCHSERVICE_API CancelledChangeProperty& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetPropertyName() const { return m_propertyName; }
46 inline bool PropertyNameHasBeenSet() const { return m_propertyNameHasBeenSet; }
47 template<typename PropertyNameT = Aws::String>
48 void SetPropertyName(PropertyNameT&& value) { m_propertyNameHasBeenSet = true; m_propertyName = std::forward<PropertyNameT>(value); }
49 template<typename PropertyNameT = Aws::String>
50 CancelledChangeProperty& WithPropertyName(PropertyNameT&& value) { SetPropertyName(std::forward<PropertyNameT>(value)); return *this;}
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) { m_cancelledValueHasBeenSet = true; m_cancelledValue = std::forward<CancelledValueT>(value); }
62 template<typename CancelledValueT = Aws::String>
63 CancelledChangeProperty& WithCancelledValue(CancelledValueT&& value) { SetCancelledValue(std::forward<CancelledValueT>(value)); return *this;}
65
67
70 inline const Aws::String& GetActiveValue() const { return m_activeValue; }
71 inline bool ActiveValueHasBeenSet() const { return m_activeValueHasBeenSet; }
72 template<typename ActiveValueT = Aws::String>
73 void SetActiveValue(ActiveValueT&& value) { m_activeValueHasBeenSet = true; m_activeValue = std::forward<ActiveValueT>(value); }
74 template<typename ActiveValueT = Aws::String>
75 CancelledChangeProperty& WithActiveValue(ActiveValueT&& value) { SetActiveValue(std::forward<ActiveValueT>(value)); return *this;}
77 private:
78
79 Aws::String m_propertyName;
80 bool m_propertyNameHasBeenSet = false;
81
82 Aws::String m_cancelledValue;
83 bool m_cancelledValueHasBeenSet = false;
84
85 Aws::String m_activeValue;
86 bool m_activeValueHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace ElasticsearchService
91} // 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