AWS SDK for C++  1.9.66
AWS SDK for C++
CreateDistributionWithTags2020_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 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateDistributionWithTags"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const DistributionConfigWithTags& GetDistributionConfigWithTags() const{ return m_distributionConfigWithTags; }
43 
47  inline bool DistributionConfigWithTagsHasBeenSet() const { return m_distributionConfigWithTagsHasBeenSet; }
48 
52  inline void SetDistributionConfigWithTags(const DistributionConfigWithTags& value) { m_distributionConfigWithTagsHasBeenSet = true; m_distributionConfigWithTags = value; }
53 
57  inline void SetDistributionConfigWithTags(DistributionConfigWithTags&& value) { m_distributionConfigWithTagsHasBeenSet = true; m_distributionConfigWithTags = std::move(value); }
58 
62  inline CreateDistributionWithTags2020_05_31Request& WithDistributionConfigWithTags(const DistributionConfigWithTags& value) { SetDistributionConfigWithTags(value); return *this;}
63 
67  inline CreateDistributionWithTags2020_05_31Request& WithDistributionConfigWithTags(DistributionConfigWithTags&& value) { SetDistributionConfigWithTags(std::move(value)); return *this;}
68 
69  private:
70 
71  DistributionConfigWithTags m_distributionConfigWithTags;
72  bool m_distributionConfigWithTagsHasBeenSet;
73  };
74 
75 } // namespace Model
76 } // namespace CloudFront
77 } // namespace Aws
Aws::CloudFront::Model::CreateDistributionWithTags2020_05_31Request::CreateDistributionWithTags2020_05_31Request
CreateDistributionWithTags2020_05_31Request()
CloudFrontRequest.h
Aws::CloudFront::Model::CreateDistributionWithTags2020_05_31Request::SetDistributionConfigWithTags
void SetDistributionConfigWithTags(DistributionConfigWithTags &&value)
Definition: CreateDistributionWithTags2020_05_31Request.h:57
Aws::CloudFront::Model::DistributionConfigWithTags
Definition: DistributionConfigWithTags.h:33
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::CreateDistributionWithTags2020_05_31Request::WithDistributionConfigWithTags
CreateDistributionWithTags2020_05_31Request & WithDistributionConfigWithTags(const DistributionConfigWithTags &value)
Definition: CreateDistributionWithTags2020_05_31Request.h:62
Aws::CloudFront::Model::CreateDistributionWithTags2020_05_31Request
Definition: CreateDistributionWithTags2020_05_31Request.h:26
CloudFront_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::CreateDistributionWithTags2020_05_31Request::WithDistributionConfigWithTags
CreateDistributionWithTags2020_05_31Request & WithDistributionConfigWithTags(DistributionConfigWithTags &&value)
Definition: CreateDistributionWithTags2020_05_31Request.h:67
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::CreateDistributionWithTags2020_05_31Request::SetDistributionConfigWithTags
void SetDistributionConfigWithTags(const DistributionConfigWithTags &value)
Definition: CreateDistributionWithTags2020_05_31Request.h:52
Aws::CloudFront::Model::CreateDistributionWithTags2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::CreateDistributionWithTags2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDistributionWithTags2020_05_31Request.h:34
DistributionConfigWithTags.h
Aws::CloudFront::Model::CreateDistributionWithTags2020_05_31Request::GetDistributionConfigWithTags
const DistributionConfigWithTags & GetDistributionConfigWithTags() const
Definition: CreateDistributionWithTags2020_05_31Request.h:42
Aws::CloudFront::Model::CreateDistributionWithTags2020_05_31Request::DistributionConfigWithTagsHasBeenSet
bool DistributionConfigWithTagsHasBeenSet() const
Definition: CreateDistributionWithTags2020_05_31Request.h:47