AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
FunctionDefaultConfig.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/greengrass/model/FunctionDefaultExecutionConfig.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Greengrass {
20namespace Model {
21
30 public:
31 AWS_GREENGRASS_API FunctionDefaultConfig() = default;
34 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const FunctionDefaultExecutionConfig& GetExecution() const { return m_execution; }
39 inline bool ExecutionHasBeenSet() const { return m_executionHasBeenSet; }
40 template <typename ExecutionT = FunctionDefaultExecutionConfig>
41 void SetExecution(ExecutionT&& value) {
42 m_executionHasBeenSet = true;
43 m_execution = std::forward<ExecutionT>(value);
44 }
45 template <typename ExecutionT = FunctionDefaultExecutionConfig>
46 FunctionDefaultConfig& WithExecution(ExecutionT&& value) {
47 SetExecution(std::forward<ExecutionT>(value));
48 return *this;
49 }
51 private:
53 bool m_executionHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Greengrass
58} // namespace Aws
const FunctionDefaultExecutionConfig & GetExecution() const
AWS_GREENGRASS_API FunctionDefaultConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GREENGRASS_API FunctionDefaultConfig()=default
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GREENGRASS_API FunctionDefaultConfig(Aws::Utils::Json::JsonView jsonValue)
FunctionDefaultConfig & WithExecution(ExecutionT &&value)
Aws::Utils::Json::JsonValue JsonValue