AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetFunction2020_05_31Request.h
1
6#pragma once
7#include <aws/cloudfront/CloudFrontRequest.h>
8#include <aws/cloudfront/CloudFront_EXPORTS.h>
9#include <aws/cloudfront/model/FunctionStage.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace CloudFront {
19namespace Model {
20
24 public:
25 AWS_CLOUDFRONT_API GetFunction2020_05_31Request() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetFunction"; }
32
33 AWS_CLOUDFRONT_API Aws::String SerializePayload() const override;
34
35 AWS_CLOUDFRONT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
60 inline FunctionStage GetStage() const { return m_stage; }
61 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
62 inline void SetStage(FunctionStage value) {
63 m_stageHasBeenSet = true;
64 m_stage = value;
65 }
67 SetStage(value);
68 return *this;
69 }
71 private:
72 Aws::String m_name;
73
75 bool m_nameHasBeenSet = false;
76 bool m_stageHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace CloudFront
81} // namespace Aws
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
GetFunction2020_05_31Request & WithStage(FunctionStage value)
AWS_CLOUDFRONT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_CLOUDFRONT_API GetFunction2020_05_31Request()=default
GetFunction2020_05_31Request & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String