AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
FunctionRuntimeConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/Lambda_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Lambda {
20namespace Model {
21
30 public:
31 AWS_LAMBDA_API FunctionRuntimeConfig() = default;
34 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetRuntimeArn() const { return m_runtimeArn; }
42 inline bool RuntimeArnHasBeenSet() const { return m_runtimeArnHasBeenSet; }
43 template <typename RuntimeArnT = Aws::String>
44 void SetRuntimeArn(RuntimeArnT&& value) {
45 m_runtimeArnHasBeenSet = true;
46 m_runtimeArn = std::forward<RuntimeArnT>(value);
47 }
48 template <typename RuntimeArnT = Aws::String>
49 FunctionRuntimeConfig& WithRuntimeArn(RuntimeArnT&& value) {
50 SetRuntimeArn(std::forward<RuntimeArnT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetRuntimeAlias() const { return m_runtimeAlias; }
61 inline bool RuntimeAliasHasBeenSet() const { return m_runtimeAliasHasBeenSet; }
62 template <typename RuntimeAliasT = Aws::String>
63 void SetRuntimeAlias(RuntimeAliasT&& value) {
64 m_runtimeAliasHasBeenSet = true;
65 m_runtimeAlias = std::forward<RuntimeAliasT>(value);
66 }
67 template <typename RuntimeAliasT = Aws::String>
68 FunctionRuntimeConfig& WithRuntimeAlias(RuntimeAliasT&& value) {
69 SetRuntimeAlias(std::forward<RuntimeAliasT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_runtimeArn;
75
76 Aws::String m_runtimeAlias;
77 bool m_runtimeArnHasBeenSet = false;
78 bool m_runtimeAliasHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Lambda
83} // namespace Aws
FunctionRuntimeConfig & WithRuntimeAlias(RuntimeAliasT &&value)
FunctionRuntimeConfig & WithRuntimeArn(RuntimeArnT &&value)
AWS_LAMBDA_API FunctionRuntimeConfig()=default
AWS_LAMBDA_API FunctionRuntimeConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API FunctionRuntimeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue