AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
VectorBucketSummary.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 VectorBucketSummary() = default;
31 AWS_S3VECTORS_API VectorBucketSummary(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 VectorBucketSummary& WithVectorBucketName(VectorBucketNameT&& value) {
48 SetVectorBucketName(std::forward<VectorBucketNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetVectorBucketArn() const { return m_vectorBucketArn; }
58 inline bool VectorBucketArnHasBeenSet() const { return m_vectorBucketArnHasBeenSet; }
59 template <typename VectorBucketArnT = Aws::String>
60 void SetVectorBucketArn(VectorBucketArnT&& value) {
61 m_vectorBucketArnHasBeenSet = true;
62 m_vectorBucketArn = std::forward<VectorBucketArnT>(value);
63 }
64 template <typename VectorBucketArnT = Aws::String>
65 VectorBucketSummary& WithVectorBucketArn(VectorBucketArnT&& value) {
66 SetVectorBucketArn(std::forward<VectorBucketArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
76 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
77 template <typename CreationTimeT = Aws::Utils::DateTime>
78 void SetCreationTime(CreationTimeT&& value) {
79 m_creationTimeHasBeenSet = true;
80 m_creationTime = std::forward<CreationTimeT>(value);
81 }
82 template <typename CreationTimeT = Aws::Utils::DateTime>
83 VectorBucketSummary& WithCreationTime(CreationTimeT&& value) {
84 SetCreationTime(std::forward<CreationTimeT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_vectorBucketName;
90
91 Aws::String m_vectorBucketArn;
92
93 Aws::Utils::DateTime m_creationTime{};
94 bool m_vectorBucketNameHasBeenSet = false;
95 bool m_vectorBucketArnHasBeenSet = false;
96 bool m_creationTimeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace S3Vectors
101} // 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