AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateVectorBucketRequest.h
1
6#pragma once
7#include <aws/s3vectors/S3Vectors_EXPORTS.h>
8#include <aws/s3vectors/S3VectorsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3vectors/model/EncryptionConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace S3Vectors
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_S3VECTORS_API CreateVectorBucketRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateVectorBucket"; }
32
33 AWS_S3VECTORS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetVectorBucketName() const { return m_vectorBucketName; }
41 inline bool VectorBucketNameHasBeenSet() const { return m_vectorBucketNameHasBeenSet; }
42 template<typename VectorBucketNameT = Aws::String>
43 void SetVectorBucketName(VectorBucketNameT&& value) { m_vectorBucketNameHasBeenSet = true; m_vectorBucketName = std::forward<VectorBucketNameT>(value); }
44 template<typename VectorBucketNameT = Aws::String>
45 CreateVectorBucketRequest& WithVectorBucketName(VectorBucketNameT&& value) { SetVectorBucketName(std::forward<VectorBucketNameT>(value)); return *this;}
47
49
54 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
55 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
56 template<typename EncryptionConfigurationT = EncryptionConfiguration>
57 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
58 template<typename EncryptionConfigurationT = EncryptionConfiguration>
59 CreateVectorBucketRequest& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
61 private:
62
63 Aws::String m_vectorBucketName;
64 bool m_vectorBucketNameHasBeenSet = false;
65
66 EncryptionConfiguration m_encryptionConfiguration;
67 bool m_encryptionConfigurationHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace S3Vectors
72} // namespace Aws
CreateVectorBucketRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_S3VECTORS_API Aws::String SerializePayload() const override
AWS_S3VECTORS_API CreateVectorBucketRequest()=default
const EncryptionConfiguration & GetEncryptionConfiguration() const
CreateVectorBucketRequest & WithVectorBucketName(VectorBucketNameT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String