AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PutTableBucketEncryptionRequest.h
1
6#pragma once
7#include <aws/s3tables/S3Tables_EXPORTS.h>
8#include <aws/s3tables/S3TablesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3tables/model/EncryptionConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace S3Tables
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_S3TABLES_API PutTableBucketEncryptionRequest() = 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 "PutTableBucketEncryption"; }
32
33 AWS_S3TABLES_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetTableBucketARN() const { return m_tableBucketARN; }
41 inline bool TableBucketARNHasBeenSet() const { return m_tableBucketARNHasBeenSet; }
42 template<typename TableBucketARNT = Aws::String>
43 void SetTableBucketARN(TableBucketARNT&& value) { m_tableBucketARNHasBeenSet = true; m_tableBucketARN = std::forward<TableBucketARNT>(value); }
44 template<typename TableBucketARNT = Aws::String>
45 PutTableBucketEncryptionRequest& WithTableBucketARN(TableBucketARNT&& value) { SetTableBucketARN(std::forward<TableBucketARNT>(value)); return *this;}
47
49
52 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
53 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
54 template<typename EncryptionConfigurationT = EncryptionConfiguration>
55 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
56 template<typename EncryptionConfigurationT = EncryptionConfiguration>
57 PutTableBucketEncryptionRequest& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
59 private:
60
61 Aws::String m_tableBucketARN;
62 bool m_tableBucketARNHasBeenSet = false;
63
64 EncryptionConfiguration m_encryptionConfiguration;
65 bool m_encryptionConfigurationHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace S3Tables
70} // 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