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/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearch/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 OpenSearchService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_OPENSEARCHSERVICE_API ModifyingProperties();
37 AWS_OPENSEARCHSERVICE_API ModifyingProperties(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API ModifyingProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_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
93 inline const PropertyValueType& GetValueType() const{ return m_valueType; }
94 inline bool ValueTypeHasBeenSet() const { return m_valueTypeHasBeenSet; }
95 inline void SetValueType(const PropertyValueType& value) { m_valueTypeHasBeenSet = true; m_valueType = value; }
96 inline void SetValueType(PropertyValueType&& value) { m_valueTypeHasBeenSet = true; m_valueType = std::move(value); }
97 inline ModifyingProperties& WithValueType(const PropertyValueType& value) { SetValueType(value); return *this;}
98 inline ModifyingProperties& WithValueType(PropertyValueType&& value) { SetValueType(std::move(value)); return *this;}
100 private:
101
102 Aws::String m_name;
103 bool m_nameHasBeenSet = false;
104
105 Aws::String m_activeValue;
106 bool m_activeValueHasBeenSet = false;
107
108 Aws::String m_pendingValue;
109 bool m_pendingValueHasBeenSet = false;
110
111 PropertyValueType m_valueType;
112 bool m_valueTypeHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace OpenSearchService
117} // namespace Aws
ModifyingProperties & WithName(const Aws::String &value)
ModifyingProperties & WithPendingValue(const char *value)
ModifyingProperties & WithActiveValue(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ModifyingProperties & WithPendingValue(Aws::String &&value)
ModifyingProperties & WithName(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API ModifyingProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API ModifyingProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
ModifyingProperties & WithPendingValue(const Aws::String &value)
ModifyingProperties & WithActiveValue(const Aws::String &value)
ModifyingProperties & WithActiveValue(const char *value)
void SetValueType(const PropertyValueType &value)
ModifyingProperties & WithValueType(const PropertyValueType &value)
ModifyingProperties & WithValueType(PropertyValueType &&value)
ModifyingProperties & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue