AWS SDK for C++  1.9.18
AWS SDK for C++
CreateFieldLevelEncryptionConfig2020_05_31Request.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CloudFront
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "CreateFieldLevelEncryptionConfig"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const FieldLevelEncryptionConfig& GetFieldLevelEncryptionConfig() const{ return m_fieldLevelEncryptionConfig; }
39 
43  inline bool FieldLevelEncryptionConfigHasBeenSet() const { return m_fieldLevelEncryptionConfigHasBeenSet; }
44 
48  inline void SetFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig& value) { m_fieldLevelEncryptionConfigHasBeenSet = true; m_fieldLevelEncryptionConfig = value; }
49 
53  inline void SetFieldLevelEncryptionConfig(FieldLevelEncryptionConfig&& value) { m_fieldLevelEncryptionConfigHasBeenSet = true; m_fieldLevelEncryptionConfig = std::move(value); }
54 
58  inline CreateFieldLevelEncryptionConfig2020_05_31Request& WithFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig& value) { SetFieldLevelEncryptionConfig(value); return *this;}
59 
63  inline CreateFieldLevelEncryptionConfig2020_05_31Request& WithFieldLevelEncryptionConfig(FieldLevelEncryptionConfig&& value) { SetFieldLevelEncryptionConfig(std::move(value)); return *this;}
64 
65  private:
66 
67  FieldLevelEncryptionConfig m_fieldLevelEncryptionConfig;
68  bool m_fieldLevelEncryptionConfigHasBeenSet;
69  };
70 
71 } // namespace Model
72 } // namespace CloudFront
73 } // namespace Aws
CloudFrontRequest.h
Aws::CloudFront::Model::CreateFieldLevelEncryptionConfig2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateFieldLevelEncryptionConfig2020_05_31Request.h:30
Aws::CloudFront::Model::CreateFieldLevelEncryptionConfig2020_05_31Request::SetFieldLevelEncryptionConfig
void SetFieldLevelEncryptionConfig(FieldLevelEncryptionConfig &&value)
Definition: CreateFieldLevelEncryptionConfig2020_05_31Request.h:53
Aws::CloudFront::Model::CreateFieldLevelEncryptionConfig2020_05_31Request::FieldLevelEncryptionConfigHasBeenSet
bool FieldLevelEncryptionConfigHasBeenSet() const
Definition: CreateFieldLevelEncryptionConfig2020_05_31Request.h:43
Aws::CloudFront::Model::CreateFieldLevelEncryptionConfig2020_05_31Request::SetFieldLevelEncryptionConfig
void SetFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig &value)
Definition: CreateFieldLevelEncryptionConfig2020_05_31Request.h:48
Aws::CloudFront::Model::CreateFieldLevelEncryptionConfig2020_05_31Request::WithFieldLevelEncryptionConfig
CreateFieldLevelEncryptionConfig2020_05_31Request & WithFieldLevelEncryptionConfig(const FieldLevelEncryptionConfig &value)
Definition: CreateFieldLevelEncryptionConfig2020_05_31Request.h:58
Aws::CloudFront::Model::CreateFieldLevelEncryptionConfig2020_05_31Request::CreateFieldLevelEncryptionConfig2020_05_31Request
CreateFieldLevelEncryptionConfig2020_05_31Request()
Aws::CloudFront::Model::CreateFieldLevelEncryptionConfig2020_05_31Request::WithFieldLevelEncryptionConfig
CreateFieldLevelEncryptionConfig2020_05_31Request & WithFieldLevelEncryptionConfig(FieldLevelEncryptionConfig &&value)
Definition: CreateFieldLevelEncryptionConfig2020_05_31Request.h:63
Aws::CloudFront::Model::CreateFieldLevelEncryptionConfig2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::CreateFieldLevelEncryptionConfig2020_05_31Request::GetFieldLevelEncryptionConfig
const FieldLevelEncryptionConfig & GetFieldLevelEncryptionConfig() const
Definition: CreateFieldLevelEncryptionConfig2020_05_31Request.h:38
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
FieldLevelEncryptionConfig.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::FieldLevelEncryptionConfig
Definition: FieldLevelEncryptionConfig.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::CreateFieldLevelEncryptionConfig2020_05_31Request
Definition: CreateFieldLevelEncryptionConfig2020_05_31Request.h:22