86 lines
3.0 KiB
C++
86 lines
3.0 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/license-manager/LicenseManager_EXPORTS.h>
|
|
#include <aws/license-manager/LicenseManagerRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace LicenseManager
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_LICENSEMANAGER_API GetLicenseConfigurationRequest : public LicenseManagerRequest
|
|
{
|
|
public:
|
|
GetLicenseConfigurationRequest();
|
|
|
|
// 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 "GetLicenseConfiguration"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>Amazon Resource Name (ARN) of the license configuration.</p>
|
|
*/
|
|
inline const Aws::String& GetLicenseConfigurationArn() const{ return m_licenseConfigurationArn; }
|
|
|
|
/**
|
|
* <p>Amazon Resource Name (ARN) of the license configuration.</p>
|
|
*/
|
|
inline bool LicenseConfigurationArnHasBeenSet() const { return m_licenseConfigurationArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Amazon Resource Name (ARN) of the license configuration.</p>
|
|
*/
|
|
inline void SetLicenseConfigurationArn(const Aws::String& value) { m_licenseConfigurationArnHasBeenSet = true; m_licenseConfigurationArn = value; }
|
|
|
|
/**
|
|
* <p>Amazon Resource Name (ARN) of the license configuration.</p>
|
|
*/
|
|
inline void SetLicenseConfigurationArn(Aws::String&& value) { m_licenseConfigurationArnHasBeenSet = true; m_licenseConfigurationArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>Amazon Resource Name (ARN) of the license configuration.</p>
|
|
*/
|
|
inline void SetLicenseConfigurationArn(const char* value) { m_licenseConfigurationArnHasBeenSet = true; m_licenseConfigurationArn.assign(value); }
|
|
|
|
/**
|
|
* <p>Amazon Resource Name (ARN) of the license configuration.</p>
|
|
*/
|
|
inline GetLicenseConfigurationRequest& WithLicenseConfigurationArn(const Aws::String& value) { SetLicenseConfigurationArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>Amazon Resource Name (ARN) of the license configuration.</p>
|
|
*/
|
|
inline GetLicenseConfigurationRequest& WithLicenseConfigurationArn(Aws::String&& value) { SetLicenseConfigurationArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Amazon Resource Name (ARN) of the license configuration.</p>
|
|
*/
|
|
inline GetLicenseConfigurationRequest& WithLicenseConfigurationArn(const char* value) { SetLicenseConfigurationArn(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_licenseConfigurationArn;
|
|
bool m_licenseConfigurationArnHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace LicenseManager
|
|
} // namespace Aws
|