AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFunction2020_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 <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace CloudFront
20{
21namespace Model
22{
23
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DescribeFunction"; }
36
37 AWS_CLOUDFRONT_API Aws::String SerializePayload() const override;
38
39 AWS_CLOUDFRONT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline DescribeFunction2020_05_31Request& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline DescribeFunction2020_05_31Request& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline DescribeFunction2020_05_31Request& WithName(const char* value) { SetName(value); return *this;}
55
57
61 inline const FunctionStage& GetStage() const{ return m_stage; }
62 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
63 inline void SetStage(const FunctionStage& value) { m_stageHasBeenSet = true; m_stage = value; }
64 inline void SetStage(FunctionStage&& value) { m_stageHasBeenSet = true; m_stage = std::move(value); }
65 inline DescribeFunction2020_05_31Request& WithStage(const FunctionStage& value) { SetStage(value); return *this;}
66 inline DescribeFunction2020_05_31Request& WithStage(FunctionStage&& value) { SetStage(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_name;
71 bool m_nameHasBeenSet = false;
72
73 FunctionStage m_stage;
74 bool m_stageHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace CloudFront
79} // namespace Aws
DescribeFunction2020_05_31Request & WithStage(FunctionStage &&value)
AWS_CLOUDFRONT_API Aws::String SerializePayload() const override
AWS_CLOUDFRONT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeFunction2020_05_31Request & WithName(const char *value)
DescribeFunction2020_05_31Request & WithName(const Aws::String &value)
DescribeFunction2020_05_31Request & WithStage(const FunctionStage &value)
DescribeFunction2020_05_31Request & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String