AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
PutTableBucketEncryptionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3tables/S3TablesRequest.h>
9#include <aws/s3tables/S3Tables_EXPORTS.h>
10#include <aws/s3tables/model/EncryptionConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace S3Tables {
16namespace Model {
17
21 public:
22 AWS_S3TABLES_API PutTableBucketEncryptionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "PutTableBucketEncryption"; }
29
30 AWS_S3TABLES_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetTableBucketARN() const { return m_tableBucketARN; }
37 inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; }
38 template <typename TableBucketARNT = Aws::String>
39 void SetTableBucketARN(TableBucketARNT&& value) {
40 m_tableBucketARNHasBeenSet = true;
41 m_tableBucketARN = std::forward<TableBucketARNT>(value);
42 }
43 template <typename TableBucketARNT = Aws::String>
45 SetTableBucketARN(std::forward<TableBucketARNT>(value));
46 return *this;
47 }
49
51
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) {
58 m_encryptionConfigurationHasBeenSet = true;
59 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
60 }
61 template <typename EncryptionConfigurationT = EncryptionConfiguration>
63 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_tableBucketARN;
69
70 EncryptionConfiguration m_encryptionConfiguration;
71 bool m_tableBucketARNHasBeenSet = false;
72 bool m_encryptionConfigurationHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace S3Tables
77} // namespace Aws
PutTableBucketEncryptionRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_S3TABLES_API Aws::String SerializePayload() const override
AWS_S3TABLES_API PutTableBucketEncryptionRequest()=default
PutTableBucketEncryptionRequest & WithTableBucketARN(TableBucketARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String