AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SourceCodeRepository.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MigrationHubStrategyRecommendations
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCodeRepository() = default;
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCodeRepository(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCodeRepository& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBranch() const { return m_branch; }
46 inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; }
47 template<typename BranchT = Aws::String>
48 void SetBranch(BranchT&& value) { m_branchHasBeenSet = true; m_branch = std::forward<BranchT>(value); }
49 template<typename BranchT = Aws::String>
50 SourceCodeRepository& WithBranch(BranchT&& value) { SetBranch(std::forward<BranchT>(value)); return *this;}
52
54
57 inline const Aws::String& GetProjectName() const { return m_projectName; }
58 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
59 template<typename ProjectNameT = Aws::String>
60 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
61 template<typename ProjectNameT = Aws::String>
62 SourceCodeRepository& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetRepository() const { return m_repository; }
70 inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; }
71 template<typename RepositoryT = Aws::String>
72 void SetRepository(RepositoryT&& value) { m_repositoryHasBeenSet = true; m_repository = std::forward<RepositoryT>(value); }
73 template<typename RepositoryT = Aws::String>
74 SourceCodeRepository& WithRepository(RepositoryT&& value) { SetRepository(std::forward<RepositoryT>(value)); return *this;}
76
78
81 inline const Aws::String& GetVersionControlType() const { return m_versionControlType; }
82 inline bool VersionControlTypeHasBeenSet() const { return m_versionControlTypeHasBeenSet; }
83 template<typename VersionControlTypeT = Aws::String>
84 void SetVersionControlType(VersionControlTypeT&& value) { m_versionControlTypeHasBeenSet = true; m_versionControlType = std::forward<VersionControlTypeT>(value); }
85 template<typename VersionControlTypeT = Aws::String>
86 SourceCodeRepository& WithVersionControlType(VersionControlTypeT&& value) { SetVersionControlType(std::forward<VersionControlTypeT>(value)); return *this;}
88 private:
89
90 Aws::String m_branch;
91 bool m_branchHasBeenSet = false;
92
93 Aws::String m_projectName;
94 bool m_projectNameHasBeenSet = false;
95
96 Aws::String m_repository;
97 bool m_repositoryHasBeenSet = false;
98
99 Aws::String m_versionControlType;
100 bool m_versionControlTypeHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace MigrationHubStrategyRecommendations
105} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCodeRepository()=default
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCodeRepository(Aws::Utils::Json::JsonView jsonValue)
SourceCodeRepository & WithVersionControlType(VersionControlTypeT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCodeRepository & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue