AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 ModifyingProperties& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetActiveValue() const { return m_activeValue; }
59 inline bool ActiveValueHasBeenSet() const { return m_activeValueHasBeenSet; }
60 template<typename ActiveValueT = Aws::String>
61 void SetActiveValue(ActiveValueT&& value) { m_activeValueHasBeenSet = true; m_activeValue = std::forward<ActiveValueT>(value); }
62 template<typename ActiveValueT = Aws::String>
63 ModifyingProperties& WithActiveValue(ActiveValueT&& value) { SetActiveValue(std::forward<ActiveValueT>(value)); return *this;}
65
67
71 inline const Aws::String& GetPendingValue() const { return m_pendingValue; }
72 inline bool PendingValueHasBeenSet() const { return m_pendingValueHasBeenSet; }
73 template<typename PendingValueT = Aws::String>
74 void SetPendingValue(PendingValueT&& value) { m_pendingValueHasBeenSet = true; m_pendingValue = std::forward<PendingValueT>(value); }
75 template<typename PendingValueT = Aws::String>
76 ModifyingProperties& WithPendingValue(PendingValueT&& value) { SetPendingValue(std::forward<PendingValueT>(value)); return *this;}
78
80
87 inline PropertyValueType GetValueType() const { return m_valueType; }
88 inline bool ValueTypeHasBeenSet() const { return m_valueTypeHasBeenSet; }
89 inline void SetValueType(PropertyValueType value) { m_valueTypeHasBeenSet = true; m_valueType = value; }
90 inline ModifyingProperties& WithValueType(PropertyValueType value) { SetValueType(value); return *this;}
92 private:
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
97 Aws::String m_activeValue;
98 bool m_activeValueHasBeenSet = false;
99
100 Aws::String m_pendingValue;
101 bool m_pendingValueHasBeenSet = false;
102
104 bool m_valueTypeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace OpenSearchService
109} // namespace Aws
ModifyingProperties & WithValueType(PropertyValueType value)
ModifyingProperties & WithActiveValue(ActiveValueT &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ModifyingProperties & WithPendingValue(PendingValueT &&value)
AWS_OPENSEARCHSERVICE_API ModifyingProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API ModifyingProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API ModifyingProperties()=default
ModifyingProperties & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue