AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace OpenSearchServerless {
21namespace Model {
22
29 public:
30 AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupDetail() = default;
31 AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupDetail(Aws::Utils::Json::JsonView jsonValue);
32 AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetArn() const { return m_arn; }
58 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
59 template <typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) {
61 m_arnHasBeenSet = true;
62 m_arn = std::forward<ArnT>(value);
63 }
64 template <typename ArnT = Aws::String>
66 SetArn(std::forward<ArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template <typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) {
97 m_descriptionHasBeenSet = true;
98 m_description = std::forward<DescriptionT>(value);
99 }
100 template <typename DescriptionT = Aws::String>
102 SetDescription(std::forward<DescriptionT>(value));
103 return *this;
104 }
106
108
112 inline const CollectionGroupCapacityLimits& GetCapacityLimits() const { return m_capacityLimits; }
113 inline bool CapacityLimitsHasBeenSet() const { return m_capacityLimitsHasBeenSet; }
114 template <typename CapacityLimitsT = CollectionGroupCapacityLimits>
115 void SetCapacityLimits(CapacityLimitsT&& value) {
116 m_capacityLimitsHasBeenSet = true;
117 m_capacityLimits = std::forward<CapacityLimitsT>(value);
118 }
119 template <typename CapacityLimitsT = CollectionGroupCapacityLimits>
121 SetCapacityLimits(std::forward<CapacityLimitsT>(value));
122 return *this;
123 }
125
127
130 inline long long GetCreatedDate() const { return m_createdDate; }
131 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
132 inline void SetCreatedDate(long long value) {
133 m_createdDateHasBeenSet = true;
134 m_createdDate = value;
135 }
137 SetCreatedDate(value);
138 return *this;
139 }
141
143
146 inline long long GetLastModifiedDate() const { return m_lastModifiedDate; }
147 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
148 inline void SetLastModifiedDate(long long value) {
149 m_lastModifiedDateHasBeenSet = true;
150 m_lastModifiedDate = value;
151 }
153 SetLastModifiedDate(value);
154 return *this;
155 }
157 private:
158 Aws::String m_id;
159
160 Aws::String m_arn;
161
162 Aws::String m_name;
163
164 Aws::String m_description;
165
166 CollectionGroupCapacityLimits m_capacityLimits;
167
168 long long m_createdDate{0};
169
170 long long m_lastModifiedDate{0};
171 bool m_idHasBeenSet = false;
172 bool m_arnHasBeenSet = false;
173 bool m_nameHasBeenSet = false;
174 bool m_descriptionHasBeenSet = false;
175 bool m_capacityLimitsHasBeenSet = false;
176 bool m_createdDateHasBeenSet = false;
177 bool m_lastModifiedDateHasBeenSet = false;
178};
179
180} // namespace Model
181} // namespace OpenSearchServerless
182} // 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
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