This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

78 lines
2.1 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/migrationhub-config/MigrationHubConfig_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
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<Aws::Utils::Json::JsonValue>& result);
GetHomeRegionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The name of the home region of the calling account.</p>
*/
inline const Aws::String& GetHomeRegion() const{ return m_homeRegion; }
/**
* <p>The name of the home region of the calling account.</p>
*/
inline void SetHomeRegion(const Aws::String& value) { m_homeRegion = value; }
/**
* <p>The name of the home region of the calling account.</p>
*/
inline void SetHomeRegion(Aws::String&& value) { m_homeRegion = std::move(value); }
/**
* <p>The name of the home region of the calling account.</p>
*/
inline void SetHomeRegion(const char* value) { m_homeRegion.assign(value); }
/**
* <p>The name of the home region of the calling account.</p>
*/
inline GetHomeRegionResult& WithHomeRegion(const Aws::String& value) { SetHomeRegion(value); return *this;}
/**
* <p>The name of the home region of the calling account.</p>
*/
inline GetHomeRegionResult& WithHomeRegion(Aws::String&& value) { SetHomeRegion(std::move(value)); return *this;}
/**
* <p>The name of the home region of the calling account.</p>
*/
inline GetHomeRegionResult& WithHomeRegion(const char* value) { SetHomeRegion(value); return *this;}
private:
Aws::String m_homeRegion;
};
} // namespace Model
} // namespace MigrationHubConfig
} // namespace Aws