AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
DeleteDistribution2020_05_31Request.h
1
6#pragma once
7#include <aws/cloudfront/CloudFrontRequest.h>
8#include <aws/cloudfront/CloudFront_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CloudFront {
15namespace Model {
16
50 public:
51 AWS_CLOUDFRONT_API DeleteDistribution2020_05_31Request() = default;
52
53 // Service request name is the Operation name which will send this request out,
54 // each operation should has unique request name, so that we can get operation's name from this request.
55 // Note: this is not true for response, multiple operations may have the same response name,
56 // so we can not get operation's name from response.
57 inline virtual const char* GetServiceRequestName() const override { return "DeleteDistribution"; }
58
59 AWS_CLOUDFRONT_API Aws::String SerializePayload() const override;
60
62
64
67 inline const Aws::String& GetId() const { return m_id; }
68 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
69 template <typename IdT = Aws::String>
70 void SetId(IdT&& value) {
71 m_idHasBeenSet = true;
72 m_id = std::forward<IdT>(value);
73 }
74 template <typename IdT = Aws::String>
76 SetId(std::forward<IdT>(value));
77 return *this;
78 }
80
82
86 inline const Aws::String& GetIfMatch() const { return m_ifMatch; }
87 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
88 template <typename IfMatchT = Aws::String>
89 void SetIfMatch(IfMatchT&& value) {
90 m_ifMatchHasBeenSet = true;
91 m_ifMatch = std::forward<IfMatchT>(value);
92 }
93 template <typename IfMatchT = Aws::String>
95 SetIfMatch(std::forward<IfMatchT>(value));
96 return *this;
97 }
99 private:
100 Aws::String m_id;
101
102 Aws::String m_ifMatch;
103 bool m_idHasBeenSet = false;
104 bool m_ifMatchHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace CloudFront
109} // namespace Aws
AWS_CLOUDFRONT_API DeleteDistribution2020_05_31Request()=default
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
DeleteDistribution2020_05_31Request & WithIfMatch(IfMatchT &&value)
AWS_CLOUDFRONT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String