AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBranch(const Aws::String& value) { m_branchHasBeenSet = true; m_branch = value; }
48 inline void SetBranch(Aws::String&& value) { m_branchHasBeenSet = true; m_branch = std::move(value); }
49 inline void SetBranch(const char* value) { m_branchHasBeenSet = true; m_branch.assign(value); }
50 inline SourceCodeRepository& WithBranch(const Aws::String& value) { SetBranch(value); return *this;}
51 inline SourceCodeRepository& WithBranch(Aws::String&& value) { SetBranch(std::move(value)); return *this;}
52 inline SourceCodeRepository& WithBranch(const char* value) { SetBranch(value); return *this;}
54
56
59 inline const Aws::String& GetProjectName() const{ return m_projectName; }
60 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
61 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
62 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
63 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
64 inline SourceCodeRepository& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
65 inline SourceCodeRepository& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
66 inline SourceCodeRepository& WithProjectName(const char* value) { SetProjectName(value); return *this;}
68
70
73 inline const Aws::String& GetRepository() const{ return m_repository; }
74 inline bool RepositoryHasBeenSet() const { return m_repositoryHasBeenSet; }
75 inline void SetRepository(const Aws::String& value) { m_repositoryHasBeenSet = true; m_repository = value; }
76 inline void SetRepository(Aws::String&& value) { m_repositoryHasBeenSet = true; m_repository = std::move(value); }
77 inline void SetRepository(const char* value) { m_repositoryHasBeenSet = true; m_repository.assign(value); }
78 inline SourceCodeRepository& WithRepository(const Aws::String& value) { SetRepository(value); return *this;}
79 inline SourceCodeRepository& WithRepository(Aws::String&& value) { SetRepository(std::move(value)); return *this;}
80 inline SourceCodeRepository& WithRepository(const char* value) { SetRepository(value); return *this;}
82
84
87 inline const Aws::String& GetVersionControlType() const{ return m_versionControlType; }
88 inline bool VersionControlTypeHasBeenSet() const { return m_versionControlTypeHasBeenSet; }
89 inline void SetVersionControlType(const Aws::String& value) { m_versionControlTypeHasBeenSet = true; m_versionControlType = value; }
90 inline void SetVersionControlType(Aws::String&& value) { m_versionControlTypeHasBeenSet = true; m_versionControlType = std::move(value); }
91 inline void SetVersionControlType(const char* value) { m_versionControlTypeHasBeenSet = true; m_versionControlType.assign(value); }
93 inline SourceCodeRepository& WithVersionControlType(Aws::String&& value) { SetVersionControlType(std::move(value)); return *this;}
94 inline SourceCodeRepository& WithVersionControlType(const char* value) { SetVersionControlType(value); return *this;}
96 private:
97
98 Aws::String m_branch;
99 bool m_branchHasBeenSet = false;
100
101 Aws::String m_projectName;
102 bool m_projectNameHasBeenSet = false;
103
104 Aws::String m_repository;
105 bool m_repositoryHasBeenSet = false;
106
107 Aws::String m_versionControlType;
108 bool m_versionControlTypeHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace MigrationHubStrategyRecommendations
113} // namespace Aws
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCodeRepository(Aws::Utils::Json::JsonView jsonValue)
SourceCodeRepository & WithRepository(const Aws::String &value)
SourceCodeRepository & WithVersionControlType(const Aws::String &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCodeRepository & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCodeRepository()
SourceCodeRepository & WithProjectName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue