AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
PutRuntimeManagementConfigResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10#include <aws/lambda/model/UpdateRuntimeOn.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Lambda {
24namespace Model {
26 public:
27 AWS_LAMBDA_API PutRuntimeManagementConfigResult() = default;
30
32
35 inline UpdateRuntimeOn GetUpdateRuntimeOn() const { return m_updateRuntimeOn; }
37 m_updateRuntimeOnHasBeenSet = true;
38 m_updateRuntimeOn = value;
39 }
41 SetUpdateRuntimeOn(value);
42 return *this;
43 }
45
47
50 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
51 template <typename FunctionArnT = Aws::String>
52 void SetFunctionArn(FunctionArnT&& value) {
53 m_functionArnHasBeenSet = true;
54 m_functionArn = std::forward<FunctionArnT>(value);
55 }
56 template <typename FunctionArnT = Aws::String>
58 SetFunctionArn(std::forward<FunctionArnT>(value));
59 return *this;
60 }
62
64
69 inline const Aws::String& GetRuntimeVersionArn() const { return m_runtimeVersionArn; }
70 template <typename RuntimeVersionArnT = Aws::String>
71 void SetRuntimeVersionArn(RuntimeVersionArnT&& value) {
72 m_runtimeVersionArnHasBeenSet = true;
73 m_runtimeVersionArn = std::forward<RuntimeVersionArnT>(value);
74 }
75 template <typename RuntimeVersionArnT = Aws::String>
77 SetRuntimeVersionArn(std::forward<RuntimeVersionArnT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
100
101 Aws::String m_functionArn;
102
103 Aws::String m_runtimeVersionArn;
104
105 Aws::String m_requestId;
106 Aws::Http::HttpResponseCode m_HttpResponseCode;
107 bool m_updateRuntimeOnHasBeenSet = false;
108 bool m_functionArnHasBeenSet = false;
109 bool m_runtimeVersionArnHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace Lambda
115} // namespace Aws
PutRuntimeManagementConfigResult & WithRuntimeVersionArn(RuntimeVersionArnT &&value)
AWS_LAMBDA_API PutRuntimeManagementConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutRuntimeManagementConfigResult & WithRequestId(RequestIdT &&value)
PutRuntimeManagementConfigResult & WithUpdateRuntimeOn(UpdateRuntimeOn value)
AWS_LAMBDA_API PutRuntimeManagementConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutRuntimeManagementConfigResult & WithFunctionArn(FunctionArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue