98 lines
3.5 KiB
C++
98 lines
3.5 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
|
|
#include <aws/imagebuilder/ImagebuilderRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Http
|
|
{
|
|
class URI;
|
|
} //namespace Http
|
|
namespace imagebuilder
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_IMAGEBUILDER_API GetDistributionConfigurationRequest : public ImagebuilderRequest
|
|
{
|
|
public:
|
|
GetDistributionConfigurationRequest();
|
|
|
|
// 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 "GetDistributionConfiguration"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration that you
|
|
* want to retrieve. </p>
|
|
*/
|
|
inline const Aws::String& GetDistributionConfigurationArn() const{ return m_distributionConfigurationArn; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration that you
|
|
* want to retrieve. </p>
|
|
*/
|
|
inline bool DistributionConfigurationArnHasBeenSet() const { return m_distributionConfigurationArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration that you
|
|
* want to retrieve. </p>
|
|
*/
|
|
inline void SetDistributionConfigurationArn(const Aws::String& value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration that you
|
|
* want to retrieve. </p>
|
|
*/
|
|
inline void SetDistributionConfigurationArn(Aws::String&& value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration that you
|
|
* want to retrieve. </p>
|
|
*/
|
|
inline void SetDistributionConfigurationArn(const char* value) { m_distributionConfigurationArnHasBeenSet = true; m_distributionConfigurationArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration that you
|
|
* want to retrieve. </p>
|
|
*/
|
|
inline GetDistributionConfigurationRequest& WithDistributionConfigurationArn(const Aws::String& value) { SetDistributionConfigurationArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration that you
|
|
* want to retrieve. </p>
|
|
*/
|
|
inline GetDistributionConfigurationRequest& WithDistributionConfigurationArn(Aws::String&& value) { SetDistributionConfigurationArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the distribution configuration that you
|
|
* want to retrieve. </p>
|
|
*/
|
|
inline GetDistributionConfigurationRequest& WithDistributionConfigurationArn(const char* value) { SetDistributionConfigurationArn(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_distributionConfigurationArn;
|
|
bool m_distributionConfigurationArnHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace imagebuilder
|
|
} // namespace Aws
|