AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CancelledChangeProperty.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_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 OpenSearchService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_OPENSEARCHSERVICE_API CancelledChangeProperty();
36 AWS_OPENSEARCHSERVICE_API CancelledChangeProperty(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVICE_API CancelledChangeProperty& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_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 inline void SetPropertyName(const Aws::String& value) { m_propertyNameHasBeenSet = true; m_propertyName = value; }
48 inline void SetPropertyName(Aws::String&& value) { m_propertyNameHasBeenSet = true; m_propertyName = std::move(value); }
49 inline void SetPropertyName(const char* value) { m_propertyNameHasBeenSet = true; m_propertyName.assign(value); }
50 inline CancelledChangeProperty& WithPropertyName(const Aws::String& value) { SetPropertyName(value); return *this;}
51 inline CancelledChangeProperty& WithPropertyName(Aws::String&& value) { SetPropertyName(std::move(value)); return *this;}
52 inline CancelledChangeProperty& WithPropertyName(const char* value) { SetPropertyName(value); return *this;}
54
56
60 inline const Aws::String& GetCancelledValue() const{ return m_cancelledValue; }
61 inline bool CancelledValueHasBeenSet() const { return m_cancelledValueHasBeenSet; }
62 inline void SetCancelledValue(const Aws::String& value) { m_cancelledValueHasBeenSet = true; m_cancelledValue = value; }
63 inline void SetCancelledValue(Aws::String&& value) { m_cancelledValueHasBeenSet = true; m_cancelledValue = std::move(value); }
64 inline void SetCancelledValue(const char* value) { m_cancelledValueHasBeenSet = true; m_cancelledValue.assign(value); }
65 inline CancelledChangeProperty& WithCancelledValue(const Aws::String& value) { SetCancelledValue(value); return *this;}
66 inline CancelledChangeProperty& WithCancelledValue(Aws::String&& value) { SetCancelledValue(std::move(value)); return *this;}
67 inline CancelledChangeProperty& WithCancelledValue(const char* value) { SetCancelledValue(value); return *this;}
69
71
74 inline const Aws::String& GetActiveValue() const{ return m_activeValue; }
75 inline bool ActiveValueHasBeenSet() const { return m_activeValueHasBeenSet; }
76 inline void SetActiveValue(const Aws::String& value) { m_activeValueHasBeenSet = true; m_activeValue = value; }
77 inline void SetActiveValue(Aws::String&& value) { m_activeValueHasBeenSet = true; m_activeValue = std::move(value); }
78 inline void SetActiveValue(const char* value) { m_activeValueHasBeenSet = true; m_activeValue.assign(value); }
79 inline CancelledChangeProperty& WithActiveValue(const Aws::String& value) { SetActiveValue(value); return *this;}
80 inline CancelledChangeProperty& WithActiveValue(Aws::String&& value) { SetActiveValue(std::move(value)); return *this;}
81 inline CancelledChangeProperty& WithActiveValue(const char* value) { SetActiveValue(value); return *this;}
83 private:
84
85 Aws::String m_propertyName;
86 bool m_propertyNameHasBeenSet = false;
87
88 Aws::String m_cancelledValue;
89 bool m_cancelledValueHasBeenSet = false;
90
91 Aws::String m_activeValue;
92 bool m_activeValueHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace OpenSearchService
97} // namespace Aws
CancelledChangeProperty & WithCancelledValue(const Aws::String &value)
CancelledChangeProperty & WithCancelledValue(Aws::String &&value)
CancelledChangeProperty & WithPropertyName(Aws::String &&value)
CancelledChangeProperty & WithCancelledValue(const char *value)
AWS_OPENSEARCHSERVICE_API CancelledChangeProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
CancelledChangeProperty & WithPropertyName(const char *value)
CancelledChangeProperty & WithActiveValue(const Aws::String &value)
CancelledChangeProperty & WithPropertyName(const Aws::String &value)
CancelledChangeProperty & WithActiveValue(const char *value)
AWS_OPENSEARCHSERVICE_API CancelledChangeProperty(Aws::Utils::Json::JsonView jsonValue)
CancelledChangeProperty & WithActiveValue(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue