AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VectorBucketSummary.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 VectorBucketSummary() = default;
38 AWS_S3VECTORS_API VectorBucketSummary(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 VectorBucketSummary& WithVectorBucketName(VectorBucketNameT&& value) { SetVectorBucketName(std::forward<VectorBucketNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetVectorBucketArn() const { return m_vectorBucketArn; }
60 inline bool VectorBucketArnHasBeenSet() const { return m_vectorBucketArnHasBeenSet; }
61 template<typename VectorBucketArnT = Aws::String>
62 void SetVectorBucketArn(VectorBucketArnT&& value) { m_vectorBucketArnHasBeenSet = true; m_vectorBucketArn = std::forward<VectorBucketArnT>(value); }
63 template<typename VectorBucketArnT = Aws::String>
64 VectorBucketSummary& WithVectorBucketArn(VectorBucketArnT&& value) { SetVectorBucketArn(std::forward<VectorBucketArnT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
72 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
73 template<typename CreationTimeT = Aws::Utils::DateTime>
74 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
75 template<typename CreationTimeT = Aws::Utils::DateTime>
76 VectorBucketSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
78 private:
79
80 Aws::String m_vectorBucketName;
81 bool m_vectorBucketNameHasBeenSet = false;
82
83 Aws::String m_vectorBucketArn;
84 bool m_vectorBucketArnHasBeenSet = false;
85
86 Aws::Utils::DateTime m_creationTime{};
87 bool m_creationTimeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace S3Vectors
92} // namespace Aws
VectorBucketSummary & WithVectorBucketArn(VectorBucketArnT &&value)
AWS_S3VECTORS_API VectorBucketSummary()=default
void SetVectorBucketName(VectorBucketNameT &&value)
AWS_S3VECTORS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_S3VECTORS_API VectorBucketSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
VectorBucketSummary & WithCreationTime(CreationTimeT &&value)
VectorBucketSummary & WithVectorBucketName(VectorBucketNameT &&value)
const Aws::String & GetVectorBucketName() const
AWS_S3VECTORS_API VectorBucketSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
void SetVectorBucketArn(VectorBucketArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue