AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ConfigurationSource& GetConfigurationSource() const{ return m_configurationSource; }
53 inline bool ConfigurationSourceHasBeenSet() const { return m_configurationSourceHasBeenSet; }
54 inline void SetConfigurationSource(const ConfigurationSource& value) { m_configurationSourceHasBeenSet = true; m_configurationSource = value; }
55 inline void SetConfigurationSource(ConfigurationSource&& value) { m_configurationSourceHasBeenSet = true; m_configurationSource = std::move(value); }
57 inline CodeConfiguration& WithConfigurationSource(ConfigurationSource&& value) { SetConfigurationSource(std::move(value)); return *this;}
59
61
67 inline const CodeConfigurationValues& GetCodeConfigurationValues() const{ return m_codeConfigurationValues; }
68 inline bool CodeConfigurationValuesHasBeenSet() const { return m_codeConfigurationValuesHasBeenSet; }
69 inline void SetCodeConfigurationValues(const CodeConfigurationValues& value) { m_codeConfigurationValuesHasBeenSet = true; m_codeConfigurationValues = value; }
70 inline void SetCodeConfigurationValues(CodeConfigurationValues&& value) { m_codeConfigurationValuesHasBeenSet = true; m_codeConfigurationValues = std::move(value); }
74 private:
75
76 ConfigurationSource m_configurationSource;
77 bool m_configurationSourceHasBeenSet = false;
78
79 CodeConfigurationValues m_codeConfigurationValues;
80 bool m_codeConfigurationValuesHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace AppRunner
85} // namespace Aws
CodeConfiguration & WithConfigurationSource(ConfigurationSource &&value)
AWS_APPRUNNER_API CodeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetConfigurationSource(const ConfigurationSource &value)
CodeConfiguration & WithCodeConfigurationValues(const CodeConfigurationValues &value)
void SetCodeConfigurationValues(CodeConfigurationValues &&value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
const CodeConfigurationValues & GetCodeConfigurationValues() const
void SetCodeConfigurationValues(const CodeConfigurationValues &value)
CodeConfiguration & WithCodeConfigurationValues(CodeConfigurationValues &&value)
AWS_APPRUNNER_API CodeConfiguration(Aws::Utils::Json::JsonView jsonValue)
const ConfigurationSource & GetConfigurationSource() const
void SetConfigurationSource(ConfigurationSource &&value)
CodeConfiguration & WithConfigurationSource(const ConfigurationSource &value)
Aws::Utils::Json::JsonValue JsonValue