/** * 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 GetHomeRegionResult { public: GetHomeRegionResult(); GetHomeRegionResult(const Aws::AmazonWebServiceResult& result); GetHomeRegionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the home region of the calling account.

*/ inline const Aws::String& GetHomeRegion() const{ return m_homeRegion; } /** *

The name of the home region of the calling account.

*/ inline void SetHomeRegion(const Aws::String& value) { m_homeRegion = value; } /** *

The name of the home region of the calling account.

*/ inline void SetHomeRegion(Aws::String&& value) { m_homeRegion = std::move(value); } /** *

The name of the home region of the calling account.

*/ inline void SetHomeRegion(const char* value) { m_homeRegion.assign(value); } /** *

The name of the home region of the calling account.

*/ inline GetHomeRegionResult& WithHomeRegion(const Aws::String& value) { SetHomeRegion(value); return *this;} /** *

The name of the home region of the calling account.

*/ inline GetHomeRegionResult& WithHomeRegion(Aws::String&& value) { SetHomeRegion(std::move(value)); return *this;} /** *

The name of the home region of the calling account.

*/ inline GetHomeRegionResult& WithHomeRegion(const char* value) { SetHomeRegion(value); return *this;} private: Aws::String m_homeRegion; }; } // namespace Model } // namespace MigrationHubConfig } // namespace Aws