/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Proton { namespace Model { /** */ class ListComponentOutputsRequest : public ProtonRequest { public: AWS_PROTON_API ListComponentOutputsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListComponentOutputs"; } AWS_PROTON_API Aws::String SerializePayload() const override; AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the component whose outputs you want.

*/ inline const Aws::String& GetComponentName() const{ return m_componentName; } /** *

The name of the component whose outputs you want.

*/ inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; } /** *

The name of the component whose outputs you want.

*/ inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; } /** *

The name of the component whose outputs you want.

*/ inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); } /** *

The name of the component whose outputs you want.

*/ inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); } /** *

The name of the component whose outputs you want.

*/ inline ListComponentOutputsRequest& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;} /** *

The name of the component whose outputs you want.

*/ inline ListComponentOutputsRequest& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;} /** *

The name of the component whose outputs you want.

*/ inline ListComponentOutputsRequest& WithComponentName(const char* value) { SetComponentName(value); return *this;} /** *

The ID of the deployment whose outputs you want.

*/ inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; } /** *

The ID of the deployment whose outputs you want.

*/ inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; } /** *

The ID of the deployment whose outputs you want.

*/ inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; } /** *

The ID of the deployment whose outputs you want.

*/ inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); } /** *

The ID of the deployment whose outputs you want.

*/ inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); } /** *

The ID of the deployment whose outputs you want.

*/ inline ListComponentOutputsRequest& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;} /** *

The ID of the deployment whose outputs you want.

*/ inline ListComponentOutputsRequest& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;} /** *

The ID of the deployment whose outputs you want.

*/ inline ListComponentOutputsRequest& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;} /** *

A token that indicates the location of the next output in the array of * outputs, after the list of outputs that was previously requested.

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

A token that indicates the location of the next output in the array of * outputs, after the list of outputs that was previously requested.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

A token that indicates the location of the next output in the array of * outputs, after the list of outputs that was previously requested.

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

A token that indicates the location of the next output in the array of * outputs, after the list of outputs that was previously requested.

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

A token that indicates the location of the next output in the array of * outputs, after the list of outputs that was previously requested.

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

A token that indicates the location of the next output in the array of * outputs, after the list of outputs that was previously requested.

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

A token that indicates the location of the next output in the array of * outputs, after the list of outputs that was previously requested.

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

A token that indicates the location of the next output in the array of * outputs, after the list of outputs that was previously requested.

*/ inline ListComponentOutputsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_componentName; bool m_componentNameHasBeenSet = false; Aws::String m_deploymentId; bool m_deploymentIdHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws