AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
RuntimeConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda-web/LambdaWeb_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace LambdaWeb {
20namespace Model {
21
29 public:
30 AWS_LAMBDAWEB_API RuntimeConfig() = default;
31 AWS_LAMBDAWEB_API RuntimeConfig(Aws::Utils::Json::JsonView jsonValue);
32 AWS_LAMBDAWEB_API RuntimeConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LAMBDAWEB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetRuntime() const { return m_runtime; }
41 inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; }
42 template <typename RuntimeT = Aws::String>
43 void SetRuntime(RuntimeT&& value) {
44 m_runtimeHasBeenSet = true;
45 m_runtime = std::forward<RuntimeT>(value);
46 }
47 template <typename RuntimeT = Aws::String>
48 RuntimeConfig& WithRuntime(RuntimeT&& value) {
49 SetRuntime(std::forward<RuntimeT>(value));
50 return *this;
51 }
53 private:
54 Aws::String m_runtime;
55 bool m_runtimeHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace LambdaWeb
60} // namespace Aws
AWS_LAMBDAWEB_API RuntimeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDAWEB_API RuntimeConfig()=default
RuntimeConfig & WithRuntime(RuntimeT &&value)
AWS_LAMBDAWEB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRuntime(RuntimeT &&value)
AWS_LAMBDAWEB_API RuntimeConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRuntime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue