AWS SDK for C++  1.8.76
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
#define AWS_CLOUDFRONT_API
CreateStreamingDistributionWithTags2020_05_31Request & WithStreamingDistributionConfigWithTags(const StreamingDistributionConfigWithTags &value)
CreateStreamingDistributionWithTags2020_05_31Request & WithStreamingDistributionConfigWithTags(StreamingDistributionConfigWithTags &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97