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));
97 m_numberOfCollectionsHasBeenSet =
true;
98 m_numberOfCollections = value;
113 m_createdDateHasBeenSet =
true;
114 m_createdDate = value;
126 template <
typename CapacityLimitsT = CollectionGroupCapacityLimits>
128 m_capacityLimitsHasBeenSet =
true;
129 m_capacityLimits = std::forward<CapacityLimitsT>(value);
131 template <
typename CapacityLimitsT = CollectionGroupCapacityLimits>
145 m_generationHasBeenSet =
true;
146 m_generation = value;
160 int m_numberOfCollections{0};
162 long long m_createdDate{0};
164 CollectionGroupCapacityLimits m_capacityLimits;
167 bool m_idHasBeenSet =
false;
168 bool m_arnHasBeenSet =
false;
169 bool m_nameHasBeenSet =
false;
170 bool m_numberOfCollectionsHasBeenSet =
false;
171 bool m_createdDateHasBeenSet =
false;
172 bool m_capacityLimitsHasBeenSet =
false;
173 bool m_generationHasBeenSet =
false;
long long GetCreatedDate() const
const CollectionGroupCapacityLimits & GetCapacityLimits() const
bool IdHasBeenSet() const
bool CreatedDateHasBeenSet() const
CollectionGroupSummary & WithArn(ArnT &&value)
bool ArnHasBeenSet() const
void SetGeneration(ServerlessGeneration value)
bool GenerationHasBeenSet() const
bool CapacityLimitsHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API CollectionGroupSummary(Aws::Utils::Json::JsonView jsonValue)
void SetNumberOfCollections(int value)
AWS_OPENSEARCHSERVERLESS_API CollectionGroupSummary()=default
bool NameHasBeenSet() const
ServerlessGeneration GetGeneration() const
void SetCapacityLimits(CapacityLimitsT &&value)
CollectionGroupSummary & WithNumberOfCollections(int value)
const Aws::String & GetArn() const
void SetName(NameT &&value)
AWS_OPENSEARCHSERVERLESS_API CollectionGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
CollectionGroupSummary & WithId(IdT &&value)
void SetCreatedDate(long long value)
const Aws::String & GetName() const
int GetNumberOfCollections() const
CollectionGroupSummary & WithCreatedDate(long long value)
CollectionGroupSummary & WithName(NameT &&value)
void SetArn(ArnT &&value)
bool NumberOfCollectionsHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
CollectionGroupSummary & WithGeneration(ServerlessGeneration value)
CollectionGroupSummary & WithCapacityLimits(CapacityLimitsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue