/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MigrationHubConfig { namespace Model { class AWS_MIGRATIONHUBCONFIG_API CreateHomeRegionControlResult { public: CreateHomeRegionControlResult(); CreateHomeRegionControlResult(const Aws::AmazonWebServiceResult& result); CreateHomeRegionControlResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

This object is the HomeRegionControl object that's returned by a * successful call to CreateHomeRegionControl.

*/ inline const HomeRegionControl& GetHomeRegionControl() const{ return m_homeRegionControl; } /** *

This object is the HomeRegionControl object that's returned by a * successful call to CreateHomeRegionControl.

*/ inline void SetHomeRegionControl(const HomeRegionControl& value) { m_homeRegionControl = value; } /** *

This object is the HomeRegionControl object that's returned by a * successful call to CreateHomeRegionControl.

*/ inline void SetHomeRegionControl(HomeRegionControl&& value) { m_homeRegionControl = std::move(value); } /** *

This object is the HomeRegionControl object that's returned by a * successful call to CreateHomeRegionControl.

*/ inline CreateHomeRegionControlResult& WithHomeRegionControl(const HomeRegionControl& value) { SetHomeRegionControl(value); return *this;} /** *

This object is the HomeRegionControl object that's returned by a * successful call to CreateHomeRegionControl.

*/ inline CreateHomeRegionControlResult& WithHomeRegionControl(HomeRegionControl&& value) { SetHomeRegionControl(std::move(value)); return *this;} private: HomeRegionControl m_homeRegionControl; }; } // namespace Model } // namespace MigrationHubConfig } // namespace Aws