AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateCollectionDetail.h
1
6#pragma once
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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace OpenSearchServerless
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_OPENSEARCHSERVERLESS_API UpdateCollectionDetail();
38 AWS_OPENSEARCHSERVERLESS_API UpdateCollectionDetail(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVERLESS_API UpdateCollectionDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline UpdateCollectionDetail& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline UpdateCollectionDetail& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline UpdateCollectionDetail& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline long long GetCreatedDate() const{ return m_createdDate; }
62 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
63 inline void SetCreatedDate(long long value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
64 inline UpdateCollectionDetail& WithCreatedDate(long long value) { SetCreatedDate(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
76 inline UpdateCollectionDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
77 inline UpdateCollectionDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline UpdateCollectionDetail& WithDescription(const char* value) { SetDescription(value); return *this;}
80
82
85 inline const Aws::String& GetId() const{ return m_id; }
86 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
87 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
88 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
89 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
90 inline UpdateCollectionDetail& WithId(const Aws::String& value) { SetId(value); return *this;}
91 inline UpdateCollectionDetail& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
92 inline UpdateCollectionDetail& WithId(const char* value) { SetId(value); return *this;}
94
96
99 inline long long GetLastModifiedDate() const{ return m_lastModifiedDate; }
100 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
101 inline void SetLastModifiedDate(long long value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
102 inline UpdateCollectionDetail& WithLastModifiedDate(long long value) { SetLastModifiedDate(value); return *this;}
104
106
109 inline const Aws::String& GetName() const{ return m_name; }
110 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
111 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
112 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
113 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
114 inline UpdateCollectionDetail& WithName(const Aws::String& value) { SetName(value); return *this;}
115 inline UpdateCollectionDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
116 inline UpdateCollectionDetail& WithName(const char* value) { SetName(value); return *this;}
118
120
123 inline const CollectionStatus& GetStatus() const{ return m_status; }
124 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
125 inline void SetStatus(const CollectionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
126 inline void SetStatus(CollectionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
127 inline UpdateCollectionDetail& WithStatus(const CollectionStatus& value) { SetStatus(value); return *this;}
128 inline UpdateCollectionDetail& WithStatus(CollectionStatus&& value) { SetStatus(std::move(value)); return *this;}
130
132
135 inline const CollectionType& GetType() const{ return m_type; }
136 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
137 inline void SetType(const CollectionType& value) { m_typeHasBeenSet = true; m_type = value; }
138 inline void SetType(CollectionType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
139 inline UpdateCollectionDetail& WithType(const CollectionType& value) { SetType(value); return *this;}
140 inline UpdateCollectionDetail& WithType(CollectionType&& value) { SetType(std::move(value)); return *this;}
142 private:
143
144 Aws::String m_arn;
145 bool m_arnHasBeenSet = false;
146
147 long long m_createdDate;
148 bool m_createdDateHasBeenSet = false;
149
150 Aws::String m_description;
151 bool m_descriptionHasBeenSet = false;
152
153 Aws::String m_id;
154 bool m_idHasBeenSet = false;
155
156 long long m_lastModifiedDate;
157 bool m_lastModifiedDateHasBeenSet = false;
158
159 Aws::String m_name;
160 bool m_nameHasBeenSet = false;
161
162 CollectionStatus m_status;
163 bool m_statusHasBeenSet = false;
164
165 CollectionType m_type;
166 bool m_typeHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace OpenSearchServerless
171} // namespace Aws
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateCollectionDetail & WithDescription(const Aws::String &value)
AWS_OPENSEARCHSERVERLESS_API UpdateCollectionDetail(Aws::Utils::Json::JsonView jsonValue)
UpdateCollectionDetail & WithArn(Aws::String &&value)
UpdateCollectionDetail & WithDescription(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateCollectionDetail & WithName(Aws::String &&value)
UpdateCollectionDetail & WithArn(const char *value)
UpdateCollectionDetail & WithId(const char *value)
UpdateCollectionDetail & WithLastModifiedDate(long long value)
UpdateCollectionDetail & WithName(const Aws::String &value)
UpdateCollectionDetail & WithDescription(const char *value)
UpdateCollectionDetail & WithStatus(const CollectionStatus &value)
UpdateCollectionDetail & WithId(const Aws::String &value)
UpdateCollectionDetail & WithCreatedDate(long long value)
UpdateCollectionDetail & WithId(Aws::String &&value)
UpdateCollectionDetail & WithType(const CollectionType &value)
UpdateCollectionDetail & WithName(const char *value)
UpdateCollectionDetail & WithArn(const Aws::String &value)
UpdateCollectionDetail & WithType(CollectionType &&value)
UpdateCollectionDetail & WithStatus(CollectionStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue