AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
49 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
50 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
51 inline SourceCode& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
52 inline SourceCode& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
53 inline SourceCode& WithLocation(const char* value) { SetLocation(value); return *this;}
55
57
60 inline const Aws::String& GetProjectName() const{ return m_projectName; }
61 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
62 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
63 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
64 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
65 inline SourceCode& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
66 inline SourceCode& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
67 inline SourceCode& WithProjectName(const char* value) { SetProjectName(value); return *this;}
69
71
74 inline const Aws::String& GetSourceVersion() const{ return m_sourceVersion; }
75 inline bool SourceVersionHasBeenSet() const { return m_sourceVersionHasBeenSet; }
76 inline void SetSourceVersion(const Aws::String& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = value; }
77 inline void SetSourceVersion(Aws::String&& value) { m_sourceVersionHasBeenSet = true; m_sourceVersion = std::move(value); }
78 inline void SetSourceVersion(const char* value) { m_sourceVersionHasBeenSet = true; m_sourceVersion.assign(value); }
79 inline SourceCode& WithSourceVersion(const Aws::String& value) { SetSourceVersion(value); return *this;}
80 inline SourceCode& WithSourceVersion(Aws::String&& value) { SetSourceVersion(std::move(value)); return *this;}
81 inline SourceCode& WithSourceVersion(const char* value) { SetSourceVersion(value); return *this;}
83
85
88 inline const VersionControl& GetVersionControl() const{ return m_versionControl; }
89 inline bool VersionControlHasBeenSet() const { return m_versionControlHasBeenSet; }
90 inline void SetVersionControl(const VersionControl& value) { m_versionControlHasBeenSet = true; m_versionControl = value; }
91 inline void SetVersionControl(VersionControl&& value) { m_versionControlHasBeenSet = true; m_versionControl = std::move(value); }
92 inline SourceCode& WithVersionControl(const VersionControl& value) { SetVersionControl(value); return *this;}
93 inline SourceCode& WithVersionControl(VersionControl&& value) { SetVersionControl(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_location;
98 bool m_locationHasBeenSet = false;
99
100 Aws::String m_projectName;
101 bool m_projectNameHasBeenSet = false;
102
103 Aws::String m_sourceVersion;
104 bool m_sourceVersionHasBeenSet = false;
105
106 VersionControl m_versionControl;
107 bool m_versionControlHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace MigrationHubStrategyRecommendations
112} // namespace Aws
SourceCode & WithVersionControl(const VersionControl &value)
Definition SourceCode.h:92
SourceCode & WithLocation(const Aws::String &value)
Definition SourceCode.h:51
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCode & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceCode & WithVersionControl(VersionControl &&value)
Definition SourceCode.h:93
SourceCode & WithSourceVersion(const Aws::String &value)
Definition SourceCode.h:79
SourceCode & WithProjectName(const Aws::String &value)
Definition SourceCode.h:65
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCode()
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCode(Aws::Utils::Json::JsonView jsonValue)
void SetVersionControl(const VersionControl &value)
Definition SourceCode.h:90
SourceCode & WithSourceVersion(Aws::String &&value)
Definition SourceCode.h:80
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue