AWS SDK for C++

AWS SDK for C++ Version 1.11.942

Loading...
Searching...
No Matches
EnvironmentSourceConfig.h
1
6#pragma once
7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/EnvironmentGitSource.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AmplifyGen3 {
20namespace Model {
21
28 public:
29 AWS_AMPLIFYGEN3_API EnvironmentSourceConfig() = default;
32 AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const EnvironmentGitSource& GetGitSource() const { return m_gitSource; }
39 inline bool GitSourceHasBeenSet() const { return m_gitSourceHasBeenSet; }
40 template <typename GitSourceT = EnvironmentGitSource>
41 void SetGitSource(GitSourceT&& value) {
42 m_gitSourceHasBeenSet = true;
43 m_gitSource = std::forward<GitSourceT>(value);
44 }
45 template <typename GitSourceT = EnvironmentGitSource>
47 SetGitSource(std::forward<GitSourceT>(value));
48 return *this;
49 }
51 private:
52 EnvironmentGitSource m_gitSource;
53 bool m_gitSourceHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace AmplifyGen3
58} // namespace Aws
const EnvironmentGitSource & GetGitSource() const
AWS_AMPLIFYGEN3_API EnvironmentSourceConfig()=default
AWS_AMPLIFYGEN3_API EnvironmentSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentSourceConfig & WithGitSource(GitSourceT &&value)
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AMPLIFYGEN3_API EnvironmentSourceConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue