AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
IndexSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3vectors/S3Vectors_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace S3Vectors {
21namespace Model {
22
29 public:
30 AWS_S3VECTORS_API IndexSummary() = default;
31 AWS_S3VECTORS_API IndexSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_S3VECTORS_API IndexSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_S3VECTORS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetVectorBucketName() const { return m_vectorBucketName; }
40 inline bool VectorBucketNameHasBeenSet() const { return m_vectorBucketNameHasBeenSet; }
41 template <typename VectorBucketNameT = Aws::String>
42 void SetVectorBucketName(VectorBucketNameT&& value) {
43 m_vectorBucketNameHasBeenSet = true;
44 m_vectorBucketName = std::forward<VectorBucketNameT>(value);
45 }
46 template <typename VectorBucketNameT = Aws::String>
47 IndexSummary& WithVectorBucketName(VectorBucketNameT&& value) {
48 SetVectorBucketName(std::forward<VectorBucketNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetIndexName() const { return m_indexName; }
58 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
59 template <typename IndexNameT = Aws::String>
60 void SetIndexName(IndexNameT&& value) {
61 m_indexNameHasBeenSet = true;
62 m_indexName = std::forward<IndexNameT>(value);
63 }
64 template <typename IndexNameT = Aws::String>
65 IndexSummary& WithIndexName(IndexNameT&& value) {
66 SetIndexName(std::forward<IndexNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetIndexArn() const { return m_indexArn; }
76 inline bool IndexArnHasBeenSet() const { return m_indexArnHasBeenSet; }
77 template <typename IndexArnT = Aws::String>
78 void SetIndexArn(IndexArnT&& value) {
79 m_indexArnHasBeenSet = true;
80 m_indexArn = std::forward<IndexArnT>(value);
81 }
82 template <typename IndexArnT = Aws::String>
83 IndexSummary& WithIndexArn(IndexArnT&& value) {
84 SetIndexArn(std::forward<IndexArnT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
94 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
95 template <typename CreationTimeT = Aws::Utils::DateTime>
96 void SetCreationTime(CreationTimeT&& value) {
97 m_creationTimeHasBeenSet = true;
98 m_creationTime = std::forward<CreationTimeT>(value);
99 }
100 template <typename CreationTimeT = Aws::Utils::DateTime>
101 IndexSummary& WithCreationTime(CreationTimeT&& value) {
102 SetCreationTime(std::forward<CreationTimeT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_vectorBucketName;
108
109 Aws::String m_indexName;
110
111 Aws::String m_indexArn;
112
113 Aws::Utils::DateTime m_creationTime{};
114 bool m_vectorBucketNameHasBeenSet = false;
115 bool m_indexNameHasBeenSet = false;
116 bool m_indexArnHasBeenSet = false;
117 bool m_creationTimeHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace S3Vectors
122} // namespace Aws
const Aws::String & GetVectorBucketName() const
const Aws::Utils::DateTime & GetCreationTime() const
IndexSummary & WithCreationTime(CreationTimeT &&value)
AWS_S3VECTORS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_S3VECTORS_API IndexSummary()=default
AWS_S3VECTORS_API IndexSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetIndexName() const
void SetVectorBucketName(VectorBucketNameT &&value)
IndexSummary & WithIndexArn(IndexArnT &&value)
void SetIndexArn(IndexArnT &&value)
IndexSummary & WithIndexName(IndexNameT &&value)
IndexSummary & WithVectorBucketName(VectorBucketNameT &&value)
AWS_S3VECTORS_API IndexSummary(Aws::Utils::Json::JsonView jsonValue)
void SetIndexName(IndexNameT &&value)
const Aws::String & GetIndexArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue