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

An array that contains your HomeRegionControl objects.

*/ inline const Aws::Vector& GetHomeRegionControls() const{ return m_homeRegionControls; } /** *

An array that contains your HomeRegionControl objects.

*/ inline void SetHomeRegionControls(const Aws::Vector& value) { m_homeRegionControls = value; } /** *

An array that contains your HomeRegionControl objects.

*/ inline void SetHomeRegionControls(Aws::Vector&& value) { m_homeRegionControls = std::move(value); } /** *

An array that contains your HomeRegionControl objects.

*/ inline DescribeHomeRegionControlsResult& WithHomeRegionControls(const Aws::Vector& value) { SetHomeRegionControls(value); return *this;} /** *

An array that contains your HomeRegionControl objects.

*/ inline DescribeHomeRegionControlsResult& WithHomeRegionControls(Aws::Vector&& value) { SetHomeRegionControls(std::move(value)); return *this;} /** *

An array that contains your HomeRegionControl objects.

*/ inline DescribeHomeRegionControlsResult& AddHomeRegionControls(const HomeRegionControl& value) { m_homeRegionControls.push_back(value); return *this; } /** *

An array that contains your HomeRegionControl objects.

*/ inline DescribeHomeRegionControlsResult& AddHomeRegionControls(HomeRegionControl&& value) { m_homeRegionControls.push_back(std::move(value)); return *this; } /** *

If a NextToken was returned by a previous call, more results are * available. To retrieve the next page of results, make the call again using the * returned token in NextToken.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

If a NextToken was returned by a previous call, more results are * available. To retrieve the next page of results, make the call again using the * returned token in NextToken.

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

If a NextToken was returned by a previous call, more results are * available. To retrieve the next page of results, make the call again using the * returned token in NextToken.

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

If a NextToken was returned by a previous call, more results are * available. To retrieve the next page of results, make the call again using the * returned token in NextToken.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

If a NextToken was returned by a previous call, more results are * available. To retrieve the next page of results, make the call again using the * returned token in NextToken.

*/ inline DescribeHomeRegionControlsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

If a NextToken was returned by a previous call, more results are * available. To retrieve the next page of results, make the call again using the * returned token in NextToken.

*/ inline DescribeHomeRegionControlsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

If a NextToken was returned by a previous call, more results are * available. To retrieve the next page of results, make the call again using the * returned token in NextToken.

*/ inline DescribeHomeRegionControlsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeHomeRegionControlsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeHomeRegionControlsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeHomeRegionControlsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_homeRegionControls; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace MigrationHubConfig } // namespace Aws