AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VectorBucket.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 <aws/s3vectors/model/EncryptionConfiguration.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 S3Vectors
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_S3VECTORS_API VectorBucket() = default;
39 AWS_S3VECTORS_API VectorBucket(Aws::Utils::Json::JsonView jsonValue);
40 AWS_S3VECTORS_API VectorBucket& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_S3VECTORS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetVectorBucketName() const { return m_vectorBucketName; }
49 inline bool VectorBucketNameHasBeenSet() const { return m_vectorBucketNameHasBeenSet; }
50 template<typename VectorBucketNameT = Aws::String>
51 void SetVectorBucketName(VectorBucketNameT&& value) { m_vectorBucketNameHasBeenSet = true; m_vectorBucketName = std::forward<VectorBucketNameT>(value); }
52 template<typename VectorBucketNameT = Aws::String>
53 VectorBucket& WithVectorBucketName(VectorBucketNameT&& value) { SetVectorBucketName(std::forward<VectorBucketNameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetVectorBucketArn() const { return m_vectorBucketArn; }
61 inline bool VectorBucketArnHasBeenSet() const { return m_vectorBucketArnHasBeenSet; }
62 template<typename VectorBucketArnT = Aws::String>
63 void SetVectorBucketArn(VectorBucketArnT&& value) { m_vectorBucketArnHasBeenSet = true; m_vectorBucketArn = std::forward<VectorBucketArnT>(value); }
64 template<typename VectorBucketArnT = Aws::String>
65 VectorBucket& WithVectorBucketArn(VectorBucketArnT&& value) { SetVectorBucketArn(std::forward<VectorBucketArnT>(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
73 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
74 template<typename CreationTimeT = Aws::Utils::DateTime>
75 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
76 template<typename CreationTimeT = Aws::Utils::DateTime>
77 VectorBucket& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
79
81
84 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
85 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
86 template<typename EncryptionConfigurationT = EncryptionConfiguration>
87 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
88 template<typename EncryptionConfigurationT = EncryptionConfiguration>
89 VectorBucket& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
91 private:
92
93 Aws::String m_vectorBucketName;
94 bool m_vectorBucketNameHasBeenSet = false;
95
96 Aws::String m_vectorBucketArn;
97 bool m_vectorBucketArnHasBeenSet = false;
98
99 Aws::Utils::DateTime m_creationTime{};
100 bool m_creationTimeHasBeenSet = false;
101
102 EncryptionConfiguration m_encryptionConfiguration;
103 bool m_encryptionConfigurationHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace S3Vectors
108} // namespace Aws
AWS_S3VECTORS_API VectorBucket()=default
void SetVectorBucketArn(VectorBucketArnT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_S3VECTORS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_S3VECTORS_API VectorBucket(Aws::Utils::Json::JsonView jsonValue)
VectorBucket & WithVectorBucketArn(VectorBucketArnT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
VectorBucket & WithVectorBucketName(VectorBucketNameT &&value)
const Aws::String & GetVectorBucketName() const
void SetVectorBucketName(VectorBucketNameT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
VectorBucket & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
const Aws::String & GetVectorBucketArn() const
VectorBucket & WithCreationTime(CreationTimeT &&value)
AWS_S3VECTORS_API VectorBucket & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue