7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
9#include <aws/opensearchserverless/model/CollectionGroupCapacityLimits.h>
20namespace OpenSearchServerless {
41 template <
typename IdT = Aws::String>
43 m_idHasBeenSet =
true;
44 m_id = std::forward<IdT>(value);
46 template <
typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
59 template <
typename ArnT = Aws::String>
61 m_arnHasBeenSet =
true;
62 m_arn = std::forward<ArnT>(value);
64 template <
typename ArnT = Aws::String>
66 SetArn(std::forward<ArnT>(value));
77 template <
typename NameT = Aws::String>
79 m_nameHasBeenSet =
true;
80 m_name = std::forward<NameT>(value);
82 template <
typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
96 m_numberOfCollectionsHasBeenSet =
true;
97 m_numberOfCollections = value;
112 m_createdDateHasBeenSet =
true;
113 m_createdDate = value;
125 template <
typename CapacityLimitsT = CollectionGroupCapacityLimits>
127 m_capacityLimitsHasBeenSet =
true;
128 m_capacityLimits = std::forward<CapacityLimitsT>(value);
130 template <
typename CapacityLimitsT = CollectionGroupCapacityLimits>
143 int m_numberOfCollections{0};
145 long long m_createdDate{0};
147 CollectionGroupCapacityLimits m_capacityLimits;
148 bool m_idHasBeenSet =
false;
149 bool m_arnHasBeenSet =
false;
150 bool m_nameHasBeenSet =
false;
151 bool m_numberOfCollectionsHasBeenSet =
false;
152 bool m_createdDateHasBeenSet =
false;
153 bool m_capacityLimitsHasBeenSet =
false;
long long GetCreatedDate() const
const CollectionGroupCapacityLimits & GetCapacityLimits() const
bool IdHasBeenSet() const
bool CreatedDateHasBeenSet() const
CollectionGroupSummary & WithArn(ArnT &&value)
bool ArnHasBeenSet() 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
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 & WithCapacityLimits(CapacityLimitsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue