AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
46 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
47 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
48 inline TestFunction2020_05_31Request& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline TestFunction2020_05_31Request& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline TestFunction2020_05_31Request& WithName(const char* value) { SetName(value); return *this;}
52
54
58 inline const Aws::String& GetIfMatch() const{ return m_ifMatch; }
59 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
60 inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; }
61 inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::move(value); }
62 inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); }
63 inline TestFunction2020_05_31Request& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;}
64 inline TestFunction2020_05_31Request& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;}
65 inline TestFunction2020_05_31Request& WithIfMatch(const char* value) { SetIfMatch(value); return *this;}
67
69
73 inline const FunctionStage& GetStage() const{ return m_stage; }
74 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
75 inline void SetStage(const FunctionStage& value) { m_stageHasBeenSet = true; m_stage = value; }
76 inline void SetStage(FunctionStage&& value) { m_stageHasBeenSet = true; m_stage = std::move(value); }
77 inline TestFunction2020_05_31Request& WithStage(const FunctionStage& value) { SetStage(value); return *this;}
78 inline TestFunction2020_05_31Request& WithStage(FunctionStage&& value) { SetStage(std::move(value)); return *this;}
80
82
88 inline const Aws::Utils::CryptoBuffer& GetEventObject() const{ return m_eventObject; }
89 inline bool EventObjectHasBeenSet() const { return m_eventObjectHasBeenSet; }
90 inline void SetEventObject(const Aws::Utils::CryptoBuffer& value) { m_eventObjectHasBeenSet = true; m_eventObject = value; }
91 inline void SetEventObject(Aws::Utils::CryptoBuffer&& value) { m_eventObjectHasBeenSet = true; m_eventObject = std::move(value); }
93 inline TestFunction2020_05_31Request& WithEventObject(Aws::Utils::CryptoBuffer&& value) { SetEventObject(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_name;
98 bool m_nameHasBeenSet = false;
99
100 Aws::String m_ifMatch;
101 bool m_ifMatchHasBeenSet = false;
102
103 FunctionStage m_stage;
104 bool m_stageHasBeenSet = false;
105
106 Aws::Utils::CryptoBuffer m_eventObject;
107 bool m_eventObjectHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace CloudFront
112} // namespace Aws
TestFunction2020_05_31Request & WithName(const Aws::String &value)
TestFunction2020_05_31Request & WithEventObject(const Aws::Utils::CryptoBuffer &value)
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
TestFunction2020_05_31Request & WithName(Aws::String &&value)
AWS_CLOUDFRONT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetEventObject(const Aws::Utils::CryptoBuffer &value)
TestFunction2020_05_31Request & WithStage(const FunctionStage &value)
TestFunction2020_05_31Request & WithIfMatch(Aws::String &&value)
TestFunction2020_05_31Request & WithName(const char *value)
TestFunction2020_05_31Request & WithStage(FunctionStage &&value)
TestFunction2020_05_31Request & WithIfMatch(const char *value)
TestFunction2020_05_31Request & WithIfMatch(const Aws::String &value)
TestFunction2020_05_31Request & WithEventObject(Aws::Utils::CryptoBuffer &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String