AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TestFunction2020_05_31Request.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/CloudFrontRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudfront/model/FunctionStage.h>
11#include <aws/core/utils/Array.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CloudFront
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CLOUDFRONT_API TestFunction2020_05_31Request() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "TestFunction"; }
33
34 AWS_CLOUDFRONT_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 template<typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
47 template<typename NameT = Aws::String>
48 TestFunction2020_05_31Request& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
50
52
56 inline const Aws::String& GetIfMatch() const { return m_ifMatch; }
57 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
58 template<typename IfMatchT = Aws::String>
59 void SetIfMatch(IfMatchT&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::forward<IfMatchT>(value); }
60 template<typename IfMatchT = Aws::String>
61 TestFunction2020_05_31Request& WithIfMatch(IfMatchT&& value) { SetIfMatch(std::forward<IfMatchT>(value)); return *this;}
63
65
69 inline FunctionStage GetStage() const { return m_stage; }
70 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
71 inline void SetStage(FunctionStage value) { m_stageHasBeenSet = true; m_stage = value; }
72 inline TestFunction2020_05_31Request& WithStage(FunctionStage value) { SetStage(value); return *this;}
74
76
82 inline const Aws::Utils::CryptoBuffer& GetEventObject() const { return m_eventObject; }
83 inline bool EventObjectHasBeenSet() const { return m_eventObjectHasBeenSet; }
84 template<typename EventObjectT = Aws::Utils::CryptoBuffer>
85 void SetEventObject(EventObjectT&& value) { m_eventObjectHasBeenSet = true; m_eventObject = std::forward<EventObjectT>(value); }
86 template<typename EventObjectT = Aws::Utils::CryptoBuffer>
87 TestFunction2020_05_31Request& WithEventObject(EventObjectT&& value) { SetEventObject(std::forward<EventObjectT>(value)); return *this;}
89 private:
90
91 Aws::String m_name;
92 bool m_nameHasBeenSet = false;
93
94 Aws::String m_ifMatch;
95 bool m_ifMatchHasBeenSet = false;
96
98 bool m_stageHasBeenSet = false;
99
100 Aws::Utils::CryptoBuffer m_eventObject{};
101 bool m_eventObjectHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace CloudFront
106} // namespace Aws
TestFunction2020_05_31Request & WithStage(FunctionStage value)
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
AWS_CLOUDFRONT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
TestFunction2020_05_31Request & WithIfMatch(IfMatchT &&value)
AWS_CLOUDFRONT_API TestFunction2020_05_31Request()=default
TestFunction2020_05_31Request & WithEventObject(EventObjectT &&value)
TestFunction2020_05_31Request & WithName(NameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String