AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IndexSummary.h
1
6#pragma once
7#include <aws/s3vectors/S3Vectors_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace S3Vectors
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_S3VECTORS_API IndexSummary() = default;
38 AWS_S3VECTORS_API IndexSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_S3VECTORS_API IndexSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_S3VECTORS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetVectorBucketName() const { return m_vectorBucketName; }
48 inline bool VectorBucketNameHasBeenSet() const { return m_vectorBucketNameHasBeenSet; }
49 template<typename VectorBucketNameT = Aws::String>
50 void SetVectorBucketName(VectorBucketNameT&& value) { m_vectorBucketNameHasBeenSet = true; m_vectorBucketName = std::forward<VectorBucketNameT>(value); }
51 template<typename VectorBucketNameT = Aws::String>
52 IndexSummary& WithVectorBucketName(VectorBucketNameT&& value) { SetVectorBucketName(std::forward<VectorBucketNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetIndexName() const { return m_indexName; }
60 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
61 template<typename IndexNameT = Aws::String>
62 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
63 template<typename IndexNameT = Aws::String>
64 IndexSummary& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetIndexArn() const { return m_indexArn; }
72 inline bool IndexArnHasBeenSet() const { return m_indexArnHasBeenSet; }
73 template<typename IndexArnT = Aws::String>
74 void SetIndexArn(IndexArnT&& value) { m_indexArnHasBeenSet = true; m_indexArn = std::forward<IndexArnT>(value); }
75 template<typename IndexArnT = Aws::String>
76 IndexSummary& WithIndexArn(IndexArnT&& value) { SetIndexArn(std::forward<IndexArnT>(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
84 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
85 template<typename CreationTimeT = Aws::Utils::DateTime>
86 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
87 template<typename CreationTimeT = Aws::Utils::DateTime>
88 IndexSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
90 private:
91
92 Aws::String m_vectorBucketName;
93 bool m_vectorBucketNameHasBeenSet = false;
94
95 Aws::String m_indexName;
96 bool m_indexNameHasBeenSet = false;
97
98 Aws::String m_indexArn;
99 bool m_indexArnHasBeenSet = false;
100
101 Aws::Utils::DateTime m_creationTime{};
102 bool m_creationTimeHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace S3Vectors
107} // 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