7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/model/CollectionStatus.h>
10#include <aws/opensearchserverless/model/CollectionType.h>
11#include <aws/opensearchserverless/model/StandbyReplicas.h>
24namespace OpenSearchServerless
50 template<
typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
52 template<
typename IdT = Aws::String>
62 template<
typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
64 template<
typename NameT = Aws::String>
94 template<
typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
96 template<
typename DescriptionT = Aws::String>
106 template<
typename ArnT = Aws::String>
107 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
108 template<
typename ArnT = Aws::String>
119 template<
typename KmsKeyArnT = Aws::String>
120 void SetKmsKeyArn(KmsKeyArnT&& value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn = std::forward<KmsKeyArnT>(value); }
121 template<
typename KmsKeyArnT = Aws::String>
141 inline void SetCreatedDate(
long long value) { m_createdDateHasBeenSet =
true; m_createdDate = value; }
151 inline void SetLastModifiedDate(
long long value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = value; }
157 bool m_idHasBeenSet =
false;
160 bool m_nameHasBeenSet =
false;
163 bool m_statusHasBeenSet =
false;
166 bool m_typeHasBeenSet =
false;
169 bool m_descriptionHasBeenSet =
false;
172 bool m_arnHasBeenSet =
false;
175 bool m_kmsKeyArnHasBeenSet =
false;
178 bool m_standbyReplicasHasBeenSet =
false;
180 long long m_createdDate{0};
181 bool m_createdDateHasBeenSet =
false;
183 long long m_lastModifiedDate{0};
184 bool m_lastModifiedDateHasBeenSet =
false;
bool LastModifiedDateHasBeenSet() const
CollectionType GetType() const
CreateCollectionDetail & WithId(IdT &&value)
CreateCollectionDetail & WithArn(ArnT &&value)
const Aws::String & GetName() const
CreateCollectionDetail & WithKmsKeyArn(KmsKeyArnT &&value)
CreateCollectionDetail & WithLastModifiedDate(long long value)
AWS_OPENSEARCHSERVERLESS_API CreateCollectionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
const Aws::String & GetKmsKeyArn() const
CollectionStatus GetStatus() const
CreateCollectionDetail & WithDescription(DescriptionT &&value)
bool NameHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArn(ArnT &&value)
void SetDescription(DescriptionT &&value)
StandbyReplicas GetStandbyReplicas() const
bool StandbyReplicasHasBeenSet() const
bool ArnHasBeenSet() const
CreateCollectionDetail & WithStandbyReplicas(StandbyReplicas value)
bool StatusHasBeenSet() const
bool CreatedDateHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetId() const
const Aws::String & GetArn() const
void SetLastModifiedDate(long long value)
bool KmsKeyArnHasBeenSet() const
CreateCollectionDetail & WithCreatedDate(long long value)
CreateCollectionDetail & WithName(NameT &&value)
bool IdHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API CreateCollectionDetail(Aws::Utils::Json::JsonView jsonValue)
void SetType(CollectionType value)
void SetStatus(CollectionStatus value)
AWS_OPENSEARCHSERVERLESS_API CreateCollectionDetail()=default
bool DescriptionHasBeenSet() const
void SetCreatedDate(long long value)
CreateCollectionDetail & WithType(CollectionType value)
void SetStandbyReplicas(StandbyReplicas value)
long long GetCreatedDate() const
long long GetLastModifiedDate() const
void SetKmsKeyArn(KmsKeyArnT &&value)
CreateCollectionDetail & WithStatus(CollectionStatus value)
bool TypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue