AWS SDK for C++  1.9.20
AWS SDK for C++
CreateStreamingDistribution2020_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 "CreateStreamingDistribution"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const StreamingDistributionConfig& GetStreamingDistributionConfig() const{ return m_streamingDistributionConfig; }
43 
47  inline bool StreamingDistributionConfigHasBeenSet() const { return m_streamingDistributionConfigHasBeenSet; }
48 
52  inline void SetStreamingDistributionConfig(const StreamingDistributionConfig& value) { m_streamingDistributionConfigHasBeenSet = true; m_streamingDistributionConfig = value; }
53 
57  inline void SetStreamingDistributionConfig(StreamingDistributionConfig&& value) { m_streamingDistributionConfigHasBeenSet = true; m_streamingDistributionConfig = std::move(value); }
58 
62  inline CreateStreamingDistribution2020_05_31Request& WithStreamingDistributionConfig(const StreamingDistributionConfig& value) { SetStreamingDistributionConfig(value); return *this;}
63 
67  inline CreateStreamingDistribution2020_05_31Request& WithStreamingDistributionConfig(StreamingDistributionConfig&& value) { SetStreamingDistributionConfig(std::move(value)); return *this;}
68 
69  private:
70 
71  StreamingDistributionConfig m_streamingDistributionConfig;
72  bool m_streamingDistributionConfigHasBeenSet;
73  };
74 
75 } // namespace Model
76 } // namespace CloudFront
77 } // namespace Aws
Aws::CloudFront::Model::CreateStreamingDistribution2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateStreamingDistribution2020_05_31Request.h:34
CloudFrontRequest.h
Aws::CloudFront::Model::CreateStreamingDistribution2020_05_31Request::StreamingDistributionConfigHasBeenSet
bool StreamingDistributionConfigHasBeenSet() const
Definition: CreateStreamingDistribution2020_05_31Request.h:47
Aws::CloudFront::Model::CreateStreamingDistribution2020_05_31Request
Definition: CreateStreamingDistribution2020_05_31Request.h:26
Aws::CloudFront::Model::CreateStreamingDistribution2020_05_31Request::SetStreamingDistributionConfig
void SetStreamingDistributionConfig(const StreamingDistributionConfig &value)
Definition: CreateStreamingDistribution2020_05_31Request.h:52
StreamingDistributionConfig.h
Aws::CloudFront::Model::CreateStreamingDistribution2020_05_31Request::WithStreamingDistributionConfig
CreateStreamingDistribution2020_05_31Request & WithStreamingDistributionConfig(const StreamingDistributionConfig &value)
Definition: CreateStreamingDistribution2020_05_31Request.h:62
Aws::CloudFront::Model::CreateStreamingDistribution2020_05_31Request::CreateStreamingDistribution2020_05_31Request
CreateStreamingDistribution2020_05_31Request()
Aws::CloudFront::Model::CreateStreamingDistribution2020_05_31Request::GetStreamingDistributionConfig
const StreamingDistributionConfig & GetStreamingDistributionConfig() const
Definition: CreateStreamingDistribution2020_05_31Request.h:42
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::CreateStreamingDistribution2020_05_31Request::SetStreamingDistributionConfig
void SetStreamingDistributionConfig(StreamingDistributionConfig &&value)
Definition: CreateStreamingDistribution2020_05_31Request.h:57
Aws::CloudFront::Model::StreamingDistributionConfig
Definition: StreamingDistributionConfig.h:37
Aws::CloudFront::Model::CreateStreamingDistribution2020_05_31Request::WithStreamingDistributionConfig
CreateStreamingDistribution2020_05_31Request & WithStreamingDistributionConfig(StreamingDistributionConfig &&value)
Definition: CreateStreamingDistribution2020_05_31Request.h:67
Aws::CloudFront::Model::CreateStreamingDistribution2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override