/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
#include
#include
namespace Aws
{
namespace MediaConnect
{
namespace Model
{
/**
* A request to add outputs to the specified bridge.See Also:
AWS
* API Reference
*/
class AddBridgeOutputsRequest : public MediaConnectRequest
{
public:
AWS_MEDIACONNECT_API AddBridgeOutputsRequest();
// 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 "AddBridgeOutputs"; }
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
/**
* The ARN of the bridge that you want to update.
*/
inline const Aws::String& GetBridgeArn() const{ return m_bridgeArn; }
/**
* The ARN of the bridge that you want to update.
*/
inline bool BridgeArnHasBeenSet() const { return m_bridgeArnHasBeenSet; }
/**
* The ARN of the bridge that you want to update.
*/
inline void SetBridgeArn(const Aws::String& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = value; }
/**
* The ARN of the bridge that you want to update.
*/
inline void SetBridgeArn(Aws::String&& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = std::move(value); }
/**
* The ARN of the bridge that you want to update.
*/
inline void SetBridgeArn(const char* value) { m_bridgeArnHasBeenSet = true; m_bridgeArn.assign(value); }
/**
* The ARN of the bridge that you want to update.
*/
inline AddBridgeOutputsRequest& WithBridgeArn(const Aws::String& value) { SetBridgeArn(value); return *this;}
/**
* The ARN of the bridge that you want to update.
*/
inline AddBridgeOutputsRequest& WithBridgeArn(Aws::String&& value) { SetBridgeArn(std::move(value)); return *this;}
/**
* The ARN of the bridge that you want to update.
*/
inline AddBridgeOutputsRequest& WithBridgeArn(const char* value) { SetBridgeArn(value); return *this;}
/**
* The outputs that you want to add to this bridge.
*/
inline const Aws::Vector& GetOutputs() const{ return m_outputs; }
/**
* The outputs that you want to add to this bridge.
*/
inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
/**
* The outputs that you want to add to this bridge.
*/
inline void SetOutputs(const Aws::Vector& value) { m_outputsHasBeenSet = true; m_outputs = value; }
/**
* The outputs that you want to add to this bridge.
*/
inline void SetOutputs(Aws::Vector&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
/**
* The outputs that you want to add to this bridge.
*/
inline AddBridgeOutputsRequest& WithOutputs(const Aws::Vector& value) { SetOutputs(value); return *this;}
/**
* The outputs that you want to add to this bridge.
*/
inline AddBridgeOutputsRequest& WithOutputs(Aws::Vector&& value) { SetOutputs(std::move(value)); return *this;}
/**
* The outputs that you want to add to this bridge.
*/
inline AddBridgeOutputsRequest& AddOutputs(const AddBridgeOutputRequest& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
/**
* The outputs that you want to add to this bridge.
*/
inline AddBridgeOutputsRequest& AddOutputs(AddBridgeOutputRequest&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
private:
Aws::String m_bridgeArn;
bool m_bridgeArnHasBeenSet = false;
Aws::Vector m_outputs;
bool m_outputsHasBeenSet = false;
};
} // namespace Model
} // namespace MediaConnect
} // namespace Aws