AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
UpdateCollectionGroupDetail.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
9#include <aws/opensearchserverless/model/CollectionGroupCapacityLimits.h>
10#include <aws/opensearchserverless/model/ServerlessGeneration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace OpenSearchServerless {
22namespace Model {
23
30 public:
31 AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupDetail() = default;
32 AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupDetail(Aws::Utils::Json::JsonView jsonValue);
33 AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
60 template <typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) {
62 m_arnHasBeenSet = true;
63 m_arn = std::forward<ArnT>(value);
64 }
65 template <typename ArnT = Aws::String>
67 SetArn(std::forward<ArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
78 template <typename NameT = Aws::String>
79 void SetName(NameT&& value) {
80 m_nameHasBeenSet = true;
81 m_name = std::forward<NameT>(value);
82 }
83 template <typename NameT = Aws::String>
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template <typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) {
98 m_descriptionHasBeenSet = true;
99 m_description = std::forward<DescriptionT>(value);
100 }
101 template <typename DescriptionT = Aws::String>
103 SetDescription(std::forward<DescriptionT>(value));
104 return *this;
105 }
107
109
113 inline const CollectionGroupCapacityLimits& GetCapacityLimits() const { return m_capacityLimits; }
114 inline bool CapacityLimitsHasBeenSet() const { return m_capacityLimitsHasBeenSet; }
115 template <typename CapacityLimitsT = CollectionGroupCapacityLimits>
116 void SetCapacityLimits(CapacityLimitsT&& value) {
117 m_capacityLimitsHasBeenSet = true;
118 m_capacityLimits = std::forward<CapacityLimitsT>(value);
119 }
120 template <typename CapacityLimitsT = CollectionGroupCapacityLimits>
122 SetCapacityLimits(std::forward<CapacityLimitsT>(value));
123 return *this;
124 }
126
128
131 inline long long GetCreatedDate() const { return m_createdDate; }
132 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
133 inline void SetCreatedDate(long long value) {
134 m_createdDateHasBeenSet = true;
135 m_createdDate = value;
136 }
138 SetCreatedDate(value);
139 return *this;
140 }
142
144
147 inline long long GetLastModifiedDate() const { return m_lastModifiedDate; }
148 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
149 inline void SetLastModifiedDate(long long value) {
150 m_lastModifiedDateHasBeenSet = true;
151 m_lastModifiedDate = value;
152 }
154 SetLastModifiedDate(value);
155 return *this;
156 }
158
160
163 inline ServerlessGeneration GetGeneration() const { return m_generation; }
164 inline bool GenerationHasBeenSet() const { return m_generationHasBeenSet; }
166 m_generationHasBeenSet = true;
167 m_generation = value;
168 }
170 SetGeneration(value);
171 return *this;
172 }
174 private:
175 Aws::String m_id;
176
177 Aws::String m_arn;
178
179 Aws::String m_name;
180
181 Aws::String m_description;
182
183 CollectionGroupCapacityLimits m_capacityLimits;
184
185 long long m_createdDate{0};
186
187 long long m_lastModifiedDate{0};
188
190 bool m_idHasBeenSet = false;
191 bool m_arnHasBeenSet = false;
192 bool m_nameHasBeenSet = false;
193 bool m_descriptionHasBeenSet = false;
194 bool m_capacityLimitsHasBeenSet = false;
195 bool m_createdDateHasBeenSet = false;
196 bool m_lastModifiedDateHasBeenSet = false;
197 bool m_generationHasBeenSet = false;
198};
199
200} // namespace Model
201} // namespace OpenSearchServerless
202} // namespace Aws
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateCollectionGroupDetail & WithCapacityLimits(CapacityLimitsT &&value)
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupDetail(Aws::Utils::Json::JsonView jsonValue)
UpdateCollectionGroupDetail & WithDescription(DescriptionT &&value)
UpdateCollectionGroupDetail & WithLastModifiedDate(long long value)
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupDetail()=default
UpdateCollectionGroupDetail & WithGeneration(ServerlessGeneration value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue