/** * 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 MediaConnect { namespace Model { /** */ class DescribeGatewayInstanceRequest : public MediaConnectRequest { public: AWS_MEDIACONNECT_API DescribeGatewayInstanceRequest(); // 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 "DescribeGatewayInstance"; } AWS_MEDIACONNECT_API Aws::String SerializePayload() const override; /** * The Amazon Resource Name (ARN) of the gateway instance that you want to * describe. */ inline const Aws::String& GetGatewayInstanceArn() const{ return m_gatewayInstanceArn; } /** * The Amazon Resource Name (ARN) of the gateway instance that you want to * describe. */ inline bool GatewayInstanceArnHasBeenSet() const { return m_gatewayInstanceArnHasBeenSet; } /** * The Amazon Resource Name (ARN) of the gateway instance that you want to * describe. */ inline void SetGatewayInstanceArn(const Aws::String& value) { m_gatewayInstanceArnHasBeenSet = true; m_gatewayInstanceArn = value; } /** * The Amazon Resource Name (ARN) of the gateway instance that you want to * describe. */ inline void SetGatewayInstanceArn(Aws::String&& value) { m_gatewayInstanceArnHasBeenSet = true; m_gatewayInstanceArn = std::move(value); } /** * The Amazon Resource Name (ARN) of the gateway instance that you want to * describe. */ inline void SetGatewayInstanceArn(const char* value) { m_gatewayInstanceArnHasBeenSet = true; m_gatewayInstanceArn.assign(value); } /** * The Amazon Resource Name (ARN) of the gateway instance that you want to * describe. */ inline DescribeGatewayInstanceRequest& WithGatewayInstanceArn(const Aws::String& value) { SetGatewayInstanceArn(value); return *this;} /** * The Amazon Resource Name (ARN) of the gateway instance that you want to * describe. */ inline DescribeGatewayInstanceRequest& WithGatewayInstanceArn(Aws::String&& value) { SetGatewayInstanceArn(std::move(value)); return *this;} /** * The Amazon Resource Name (ARN) of the gateway instance that you want to * describe. */ inline DescribeGatewayInstanceRequest& WithGatewayInstanceArn(const char* value) { SetGatewayInstanceArn(value); return *this;} private: Aws::String m_gatewayInstanceArn; bool m_gatewayInstanceArnHasBeenSet = false; }; } // namespace Model } // namespace MediaConnect } // namespace Aws