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>
23namespace OpenSearchServerless
49 template<
typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
51 template<
typename IdT = Aws::String>
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
93 template<
typename DescriptionT = Aws::String>
94 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
95 template<
typename DescriptionT = Aws::String>
105 template<
typename ArnT = Aws::String>
106 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
107 template<
typename ArnT = Aws::String>
117 inline void SetCreatedDate(
long long value) { m_createdDateHasBeenSet =
true; m_createdDate = value; }
127 inline void SetLastModifiedDate(
long long value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = value; }
133 bool m_idHasBeenSet =
false;
136 bool m_nameHasBeenSet =
false;
139 bool m_statusHasBeenSet =
false;
142 bool m_typeHasBeenSet =
false;
145 bool m_descriptionHasBeenSet =
false;
148 bool m_arnHasBeenSet =
false;
150 long long m_createdDate{0};
151 bool m_createdDateHasBeenSet =
false;
153 long long m_lastModifiedDate{0};
154 bool m_lastModifiedDateHasBeenSet =
false;
void SetName(NameT &&value)
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ArnHasBeenSet() const
CollectionType GetType() const
const Aws::String & GetName() const
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
bool LastModifiedDateHasBeenSet() const
UpdateCollectionDetail & WithLastModifiedDate(long long value)
bool CreatedDateHasBeenSet() const
UpdateCollectionDetail & WithType(CollectionType value)
UpdateCollectionDetail & WithName(NameT &&value)
void SetArn(ArnT &&value)
bool StatusHasBeenSet() const
bool NameHasBeenSet() const
void SetCreatedDate(long long value)
long long GetCreatedDate() const
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionDetail()=default
UpdateCollectionDetail & WithId(IdT &&value)
void SetDescription(DescriptionT &&value)
UpdateCollectionDetail & WithStatus(CollectionStatus value)
bool IdHasBeenSet() const
UpdateCollectionDetail & WithCreatedDate(long long value)
const Aws::String & GetArn() const
UpdateCollectionDetail & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
CollectionStatus GetStatus() const
void SetType(CollectionType value)
bool DescriptionHasBeenSet() const
void SetLastModifiedDate(long long value)
void SetStatus(CollectionStatus value)
long long GetLastModifiedDate() const
UpdateCollectionDetail & WithArn(ArnT &&value)
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue