AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
PutRuntimeManagementConfigRequest.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#include <aws/lambda/model/UpdateRuntimeOn.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace Lambda {
19namespace Model {
20
24 public:
25 AWS_LAMBDA_API PutRuntimeManagementConfigRequest() = 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 "PutRuntimeManagementConfig"; }
32
33 AWS_LAMBDA_API Aws::String SerializePayload() const override;
34
35 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
48 inline const Aws::String& GetFunctionName() const { return m_functionName; }
49 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
50 template <typename FunctionNameT = Aws::String>
51 void SetFunctionName(FunctionNameT&& value) {
52 m_functionNameHasBeenSet = true;
53 m_functionName = std::forward<FunctionNameT>(value);
54 }
55 template <typename FunctionNameT = Aws::String>
57 SetFunctionName(std::forward<FunctionNameT>(value));
58 return *this;
59 }
61
63
68 inline const Aws::String& GetQualifier() const { return m_qualifier; }
69 inline bool QualifierHasBeenSet() const { return m_qualifierHasBeenSet; }
70 template <typename QualifierT = Aws::String>
71 void SetQualifier(QualifierT&& value) {
72 m_qualifierHasBeenSet = true;
73 m_qualifier = std::forward<QualifierT>(value);
74 }
75 template <typename QualifierT = Aws::String>
77 SetQualifier(std::forward<QualifierT>(value));
78 return *this;
79 }
81
83
103 inline UpdateRuntimeOn GetUpdateRuntimeOn() const { return m_updateRuntimeOn; }
104 inline bool UpdateRuntimeOnHasBeenSet() const { return m_updateRuntimeOnHasBeenSet; }
106 m_updateRuntimeOnHasBeenSet = true;
107 m_updateRuntimeOn = value;
108 }
110 SetUpdateRuntimeOn(value);
111 return *this;
112 }
114
116
121 inline const Aws::String& GetRuntimeVersionArn() const { return m_runtimeVersionArn; }
122 inline bool RuntimeVersionArnHasBeenSet() const { return m_runtimeVersionArnHasBeenSet; }
123 template <typename RuntimeVersionArnT = Aws::String>
124 void SetRuntimeVersionArn(RuntimeVersionArnT&& value) {
125 m_runtimeVersionArnHasBeenSet = true;
126 m_runtimeVersionArn = std::forward<RuntimeVersionArnT>(value);
127 }
128 template <typename RuntimeVersionArnT = Aws::String>
130 SetRuntimeVersionArn(std::forward<RuntimeVersionArnT>(value));
131 return *this;
132 }
134 private:
135 Aws::String m_functionName;
136 bool m_functionNameHasBeenSet = false;
137
138 Aws::String m_qualifier;
139 bool m_qualifierHasBeenSet = false;
140
141 UpdateRuntimeOn m_updateRuntimeOn{UpdateRuntimeOn::NOT_SET};
142 bool m_updateRuntimeOnHasBeenSet = false;
143
144 Aws::String m_runtimeVersionArn;
145 bool m_runtimeVersionArnHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace Lambda
150} // namespace Aws
PutRuntimeManagementConfigRequest & WithRuntimeVersionArn(RuntimeVersionArnT &&value)
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_LAMBDA_API Aws::String SerializePayload() const override
PutRuntimeManagementConfigRequest & WithUpdateRuntimeOn(UpdateRuntimeOn value)
PutRuntimeManagementConfigRequest & WithFunctionName(FunctionNameT &&value)
PutRuntimeManagementConfigRequest & WithQualifier(QualifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String