7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/migrationhubstrategy/model/VersionControl.h>
22namespace MigrationHubStrategyRecommendations
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API
SourceCode() =
default;
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>
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>
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>
90 bool m_locationHasBeenSet =
false;
93 bool m_projectNameHasBeenSet =
false;
96 bool m_sourceVersionHasBeenSet =
false;
99 bool m_versionControlHasBeenSet =
false;
bool ProjectNameHasBeenSet() const
SourceCode & WithVersionControl(VersionControl value)
void SetVersionControl(VersionControl value)
SourceCode & WithProjectName(ProjectNameT &&value)
void SetLocation(LocationT &&value)
bool VersionControlHasBeenSet() const
SourceCode & WithSourceVersion(SourceVersionT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCode & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SourceVersionHasBeenSet() const
const Aws::String & GetSourceVersion() const
void SetProjectName(ProjectNameT &&value)
const Aws::String & GetProjectName() const
void SetSourceVersion(SourceVersionT &&value)
VersionControl GetVersionControl() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCode()=default
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API SourceCode(Aws::Utils::Json::JsonView jsonValue)
bool LocationHasBeenSet() const
SourceCode & WithLocation(LocationT &&value)
const Aws::String & GetLocation() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue