AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
GetAliasRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Lambda {
15namespace Model {
16
20 public:
21 AWS_LAMBDA_API GetAliasRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetAlias"; }
28
29 AWS_LAMBDA_API Aws::String SerializePayload() const override;
30
32
42 inline const Aws::String& GetFunctionName() const { return m_functionName; }
43 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
44 template <typename FunctionNameT = Aws::String>
45 void SetFunctionName(FunctionNameT&& value) {
46 m_functionNameHasBeenSet = true;
47 m_functionName = std::forward<FunctionNameT>(value);
48 }
49 template <typename FunctionNameT = Aws::String>
50 GetAliasRequest& WithFunctionName(FunctionNameT&& value) {
51 SetFunctionName(std::forward<FunctionNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template <typename NameT = Aws::String>
63 void SetName(NameT&& value) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
68 GetAliasRequest& WithName(NameT&& value) {
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_functionName;
75 bool m_functionNameHasBeenSet = false;
76
77 Aws::String m_name;
78 bool m_nameHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Lambda
83} // namespace Aws
void SetFunctionName(FunctionNameT &&value)
virtual const char * GetServiceRequestName() const override
GetAliasRequest & WithName(NameT &&value)
const Aws::String & GetName() const
AWS_LAMBDA_API GetAliasRequest()=default
const Aws::String & GetFunctionName() const
AWS_LAMBDA_API Aws::String SerializePayload() const override
GetAliasRequest & WithFunctionName(FunctionNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String