7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
9#include <aws/opensearchserverless/model/CollectionStatus.h>
10#include <aws/opensearchserverless/model/CollectionType.h>
21namespace OpenSearchServerless {
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
80 m_statusHasBeenSet =
true;
96 m_typeHasBeenSet =
true;
111 template <
typename DescriptionT = Aws::String>
113 m_descriptionHasBeenSet =
true;
114 m_description = std::forward<DescriptionT>(value);
116 template <
typename DescriptionT = Aws::String>
129 template <
typename ArnT = Aws::String>
131 m_arnHasBeenSet =
true;
132 m_arn = std::forward<ArnT>(value);
134 template <
typename ArnT = Aws::String>
136 SetArn(std::forward<ArnT>(value));
148 m_createdDateHasBeenSet =
true;
149 m_createdDate = value;
164 m_lastModifiedDateHasBeenSet =
true;
165 m_lastModifiedDate = value;
185 long long m_createdDate{0};
187 long long m_lastModifiedDate{0};
188 bool m_idHasBeenSet =
false;
189 bool m_nameHasBeenSet =
false;
190 bool m_statusHasBeenSet =
false;
191 bool m_typeHasBeenSet =
false;
192 bool m_descriptionHasBeenSet =
false;
193 bool m_arnHasBeenSet =
false;
194 bool m_createdDateHasBeenSet =
false;
195 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