/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CodeDeploy { namespace Model { /** *

Represents the output of a ListDeploymentConfigs * operation.

See Also:

AWS * API Reference

*/ class ListDeploymentConfigsResult { public: AWS_CODEDEPLOY_API ListDeploymentConfigsResult(); AWS_CODEDEPLOY_API ListDeploymentConfigsResult(const Aws::AmazonWebServiceResult& result); AWS_CODEDEPLOY_API ListDeploymentConfigsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of deployment configurations, including built-in configurations such * as CodeDeployDefault.OneAtATime.

*/ inline const Aws::Vector& GetDeploymentConfigsList() const{ return m_deploymentConfigsList; } /** *

A list of deployment configurations, including built-in configurations such * as CodeDeployDefault.OneAtATime.

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

A list of deployment configurations, including built-in configurations such * as CodeDeployDefault.OneAtATime.

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

A list of deployment configurations, including built-in configurations such * as CodeDeployDefault.OneAtATime.

*/ inline ListDeploymentConfigsResult& WithDeploymentConfigsList(const Aws::Vector& value) { SetDeploymentConfigsList(value); return *this;} /** *

A list of deployment configurations, including built-in configurations such * as CodeDeployDefault.OneAtATime.

*/ inline ListDeploymentConfigsResult& WithDeploymentConfigsList(Aws::Vector&& value) { SetDeploymentConfigsList(std::move(value)); return *this;} /** *

A list of deployment configurations, including built-in configurations such * as CodeDeployDefault.OneAtATime.

*/ inline ListDeploymentConfigsResult& AddDeploymentConfigsList(const Aws::String& value) { m_deploymentConfigsList.push_back(value); return *this; } /** *

A list of deployment configurations, including built-in configurations such * as CodeDeployDefault.OneAtATime.

*/ inline ListDeploymentConfigsResult& AddDeploymentConfigsList(Aws::String&& value) { m_deploymentConfigsList.push_back(std::move(value)); return *this; } /** *

A list of deployment configurations, including built-in configurations such * as CodeDeployDefault.OneAtATime.

*/ inline ListDeploymentConfigsResult& AddDeploymentConfigsList(const char* value) { m_deploymentConfigsList.push_back(value); return *this; } /** *

If a large amount of information is returned, an identifier is also returned. * It can be used in a subsequent list deployment configurations call to return the * next set of deployment configurations in the list.

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

If a large amount of information is returned, an identifier is also returned. * It can be used in a subsequent list deployment configurations call to return the * next set of deployment configurations in the list.

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

If a large amount of information is returned, an identifier is also returned. * It can be used in a subsequent list deployment configurations call to return the * next set of deployment configurations in the list.

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

If a large amount of information is returned, an identifier is also returned. * It can be used in a subsequent list deployment configurations call to return the * next set of deployment configurations in the list.

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

If a large amount of information is returned, an identifier is also returned. * It can be used in a subsequent list deployment configurations call to return the * next set of deployment configurations in the list.

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

If a large amount of information is returned, an identifier is also returned. * It can be used in a subsequent list deployment configurations call to return the * next set of deployment configurations in the list.

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

If a large amount of information is returned, an identifier is also returned. * It can be used in a subsequent list deployment configurations call to return the * next set of deployment configurations in the list.

*/ inline ListDeploymentConfigsResult& 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 ListDeploymentConfigsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListDeploymentConfigsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListDeploymentConfigsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_deploymentConfigsList; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws