AWS SDK for C++  1.9.21
AWS SDK for C++
DeleteStreamingDistribution2020_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 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteStreamingDistribution"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetId() const{ return m_id; }
44 
48  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 
53  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
54 
58  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
59 
63  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
64 
68  inline DeleteStreamingDistribution2020_05_31Request& WithId(const Aws::String& value) { SetId(value); return *this;}
69 
73  inline DeleteStreamingDistribution2020_05_31Request& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
74 
78  inline DeleteStreamingDistribution2020_05_31Request& WithId(const char* value) { SetId(value); return *this;}
79 
80 
85  inline const Aws::String& GetIfMatch() const{ return m_ifMatch; }
86 
91  inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
92 
97  inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; }
98 
103  inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::move(value); }
104 
109  inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); }
110 
115  inline DeleteStreamingDistribution2020_05_31Request& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;}
116 
121  inline DeleteStreamingDistribution2020_05_31Request& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;}
122 
127  inline DeleteStreamingDistribution2020_05_31Request& WithIfMatch(const char* value) { SetIfMatch(value); return *this;}
128 
129  private:
130 
131  Aws::String m_id;
132  bool m_idHasBeenSet;
133 
134  Aws::String m_ifMatch;
135  bool m_ifMatchHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace CloudFront
140 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
CloudFrontRequest.h
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::SetId
void SetId(const char *value)
Definition: DeleteStreamingDistribution2020_05_31Request.h:63
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request
Definition: DeleteStreamingDistribution2020_05_31Request.h:25
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::SetId
void SetId(const Aws::String &value)
Definition: DeleteStreamingDistribution2020_05_31Request.h:53
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::IdHasBeenSet
bool IdHasBeenSet() const
Definition: DeleteStreamingDistribution2020_05_31Request.h:48
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::IfMatchHasBeenSet
bool IfMatchHasBeenSet() const
Definition: DeleteStreamingDistribution2020_05_31Request.h:91
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::SetIfMatch
void SetIfMatch(Aws::String &&value)
Definition: DeleteStreamingDistribution2020_05_31Request.h:103
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::GetId
const Aws::String & GetId() const
Definition: DeleteStreamingDistribution2020_05_31Request.h:43
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::WithId
DeleteStreamingDistribution2020_05_31Request & WithId(const Aws::String &value)
Definition: DeleteStreamingDistribution2020_05_31Request.h:68
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::WithIfMatch
DeleteStreamingDistribution2020_05_31Request & WithIfMatch(const Aws::String &value)
Definition: DeleteStreamingDistribution2020_05_31Request.h:115
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::SetIfMatch
void SetIfMatch(const char *value)
Definition: DeleteStreamingDistribution2020_05_31Request.h:109
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::WithIfMatch
DeleteStreamingDistribution2020_05_31Request & WithIfMatch(Aws::String &&value)
Definition: DeleteStreamingDistribution2020_05_31Request.h:121
AWSString.h
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::WithId
DeleteStreamingDistribution2020_05_31Request & WithId(const char *value)
Definition: DeleteStreamingDistribution2020_05_31Request.h:78
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::DeleteStreamingDistribution2020_05_31Request
DeleteStreamingDistribution2020_05_31Request()
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteStreamingDistribution2020_05_31Request.h:33
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::GetIfMatch
const Aws::String & GetIfMatch() const
Definition: DeleteStreamingDistribution2020_05_31Request.h:85
CloudFront_EXPORTS.h
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::WithId
DeleteStreamingDistribution2020_05_31Request & WithId(Aws::String &&value)
Definition: DeleteStreamingDistribution2020_05_31Request.h:73
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::SetId
void SetId(Aws::String &&value)
Definition: DeleteStreamingDistribution2020_05_31Request.h:58
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::WithIfMatch
DeleteStreamingDistribution2020_05_31Request & WithIfMatch(const char *value)
Definition: DeleteStreamingDistribution2020_05_31Request.h:127
Aws::CloudFront::Model::DeleteStreamingDistribution2020_05_31Request::SetIfMatch
void SetIfMatch(const Aws::String &value)
Definition: DeleteStreamingDistribution2020_05_31Request.h:97