AWS SDK for C++  1.9.16
AWS SDK for C++
CreateStreamingDistributionWithTags2020_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 "CreateStreamingDistributionWithTags"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const StreamingDistributionConfigWithTags& GetStreamingDistributionConfigWithTags() const{ return m_streamingDistributionConfigWithTags; }
43 
47  inline bool StreamingDistributionConfigWithTagsHasBeenSet() const { return m_streamingDistributionConfigWithTagsHasBeenSet; }
48 
52  inline void SetStreamingDistributionConfigWithTags(const StreamingDistributionConfigWithTags& value) { m_streamingDistributionConfigWithTagsHasBeenSet = true; m_streamingDistributionConfigWithTags = value; }
53 
57  inline void SetStreamingDistributionConfigWithTags(StreamingDistributionConfigWithTags&& value) { m_streamingDistributionConfigWithTagsHasBeenSet = true; m_streamingDistributionConfigWithTags = std::move(value); }
58 
62  inline CreateStreamingDistributionWithTags2020_05_31Request& WithStreamingDistributionConfigWithTags(const StreamingDistributionConfigWithTags& value) { SetStreamingDistributionConfigWithTags(value); return *this;}
63 
67  inline CreateStreamingDistributionWithTags2020_05_31Request& WithStreamingDistributionConfigWithTags(StreamingDistributionConfigWithTags&& value) { SetStreamingDistributionConfigWithTags(std::move(value)); return *this;}
68 
69  private:
70 
71  StreamingDistributionConfigWithTags m_streamingDistributionConfigWithTags;
72  bool m_streamingDistributionConfigWithTagsHasBeenSet;
73  };
74 
75 } // namespace Model
76 } // namespace CloudFront
77 } // namespace Aws
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Request::SetStreamingDistributionConfigWithTags
void SetStreamingDistributionConfigWithTags(StreamingDistributionConfigWithTags &&value)
Definition: CreateStreamingDistributionWithTags2020_05_31Request.h:57
CloudFrontRequest.h
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateStreamingDistributionWithTags2020_05_31Request.h:34
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Request
Definition: CreateStreamingDistributionWithTags2020_05_31Request.h:26
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Request::WithStreamingDistributionConfigWithTags
CreateStreamingDistributionWithTags2020_05_31Request & WithStreamingDistributionConfigWithTags(const StreamingDistributionConfigWithTags &value)
Definition: CreateStreamingDistributionWithTags2020_05_31Request.h:62
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Request::CreateStreamingDistributionWithTags2020_05_31Request
CreateStreamingDistributionWithTags2020_05_31Request()
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Request::WithStreamingDistributionConfigWithTags
CreateStreamingDistributionWithTags2020_05_31Request & WithStreamingDistributionConfigWithTags(StreamingDistributionConfigWithTags &&value)
Definition: CreateStreamingDistributionWithTags2020_05_31Request.h:67
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
StreamingDistributionConfigWithTags.h
CloudFront_EXPORTS.h
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Request::StreamingDistributionConfigWithTagsHasBeenSet
bool StreamingDistributionConfigWithTagsHasBeenSet() const
Definition: CreateStreamingDistributionWithTags2020_05_31Request.h:47
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::StreamingDistributionConfigWithTags
Definition: StreamingDistributionConfigWithTags.h:33
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Request::SetStreamingDistributionConfigWithTags
void SetStreamingDistributionConfigWithTags(const StreamingDistributionConfigWithTags &value)
Definition: CreateStreamingDistributionWithTags2020_05_31Request.h:52
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::CreateStreamingDistributionWithTags2020_05_31Request::GetStreamingDistributionConfigWithTags
const StreamingDistributionConfigWithTags & GetStreamingDistributionConfigWithTags() const
Definition: CreateStreamingDistributionWithTags2020_05_31Request.h:42