/** * 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 { namespace MediaConnect { namespace Model { /** * A request to update gateway instance state.

See Also:

AWS * API Reference

*/ class UpdateGatewayInstanceRequest : public MediaConnectRequest { public: AWS_MEDIACONNECT_API UpdateGatewayInstanceRequest(); // 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 "UpdateGatewayInstance"; } AWS_MEDIACONNECT_API Aws::String SerializePayload() const override; /** * The availability of the instance to host new bridges. The bridgePlacement * property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be * deployed to this instance. If it is AVAILABLE, new bridges can be added to this * instance. */ inline const BridgePlacement& GetBridgePlacement() const{ return m_bridgePlacement; } /** * The availability of the instance to host new bridges. The bridgePlacement * property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be * deployed to this instance. If it is AVAILABLE, new bridges can be added to this * instance. */ inline bool BridgePlacementHasBeenSet() const { return m_bridgePlacementHasBeenSet; } /** * The availability of the instance to host new bridges. The bridgePlacement * property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be * deployed to this instance. If it is AVAILABLE, new bridges can be added to this * instance. */ inline void SetBridgePlacement(const BridgePlacement& value) { m_bridgePlacementHasBeenSet = true; m_bridgePlacement = value; } /** * The availability of the instance to host new bridges. The bridgePlacement * property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be * deployed to this instance. If it is AVAILABLE, new bridges can be added to this * instance. */ inline void SetBridgePlacement(BridgePlacement&& value) { m_bridgePlacementHasBeenSet = true; m_bridgePlacement = std::move(value); } /** * The availability of the instance to host new bridges. The bridgePlacement * property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be * deployed to this instance. If it is AVAILABLE, new bridges can be added to this * instance. */ inline UpdateGatewayInstanceRequest& WithBridgePlacement(const BridgePlacement& value) { SetBridgePlacement(value); return *this;} /** * The availability of the instance to host new bridges. The bridgePlacement * property can be LOCKED or AVAILABLE. If it is LOCKED, no new bridges can be * deployed to this instance. If it is AVAILABLE, new bridges can be added to this * instance. */ inline UpdateGatewayInstanceRequest& WithBridgePlacement(BridgePlacement&& value) { SetBridgePlacement(std::move(value)); return *this;} /** * The Amazon Resource Name (ARN) of the instance that you want to update. */ inline const Aws::String& GetGatewayInstanceArn() const{ return m_gatewayInstanceArn; } /** * The Amazon Resource Name (ARN) of the instance that you want to update. */ inline bool GatewayInstanceArnHasBeenSet() const { return m_gatewayInstanceArnHasBeenSet; } /** * The Amazon Resource Name (ARN) of the instance that you want to update. */ inline void SetGatewayInstanceArn(const Aws::String& value) { m_gatewayInstanceArnHasBeenSet = true; m_gatewayInstanceArn = value; } /** * The Amazon Resource Name (ARN) of the instance that you want to update. */ inline void SetGatewayInstanceArn(Aws::String&& value) { m_gatewayInstanceArnHasBeenSet = true; m_gatewayInstanceArn = std::move(value); } /** * The Amazon Resource Name (ARN) of the instance that you want to update. */ inline void SetGatewayInstanceArn(const char* value) { m_gatewayInstanceArnHasBeenSet = true; m_gatewayInstanceArn.assign(value); } /** * The Amazon Resource Name (ARN) of the instance that you want to update. */ inline UpdateGatewayInstanceRequest& WithGatewayInstanceArn(const Aws::String& value) { SetGatewayInstanceArn(value); return *this;} /** * The Amazon Resource Name (ARN) of the instance that you want to update. */ inline UpdateGatewayInstanceRequest& WithGatewayInstanceArn(Aws::String&& value) { SetGatewayInstanceArn(std::move(value)); return *this;} /** * The Amazon Resource Name (ARN) of the instance that you want to update. */ inline UpdateGatewayInstanceRequest& WithGatewayInstanceArn(const char* value) { SetGatewayInstanceArn(value); return *this;} private: BridgePlacement m_bridgePlacement; bool m_bridgePlacementHasBeenSet = false; Aws::String m_gatewayInstanceArn; bool m_gatewayInstanceArnHasBeenSet = false; }; } // namespace Model } // namespace MediaConnect } // namespace Aws