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>
21namespace OpenSearchServerless {
42 template <
typename IdT = Aws::String>
44 m_idHasBeenSet =
true;
45 m_id = std::forward<IdT>(value);
47 template <
typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
60 template <
typename ArnT = Aws::String>
62 m_arnHasBeenSet =
true;
63 m_arn = std::forward<ArnT>(value);
65 template <
typename ArnT = Aws::String>
67 SetArn(std::forward<ArnT>(value));
78 template <
typename NameT = Aws::String>
80 m_nameHasBeenSet =
true;
81 m_name = std::forward<NameT>(value);
83 template <
typename NameT = Aws::String>
85 SetName(std::forward<NameT>(value));
96 template <
typename DescriptionT = Aws::String>
98 m_descriptionHasBeenSet =
true;
99 m_description = std::forward<DescriptionT>(value);
101 template <
typename DescriptionT = Aws::String>
115 template <
typename CapacityLimitsT = CollectionGroupCapacityLimits>
117 m_capacityLimitsHasBeenSet =
true;
118 m_capacityLimits = std::forward<CapacityLimitsT>(value);
120 template <
typename CapacityLimitsT = CollectionGroupCapacityLimits>
134 m_createdDateHasBeenSet =
true;
135 m_createdDate = value;
150 m_lastModifiedDateHasBeenSet =
true;
151 m_lastModifiedDate = value;
166 m_generationHasBeenSet =
true;
167 m_generation = value;
185 long long m_createdDate{0};
187 long long m_lastModifiedDate{0};
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;
bool DescriptionHasBeenSet() const
void SetCreatedDate(long long value)
bool GenerationHasBeenSet() const
bool CapacityLimitsHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
const Aws::String & GetName() const
UpdateCollectionGroupDetail & WithCreatedDate(long long value)
const Aws::String & GetDescription() const
long long GetCreatedDate() const
bool NameHasBeenSet() const
UpdateCollectionGroupDetail & WithCapacityLimits(CapacityLimitsT &&value)
void SetGeneration(ServerlessGeneration value)
const Aws::String & GetId() const
void SetName(NameT &&value)
bool ArnHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupDetail(Aws::Utils::Json::JsonView jsonValue)
UpdateCollectionGroupDetail & WithDescription(DescriptionT &&value)
UpdateCollectionGroupDetail & WithArn(ArnT &&value)
void SetDescription(DescriptionT &&value)
UpdateCollectionGroupDetail & WithLastModifiedDate(long long value)
void SetCapacityLimits(CapacityLimitsT &&value)
UpdateCollectionGroupDetail & WithName(NameT &&value)
bool LastModifiedDateHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionGroupDetail()=default
void SetLastModifiedDate(long long value)
ServerlessGeneration GetGeneration() const
const CollectionGroupCapacityLimits & GetCapacityLimits() const
bool IdHasBeenSet() const
void SetArn(ArnT &&value)
long long GetLastModifiedDate() const
bool CreatedDateHasBeenSet() const
UpdateCollectionGroupDetail & WithId(IdT &&value)
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