AWS SDK for C++  1.9.16
AWS SDK for C++
CreateCloudFrontOriginAccessIdentity2020_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 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "CreateCloudFrontOriginAccessIdentity"; }
40 
41  Aws::String SerializePayload() const override;
42 
43 
47  inline const CloudFrontOriginAccessIdentityConfig& GetCloudFrontOriginAccessIdentityConfig() const{ return m_cloudFrontOriginAccessIdentityConfig; }
48 
52  inline bool CloudFrontOriginAccessIdentityConfigHasBeenSet() const { return m_cloudFrontOriginAccessIdentityConfigHasBeenSet; }
53 
57  inline void SetCloudFrontOriginAccessIdentityConfig(const CloudFrontOriginAccessIdentityConfig& value) { m_cloudFrontOriginAccessIdentityConfigHasBeenSet = true; m_cloudFrontOriginAccessIdentityConfig = value; }
58 
62  inline void SetCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig&& value) { m_cloudFrontOriginAccessIdentityConfigHasBeenSet = true; m_cloudFrontOriginAccessIdentityConfig = std::move(value); }
63 
67  inline CreateCloudFrontOriginAccessIdentity2020_05_31Request& WithCloudFrontOriginAccessIdentityConfig(const CloudFrontOriginAccessIdentityConfig& value) { SetCloudFrontOriginAccessIdentityConfig(value); return *this;}
68 
72  inline CreateCloudFrontOriginAccessIdentity2020_05_31Request& WithCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig&& value) { SetCloudFrontOriginAccessIdentityConfig(std::move(value)); return *this;}
73 
74  private:
75 
76  CloudFrontOriginAccessIdentityConfig m_cloudFrontOriginAccessIdentityConfig;
77  bool m_cloudFrontOriginAccessIdentityConfigHasBeenSet;
78  };
79 
80 } // namespace Model
81 } // namespace CloudFront
82 } // namespace Aws
Aws::CloudFront::Model::CreateCloudFrontOriginAccessIdentity2020_05_31Request
Definition: CreateCloudFrontOriginAccessIdentity2020_05_31Request.h:31
Aws::CloudFront::Model::CreateCloudFrontOriginAccessIdentity2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateCloudFrontOriginAccessIdentity2020_05_31Request.h:39
CloudFrontRequest.h
Aws::CloudFront::Model::CreateCloudFrontOriginAccessIdentity2020_05_31Request::WithCloudFrontOriginAccessIdentityConfig
CreateCloudFrontOriginAccessIdentity2020_05_31Request & WithCloudFrontOriginAccessIdentityConfig(const CloudFrontOriginAccessIdentityConfig &value)
Definition: CreateCloudFrontOriginAccessIdentity2020_05_31Request.h:67
Aws::CloudFront::Model::CreateCloudFrontOriginAccessIdentity2020_05_31Request::SetCloudFrontOriginAccessIdentityConfig
void SetCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig &&value)
Definition: CreateCloudFrontOriginAccessIdentity2020_05_31Request.h:62
Aws::CloudFront::Model::CreateCloudFrontOriginAccessIdentity2020_05_31Request::WithCloudFrontOriginAccessIdentityConfig
CreateCloudFrontOriginAccessIdentity2020_05_31Request & WithCloudFrontOriginAccessIdentityConfig(CloudFrontOriginAccessIdentityConfig &&value)
Definition: CreateCloudFrontOriginAccessIdentity2020_05_31Request.h:72
Aws::CloudFront::Model::CreateCloudFrontOriginAccessIdentity2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::CreateCloudFrontOriginAccessIdentity2020_05_31Request::SetCloudFrontOriginAccessIdentityConfig
void SetCloudFrontOriginAccessIdentityConfig(const CloudFrontOriginAccessIdentityConfig &value)
Definition: CreateCloudFrontOriginAccessIdentity2020_05_31Request.h:57
Aws::CloudFront::Model::CreateCloudFrontOriginAccessIdentity2020_05_31Request::GetCloudFrontOriginAccessIdentityConfig
const CloudFrontOriginAccessIdentityConfig & GetCloudFrontOriginAccessIdentityConfig() const
Definition: CreateCloudFrontOriginAccessIdentity2020_05_31Request.h:47
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::CloudFrontOriginAccessIdentityConfig
Definition: CloudFrontOriginAccessIdentityConfig.h:33
Aws::CloudFront::Model::CreateCloudFrontOriginAccessIdentity2020_05_31Request::CreateCloudFrontOriginAccessIdentity2020_05_31Request
CreateCloudFrontOriginAccessIdentity2020_05_31Request()
CloudFront_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
CloudFrontOriginAccessIdentityConfig.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::CreateCloudFrontOriginAccessIdentity2020_05_31Request::CloudFrontOriginAccessIdentityConfigHasBeenSet
bool CloudFrontOriginAccessIdentityConfigHasBeenSet() const
Definition: CreateCloudFrontOriginAccessIdentity2020_05_31Request.h:52