/** * 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 DataSync { namespace Model { /** */ class DescribeDiscoveryJobRequest : public DataSyncRequest { public: AWS_DATASYNC_API DescribeDiscoveryJobRequest(); // 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 "DescribeDiscoveryJob"; } AWS_DATASYNC_API Aws::String SerializePayload() const override; AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that you want * information about.

*/ inline const Aws::String& GetDiscoveryJobArn() const{ return m_discoveryJobArn; } /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that you want * information about.

*/ inline bool DiscoveryJobArnHasBeenSet() const { return m_discoveryJobArnHasBeenSet; } /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that you want * information about.

*/ inline void SetDiscoveryJobArn(const Aws::String& value) { m_discoveryJobArnHasBeenSet = true; m_discoveryJobArn = value; } /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that you want * information about.

*/ inline void SetDiscoveryJobArn(Aws::String&& value) { m_discoveryJobArnHasBeenSet = true; m_discoveryJobArn = std::move(value); } /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that you want * information about.

*/ inline void SetDiscoveryJobArn(const char* value) { m_discoveryJobArnHasBeenSet = true; m_discoveryJobArn.assign(value); } /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that you want * information about.

*/ inline DescribeDiscoveryJobRequest& WithDiscoveryJobArn(const Aws::String& value) { SetDiscoveryJobArn(value); return *this;} /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that you want * information about.

*/ inline DescribeDiscoveryJobRequest& WithDiscoveryJobArn(Aws::String&& value) { SetDiscoveryJobArn(std::move(value)); return *this;} /** *

Specifies the Amazon Resource Name (ARN) of the discovery job that you want * information about.

*/ inline DescribeDiscoveryJobRequest& WithDiscoveryJobArn(const char* value) { SetDiscoveryJobArn(value); return *this;} private: Aws::String m_discoveryJobArn; bool m_discoveryJobArnHasBeenSet = false; }; } // namespace Model } // namespace DataSync } // namespace Aws