AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyingProperties.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/es/model/PropertyValueType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ElasticsearchService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ELASTICSEARCHSERVICE_API ModifyingProperties();
37 AWS_ELASTICSEARCHSERVICE_API ModifyingProperties(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICSEARCHSERVICE_API ModifyingProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline ModifyingProperties& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline ModifyingProperties& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline ModifyingProperties& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetActiveValue() const{ return m_activeValue; }
61 inline bool ActiveValueHasBeenSet() const { return m_activeValueHasBeenSet; }
62 inline void SetActiveValue(const Aws::String& value) { m_activeValueHasBeenSet = true; m_activeValue = value; }
63 inline void SetActiveValue(Aws::String&& value) { m_activeValueHasBeenSet = true; m_activeValue = std::move(value); }
64 inline void SetActiveValue(const char* value) { m_activeValueHasBeenSet = true; m_activeValue.assign(value); }
65 inline ModifyingProperties& WithActiveValue(const Aws::String& value) { SetActiveValue(value); return *this;}
66 inline ModifyingProperties& WithActiveValue(Aws::String&& value) { SetActiveValue(std::move(value)); return *this;}
67 inline ModifyingProperties& WithActiveValue(const char* value) { SetActiveValue(value); return *this;}
69
71
75 inline const Aws::String& GetPendingValue() const{ return m_pendingValue; }
76 inline bool PendingValueHasBeenSet() const { return m_pendingValueHasBeenSet; }
77 inline void SetPendingValue(const Aws::String& value) { m_pendingValueHasBeenSet = true; m_pendingValue = value; }
78 inline void SetPendingValue(Aws::String&& value) { m_pendingValueHasBeenSet = true; m_pendingValue = std::move(value); }
79 inline void SetPendingValue(const char* value) { m_pendingValueHasBeenSet = true; m_pendingValue.assign(value); }
80 inline ModifyingProperties& WithPendingValue(const Aws::String& value) { SetPendingValue(value); return *this;}
81 inline ModifyingProperties& WithPendingValue(Aws::String&& value) { SetPendingValue(std::move(value)); return *this;}
82 inline ModifyingProperties& WithPendingValue(const char* value) { SetPendingValue(value); return *this;}
84
86
92 inline const PropertyValueType& GetValueType() const{ return m_valueType; }
93 inline bool ValueTypeHasBeenSet() const { return m_valueTypeHasBeenSet; }
94 inline void SetValueType(const PropertyValueType& value) { m_valueTypeHasBeenSet = true; m_valueType = value; }
95 inline void SetValueType(PropertyValueType&& value) { m_valueTypeHasBeenSet = true; m_valueType = std::move(value); }
96 inline ModifyingProperties& WithValueType(const PropertyValueType& value) { SetValueType(value); return *this;}
97 inline ModifyingProperties& WithValueType(PropertyValueType&& value) { SetValueType(std::move(value)); return *this;}
99 private:
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
104 Aws::String m_activeValue;
105 bool m_activeValueHasBeenSet = false;
106
107 Aws::String m_pendingValue;
108 bool m_pendingValueHasBeenSet = false;
109
110 PropertyValueType m_valueType;
111 bool m_valueTypeHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace ElasticsearchService
116} // namespace Aws
ModifyingProperties & WithActiveValue(const Aws::String &value)
ModifyingProperties & WithValueType(PropertyValueType &&value)
ModifyingProperties & WithPendingValue(const char *value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API ModifyingProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API ModifyingProperties()
ModifyingProperties & WithName(Aws::String &&value)
ModifyingProperties & WithActiveValue(Aws::String &&value)
ModifyingProperties & WithPendingValue(Aws::String &&value)
ModifyingProperties & WithPendingValue(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API ModifyingProperties(Aws::Utils::Json::JsonView jsonValue)
ModifyingProperties & WithValueType(const PropertyValueType &value)
ModifyingProperties & WithName(const Aws::String &value)
ModifyingProperties & WithName(const char *value)
ModifyingProperties & WithActiveValue(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue