AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutRuntimeManagementConfigResult.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/model/UpdateRuntimeOn.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Lambda
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const UpdateRuntimeOn& GetUpdateRuntimeOn() const{ return m_updateRuntimeOn; }
41 inline void SetUpdateRuntimeOn(const UpdateRuntimeOn& value) { m_updateRuntimeOn = value; }
42 inline void SetUpdateRuntimeOn(UpdateRuntimeOn&& value) { m_updateRuntimeOn = std::move(value); }
46
48
51 inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
52 inline void SetFunctionArn(const Aws::String& value) { m_functionArn = value; }
53 inline void SetFunctionArn(Aws::String&& value) { m_functionArn = std::move(value); }
54 inline void SetFunctionArn(const char* value) { m_functionArn.assign(value); }
55 inline PutRuntimeManagementConfigResult& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
56 inline PutRuntimeManagementConfigResult& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
57 inline PutRuntimeManagementConfigResult& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
59
61
66 inline const Aws::String& GetRuntimeVersionArn() const{ return m_runtimeVersionArn; }
67 inline void SetRuntimeVersionArn(const Aws::String& value) { m_runtimeVersionArn = value; }
68 inline void SetRuntimeVersionArn(Aws::String&& value) { m_runtimeVersionArn = std::move(value); }
69 inline void SetRuntimeVersionArn(const char* value) { m_runtimeVersionArn.assign(value); }
72 inline PutRuntimeManagementConfigResult& WithRuntimeVersionArn(const char* value) { SetRuntimeVersionArn(value); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 inline PutRuntimeManagementConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline PutRuntimeManagementConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline PutRuntimeManagementConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 UpdateRuntimeOn m_updateRuntimeOn;
88
89 Aws::String m_functionArn;
90
91 Aws::String m_runtimeVersionArn;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace Lambda
98} // namespace Aws
PutRuntimeManagementConfigResult & WithRequestId(const Aws::String &value)
PutRuntimeManagementConfigResult & WithFunctionArn(Aws::String &&value)
AWS_LAMBDA_API PutRuntimeManagementConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutRuntimeManagementConfigResult & WithUpdateRuntimeOn(const UpdateRuntimeOn &value)
PutRuntimeManagementConfigResult & WithRuntimeVersionArn(Aws::String &&value)
PutRuntimeManagementConfigResult & WithRuntimeVersionArn(const Aws::String &value)
PutRuntimeManagementConfigResult & WithRequestId(const char *value)
PutRuntimeManagementConfigResult & WithFunctionArn(const Aws::String &value)
AWS_LAMBDA_API PutRuntimeManagementConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutRuntimeManagementConfigResult & WithRuntimeVersionArn(const char *value)
PutRuntimeManagementConfigResult & WithUpdateRuntimeOn(UpdateRuntimeOn &&value)
PutRuntimeManagementConfigResult & WithRequestId(Aws::String &&value)
PutRuntimeManagementConfigResult & WithFunctionArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue