AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceConfiguration.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/model/CodeRepository.h>
9#include <aws/apprunner/model/ImageRepository.h>
10#include <aws/apprunner/model/AuthenticationConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AppRunner
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_APPRUNNER_API SourceConfiguration();
38 AWS_APPRUNNER_API SourceConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const CodeRepository& GetCodeRepository() const{ return m_codeRepository; }
49 inline bool CodeRepositoryHasBeenSet() const { return m_codeRepositoryHasBeenSet; }
50 inline void SetCodeRepository(const CodeRepository& value) { m_codeRepositoryHasBeenSet = true; m_codeRepository = value; }
51 inline void SetCodeRepository(CodeRepository&& value) { m_codeRepositoryHasBeenSet = true; m_codeRepository = std::move(value); }
52 inline SourceConfiguration& WithCodeRepository(const CodeRepository& value) { SetCodeRepository(value); return *this;}
53 inline SourceConfiguration& WithCodeRepository(CodeRepository&& value) { SetCodeRepository(std::move(value)); return *this;}
55
57
61 inline const ImageRepository& GetImageRepository() const{ return m_imageRepository; }
62 inline bool ImageRepositoryHasBeenSet() const { return m_imageRepositoryHasBeenSet; }
63 inline void SetImageRepository(const ImageRepository& value) { m_imageRepositoryHasBeenSet = true; m_imageRepository = value; }
64 inline void SetImageRepository(ImageRepository&& value) { m_imageRepositoryHasBeenSet = true; m_imageRepository = std::move(value); }
65 inline SourceConfiguration& WithImageRepository(const ImageRepository& value) { SetImageRepository(value); return *this;}
66 inline SourceConfiguration& WithImageRepository(ImageRepository&& value) { SetImageRepository(std::move(value)); return *this;}
68
70
80 inline bool GetAutoDeploymentsEnabled() const{ return m_autoDeploymentsEnabled; }
81 inline bool AutoDeploymentsEnabledHasBeenSet() const { return m_autoDeploymentsEnabledHasBeenSet; }
82 inline void SetAutoDeploymentsEnabled(bool value) { m_autoDeploymentsEnabledHasBeenSet = true; m_autoDeploymentsEnabled = value; }
85
87
91 inline const AuthenticationConfiguration& GetAuthenticationConfiguration() const{ return m_authenticationConfiguration; }
92 inline bool AuthenticationConfigurationHasBeenSet() const { return m_authenticationConfigurationHasBeenSet; }
93 inline void SetAuthenticationConfiguration(const AuthenticationConfiguration& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = value; }
94 inline void SetAuthenticationConfiguration(AuthenticationConfiguration&& value) { m_authenticationConfigurationHasBeenSet = true; m_authenticationConfiguration = std::move(value); }
98 private:
99
100 CodeRepository m_codeRepository;
101 bool m_codeRepositoryHasBeenSet = false;
102
103 ImageRepository m_imageRepository;
104 bool m_imageRepositoryHasBeenSet = false;
105
106 bool m_autoDeploymentsEnabled;
107 bool m_autoDeploymentsEnabledHasBeenSet = false;
108
109 AuthenticationConfiguration m_authenticationConfiguration;
110 bool m_authenticationConfigurationHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace AppRunner
115} // namespace Aws
void SetImageRepository(const ImageRepository &value)
SourceConfiguration & WithAuthenticationConfiguration(AuthenticationConfiguration &&value)
AWS_APPRUNNER_API SourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceConfiguration & WithCodeRepository(const CodeRepository &value)
SourceConfiguration & WithAuthenticationConfiguration(const AuthenticationConfiguration &value)
SourceConfiguration & WithAutoDeploymentsEnabled(bool value)
const AuthenticationConfiguration & GetAuthenticationConfiguration() const
void SetCodeRepository(const CodeRepository &value)
SourceConfiguration & WithImageRepository(ImageRepository &&value)
SourceConfiguration & WithImageRepository(const ImageRepository &value)
void SetImageRepository(ImageRepository &&value)
const ImageRepository & GetImageRepository() const
void SetAuthenticationConfiguration(const AuthenticationConfiguration &value)
void SetAuthenticationConfiguration(AuthenticationConfiguration &&value)
const CodeRepository & GetCodeRepository() const
AWS_APPRUNNER_API SourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
SourceConfiguration & WithCodeRepository(CodeRepository &&value)
void SetCodeRepository(CodeRepository &&value)
Aws::Utils::Json::JsonValue JsonValue