7#include <aws/migrationhub-config/MigrationHubConfig_EXPORTS.h>
8#include <aws/migrationhub-config/MigrationHubConfigRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/migrationhub-config/model/Target.h>
15namespace MigrationHubConfig
44 template<
typename HomeRegionT = Aws::String>
45 void SetHomeRegion(HomeRegionT&& value) { m_homeRegionHasBeenSet =
true; m_homeRegion = std::forward<HomeRegionT>(value); }
46 template<
typename HomeRegionT = Aws::String>
57 template<
typename TargetT = Target>
58 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
59 template<
typename TargetT = Target>
70 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
76 bool m_homeRegionHasBeenSet =
false;
79 bool m_targetHasBeenSet =
false;
82 bool m_dryRunHasBeenSet =
false;
CreateHomeRegionControlRequest & WithHomeRegion(HomeRegionT &&value)
CreateHomeRegionControlRequest & WithDryRun(bool value)
virtual const char * GetServiceRequestName() const override
AWS_MIGRATIONHUBCONFIG_API Aws::String SerializePayload() const override
const Aws::String & GetHomeRegion() const
AWS_MIGRATIONHUBCONFIG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool HomeRegionHasBeenSet() const
const Target & GetTarget() const
void SetDryRun(bool value)
bool DryRunHasBeenSet() const
void SetTarget(TargetT &&value)
bool TargetHasBeenSet() const
AWS_MIGRATIONHUBCONFIG_API CreateHomeRegionControlRequest()=default
void SetHomeRegion(HomeRegionT &&value)
CreateHomeRegionControlRequest & WithTarget(TargetT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String