AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateStreamingDistribution2020_05_31Request.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/CloudFrontRequest.h>
9#include <aws/cloudfront/model/StreamingDistributionConfig.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudFront
16{
17namespace Model
18{
19
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 "UpdateStreamingDistribution"; }
35
36 AWS_CLOUDFRONT_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const StreamingDistributionConfig& GetStreamingDistributionConfig() const{ return m_streamingDistributionConfig; }
46 inline bool StreamingDistributionConfigHasBeenSet() const { return m_streamingDistributionConfigHasBeenSet; }
47 inline void SetStreamingDistributionConfig(const StreamingDistributionConfig& value) { m_streamingDistributionConfigHasBeenSet = true; m_streamingDistributionConfig = value; }
48 inline void SetStreamingDistributionConfig(StreamingDistributionConfig&& value) { m_streamingDistributionConfigHasBeenSet = true; m_streamingDistributionConfig = std::move(value); }
52
54
57 inline const Aws::String& GetId() const{ return m_id; }
58 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
59 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
60 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
61 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
62 inline UpdateStreamingDistribution2020_05_31Request& WithId(const Aws::String& value) { SetId(value); return *this;}
63 inline UpdateStreamingDistribution2020_05_31Request& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
64 inline UpdateStreamingDistribution2020_05_31Request& WithId(const char* value) { SetId(value); return *this;}
66
68
73 inline const Aws::String& GetIfMatch() const{ return m_ifMatch; }
74 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
75 inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; }
76 inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::move(value); }
77 inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); }
79 inline UpdateStreamingDistribution2020_05_31Request& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;}
80 inline UpdateStreamingDistribution2020_05_31Request& WithIfMatch(const char* value) { SetIfMatch(value); return *this;}
82 private:
83
84 StreamingDistributionConfig m_streamingDistributionConfig;
85 bool m_streamingDistributionConfigHasBeenSet = false;
86
87 Aws::String m_id;
88 bool m_idHasBeenSet = false;
89
90 Aws::String m_ifMatch;
91 bool m_ifMatchHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace CloudFront
96} // namespace Aws
UpdateStreamingDistribution2020_05_31Request & WithIfMatch(const Aws::String &value)
UpdateStreamingDistribution2020_05_31Request & WithStreamingDistributionConfig(const StreamingDistributionConfig &value)
UpdateStreamingDistribution2020_05_31Request & WithStreamingDistributionConfig(StreamingDistributionConfig &&value)
UpdateStreamingDistribution2020_05_31Request & WithIfMatch(const char *value)
UpdateStreamingDistribution2020_05_31Request & WithId(Aws::String &&value)
AWS_CLOUDFRONT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
UpdateStreamingDistribution2020_05_31Request & WithId(const Aws::String &value)
UpdateStreamingDistribution2020_05_31Request & WithIfMatch(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String