AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CodeConfiguration.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/model/ConfigurationSource.h>
9#include <aws/apprunner/model/CodeConfigurationValues.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppRunner
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPRUNNER_API CodeConfiguration() = default;
37 AWS_APPRUNNER_API CodeConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
52 inline ConfigurationSource GetConfigurationSource() const { return m_configurationSource; }
53 inline bool ConfigurationSourceHasBeenSet() const { return m_configurationSourceHasBeenSet; }
54 inline void SetConfigurationSource(ConfigurationSource value) { m_configurationSourceHasBeenSet = true; m_configurationSource = value; }
57
59
65 inline const CodeConfigurationValues& GetCodeConfigurationValues() const { return m_codeConfigurationValues; }
66 inline bool CodeConfigurationValuesHasBeenSet() const { return m_codeConfigurationValuesHasBeenSet; }
67 template<typename CodeConfigurationValuesT = CodeConfigurationValues>
68 void SetCodeConfigurationValues(CodeConfigurationValuesT&& value) { m_codeConfigurationValuesHasBeenSet = true; m_codeConfigurationValues = std::forward<CodeConfigurationValuesT>(value); }
69 template<typename CodeConfigurationValuesT = CodeConfigurationValues>
70 CodeConfiguration& WithCodeConfigurationValues(CodeConfigurationValuesT&& value) { SetCodeConfigurationValues(std::forward<CodeConfigurationValuesT>(value)); return *this;}
72 private:
73
75 bool m_configurationSourceHasBeenSet = false;
76
77 CodeConfigurationValues m_codeConfigurationValues;
78 bool m_codeConfigurationValuesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace AppRunner
83} // namespace Aws
AWS_APPRUNNER_API CodeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeConfiguration & WithCodeConfigurationValues(CodeConfigurationValuesT &&value)
CodeConfiguration & WithConfigurationSource(ConfigurationSource value)
void SetCodeConfigurationValues(CodeConfigurationValuesT &&value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigurationSource GetConfigurationSource() const
const CodeConfigurationValues & GetCodeConfigurationValues() const
void SetConfigurationSource(ConfigurationSource value)
AWS_APPRUNNER_API CodeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_APPRUNNER_API CodeConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue