AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SourceCode.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/migrationhubstrategy/model/VersionControl.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 MigrationHubStrategyRecommendations
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCode() = default;
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCode(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCode& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetLocation() const { return m_location; }
47 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
48 template<typename LocationT = Aws::String>
49 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
50 template<typename LocationT = Aws::String>
51 SourceCode& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
53
55
58 inline const Aws::String& GetProjectName() const { return m_projectName; }
59 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
60 template<typename ProjectNameT = Aws::String>
61 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
62 template<typename ProjectNameT = Aws::String>
63 SourceCode& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetSourceVersion() const { return m_sourceVersion; }
71 inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; }
72 template<typename SourceVersionT = Aws::String>
73 void SetSourceVersion(SourceVersionT&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::forward<SourceVersionT>(value); }
74 template<typename SourceVersionT = Aws::String>
75 SourceCode& WithSourceVersion(SourceVersionT&& value) { SetSourceVersion(std::forward<SourceVersionT>(value)); return *this;}
77
79
82 inline VersionControl GetVersionControl() const { return m_versionControl; }
83 inline bool VersionControlHasBeenSet() const { return m_versionControlHasBeenSet; }
84 inline void SetVersionControl(VersionControl value) { m_versionControlHasBeenSet = true; m_versionControl = value; }
85 inline SourceCode& WithVersionControl(VersionControl value) { SetVersionControl(value); return *this;}
87 private:
88
89 Aws::String m_location;
90 bool m_locationHasBeenSet = false;
91
92 Aws::String m_projectName;
93 bool m_projectNameHasBeenSet = false;
94
95 Aws::String m_sourceVersion;
96 bool m_sourceVersionHasBeenSet = false;
97
99 bool m_versionControlHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace MigrationHubStrategyRecommendations
104} // namespace Aws
SourceCode & WithVersionControl(VersionControl value)
Definition SourceCode.h:85
SourceCode & WithProjectName(ProjectNameT &&value)
Definition SourceCode.h:63
SourceCode & WithSourceVersion(SourceVersionT &&value)
Definition SourceCode.h:75
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCode & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCode()=default
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCode(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue