AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
BuildConfig.h
1
6#pragma once
7#include <aws/lambda-web/LambdaWeb_EXPORTS.h>
8#include <aws/lambda-web/model/CodeConfig.h>
9#include <aws/lambda-web/model/RuntimeConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LambdaWeb {
21namespace Model {
22
30 public:
31 AWS_LAMBDAWEB_API BuildConfig() = default;
32 AWS_LAMBDAWEB_API BuildConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_LAMBDAWEB_API BuildConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LAMBDAWEB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const CodeConfig& GetCodeConfig() const { return m_codeConfig; }
42 inline bool CodeConfigHasBeenSet() const { return m_codeConfigHasBeenSet; }
43 template <typename CodeConfigT = CodeConfig>
44 void SetCodeConfig(CodeConfigT&& value) {
45 m_codeConfigHasBeenSet = true;
46 m_codeConfig = std::forward<CodeConfigT>(value);
47 }
48 template <typename CodeConfigT = CodeConfig>
49 BuildConfig& WithCodeConfig(CodeConfigT&& value) {
50 SetCodeConfig(std::forward<CodeConfigT>(value));
51 return *this;
52 }
54
56
59 inline const RuntimeConfig& GetRuntimeConfig() const { return m_runtimeConfig; }
60 inline bool RuntimeConfigHasBeenSet() const { return m_runtimeConfigHasBeenSet; }
61 template <typename RuntimeConfigT = RuntimeConfig>
62 void SetRuntimeConfig(RuntimeConfigT&& value) {
63 m_runtimeConfigHasBeenSet = true;
64 m_runtimeConfig = std::forward<RuntimeConfigT>(value);
65 }
66 template <typename RuntimeConfigT = RuntimeConfig>
67 BuildConfig& WithRuntimeConfig(RuntimeConfigT&& value) {
68 SetRuntimeConfig(std::forward<RuntimeConfigT>(value));
69 return *this;
70 }
72 private:
73 CodeConfig m_codeConfig;
74
75 RuntimeConfig m_runtimeConfig;
76 bool m_codeConfigHasBeenSet = false;
77 bool m_runtimeConfigHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace LambdaWeb
82} // namespace Aws
AWS_LAMBDAWEB_API BuildConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDAWEB_API BuildConfig(Aws::Utils::Json::JsonView jsonValue)
const RuntimeConfig & GetRuntimeConfig() const
Definition BuildConfig.h:59
void SetRuntimeConfig(RuntimeConfigT &&value)
Definition BuildConfig.h:62
BuildConfig & WithCodeConfig(CodeConfigT &&value)
Definition BuildConfig.h:49
BuildConfig & WithRuntimeConfig(RuntimeConfigT &&value)
Definition BuildConfig.h:67
void SetCodeConfig(CodeConfigT &&value)
Definition BuildConfig.h:44
AWS_LAMBDAWEB_API Aws::Utils::Json::JsonValue Jsonize() const
const CodeConfig & GetCodeConfig() const
Definition BuildConfig.h:41
AWS_LAMBDAWEB_API BuildConfig()=default
Aws::Utils::Json::JsonValue JsonValue