AWS SDK for C++  1.9.16
AWS SDK for C++
UpdateStreamingDistribution2020_05_31Request.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace CloudFront
16 {
17 namespace 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::String SerializePayload() const override;
37 
39 
40 
44  inline const StreamingDistributionConfig& GetStreamingDistributionConfig() const{ return m_streamingDistributionConfig; }
45 
49  inline bool StreamingDistributionConfigHasBeenSet() const { return m_streamingDistributionConfigHasBeenSet; }
50 
54  inline void SetStreamingDistributionConfig(const StreamingDistributionConfig& value) { m_streamingDistributionConfigHasBeenSet = true; m_streamingDistributionConfig = value; }
55 
59  inline void SetStreamingDistributionConfig(StreamingDistributionConfig&& value) { m_streamingDistributionConfigHasBeenSet = true; m_streamingDistributionConfig = std::move(value); }
60 
64  inline UpdateStreamingDistribution2020_05_31Request& WithStreamingDistributionConfig(const StreamingDistributionConfig& value) { SetStreamingDistributionConfig(value); return *this;}
65 
69  inline UpdateStreamingDistribution2020_05_31Request& WithStreamingDistributionConfig(StreamingDistributionConfig&& value) { SetStreamingDistributionConfig(std::move(value)); return *this;}
70 
71 
75  inline const Aws::String& GetId() const{ return m_id; }
76 
80  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
81 
85  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
86 
90  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
91 
95  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
96 
100  inline UpdateStreamingDistribution2020_05_31Request& WithId(const Aws::String& value) { SetId(value); return *this;}
101 
105  inline UpdateStreamingDistribution2020_05_31Request& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
106 
110  inline UpdateStreamingDistribution2020_05_31Request& WithId(const char* value) { SetId(value); return *this;}
111 
112 
118  inline const Aws::String& GetIfMatch() const{ return m_ifMatch; }
119 
125  inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
126 
132  inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; }
133 
139  inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::move(value); }
140 
146  inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); }
147 
153  inline UpdateStreamingDistribution2020_05_31Request& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;}
154 
160  inline UpdateStreamingDistribution2020_05_31Request& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;}
161 
167  inline UpdateStreamingDistribution2020_05_31Request& WithIfMatch(const char* value) { SetIfMatch(value); return *this;}
168 
169  private:
170 
171  StreamingDistributionConfig m_streamingDistributionConfig;
172  bool m_streamingDistributionConfigHasBeenSet;
173 
174  Aws::String m_id;
175  bool m_idHasBeenSet;
176 
177  Aws::String m_ifMatch;
178  bool m_ifMatchHasBeenSet;
179  };
180 
181 } // namespace Model
182 } // namespace CloudFront
183 } // namespace Aws
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::WithId
UpdateStreamingDistribution2020_05_31Request & WithId(Aws::String &&value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:105
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::WithIfMatch
UpdateStreamingDistribution2020_05_31Request & WithIfMatch(Aws::String &&value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:160
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
CloudFrontRequest.h
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UpdateStreamingDistribution2020_05_31Request.h:80
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::SetStreamingDistributionConfig
void SetStreamingDistributionConfig(const StreamingDistributionConfig &value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:54
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::SetIfMatch
void SetIfMatch(Aws::String &&value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:139
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::WithIfMatch
UpdateStreamingDistribution2020_05_31Request & WithIfMatch(const Aws::String &value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:153
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::SetStreamingDistributionConfig
void SetStreamingDistributionConfig(StreamingDistributionConfig &&value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:59
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::SetIfMatch
void SetIfMatch(const char *value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:146
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::GetStreamingDistributionConfig
const StreamingDistributionConfig & GetStreamingDistributionConfig() const
Definition: UpdateStreamingDistribution2020_05_31Request.h:44
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::GetId
const Aws::String & GetId() const
Definition: UpdateStreamingDistribution2020_05_31Request.h:75
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::UpdateStreamingDistribution2020_05_31Request
UpdateStreamingDistribution2020_05_31Request()
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::SetId
void SetId(const char *value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:95
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::WithStreamingDistributionConfig
UpdateStreamingDistribution2020_05_31Request & WithStreamingDistributionConfig(const StreamingDistributionConfig &value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:64
StreamingDistributionConfig.h
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::SetId
void SetId(const Aws::String &value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:85
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::WithId
UpdateStreamingDistribution2020_05_31Request & WithId(const Aws::String &value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:100
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::WithId
UpdateStreamingDistribution2020_05_31Request & WithId(const char *value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:110
AWSString.h
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::GetIfMatch
const Aws::String & GetIfMatch() const
Definition: UpdateStreamingDistribution2020_05_31Request.h:118
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request
Definition: UpdateStreamingDistribution2020_05_31Request.h:26
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::WithStreamingDistributionConfig
UpdateStreamingDistribution2020_05_31Request & WithStreamingDistributionConfig(StreamingDistributionConfig &&value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:69
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::SetId
void SetId(Aws::String &&value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:90
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::IfMatchHasBeenSet
bool IfMatchHasBeenSet() const
Definition: UpdateStreamingDistribution2020_05_31Request.h:125
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::SetIfMatch
void SetIfMatch(const Aws::String &value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:132
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::WithIfMatch
UpdateStreamingDistribution2020_05_31Request & WithIfMatch(const char *value)
Definition: UpdateStreamingDistribution2020_05_31Request.h:167
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::StreamingDistributionConfigHasBeenSet
bool StreamingDistributionConfigHasBeenSet() const
Definition: UpdateStreamingDistribution2020_05_31Request.h:49
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateStreamingDistribution2020_05_31Request.h:34
Aws::CloudFront::Model::StreamingDistributionConfig
Definition: StreamingDistributionConfig.h:37
Aws::CloudFront::Model::UpdateStreamingDistribution2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override