/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace LicenseManager { namespace Model { /** */ class UpdateLicenseManagerReportGeneratorRequest : public LicenseManagerRequest { public: AWS_LICENSEMANAGER_API UpdateLicenseManagerReportGeneratorRequest(); // 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 "UpdateLicenseManagerReportGenerator"; } AWS_LICENSEMANAGER_API Aws::String SerializePayload() const override; AWS_LICENSEMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Amazon Resource Name (ARN) of the report generator to update.

*/ inline const Aws::String& GetLicenseManagerReportGeneratorArn() const{ return m_licenseManagerReportGeneratorArn; } /** *

Amazon Resource Name (ARN) of the report generator to update.

*/ inline bool LicenseManagerReportGeneratorArnHasBeenSet() const { return m_licenseManagerReportGeneratorArnHasBeenSet; } /** *

Amazon Resource Name (ARN) of the report generator to update.

*/ inline void SetLicenseManagerReportGeneratorArn(const Aws::String& value) { m_licenseManagerReportGeneratorArnHasBeenSet = true; m_licenseManagerReportGeneratorArn = value; } /** *

Amazon Resource Name (ARN) of the report generator to update.

*/ inline void SetLicenseManagerReportGeneratorArn(Aws::String&& value) { m_licenseManagerReportGeneratorArnHasBeenSet = true; m_licenseManagerReportGeneratorArn = std::move(value); } /** *

Amazon Resource Name (ARN) of the report generator to update.

*/ inline void SetLicenseManagerReportGeneratorArn(const char* value) { m_licenseManagerReportGeneratorArnHasBeenSet = true; m_licenseManagerReportGeneratorArn.assign(value); } /** *

Amazon Resource Name (ARN) of the report generator to update.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithLicenseManagerReportGeneratorArn(const Aws::String& value) { SetLicenseManagerReportGeneratorArn(value); return *this;} /** *

Amazon Resource Name (ARN) of the report generator to update.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithLicenseManagerReportGeneratorArn(Aws::String&& value) { SetLicenseManagerReportGeneratorArn(std::move(value)); return *this;} /** *

Amazon Resource Name (ARN) of the report generator to update.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithLicenseManagerReportGeneratorArn(const char* value) { SetLicenseManagerReportGeneratorArn(value); return *this;} /** *

Name of the report generator.

*/ inline const Aws::String& GetReportGeneratorName() const{ return m_reportGeneratorName; } /** *

Name of the report generator.

*/ inline bool ReportGeneratorNameHasBeenSet() const { return m_reportGeneratorNameHasBeenSet; } /** *

Name of the report generator.

*/ inline void SetReportGeneratorName(const Aws::String& value) { m_reportGeneratorNameHasBeenSet = true; m_reportGeneratorName = value; } /** *

Name of the report generator.

*/ inline void SetReportGeneratorName(Aws::String&& value) { m_reportGeneratorNameHasBeenSet = true; m_reportGeneratorName = std::move(value); } /** *

Name of the report generator.

*/ inline void SetReportGeneratorName(const char* value) { m_reportGeneratorNameHasBeenSet = true; m_reportGeneratorName.assign(value); } /** *

Name of the report generator.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithReportGeneratorName(const Aws::String& value) { SetReportGeneratorName(value); return *this;} /** *

Name of the report generator.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithReportGeneratorName(Aws::String&& value) { SetReportGeneratorName(std::move(value)); return *this;} /** *

Name of the report generator.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithReportGeneratorName(const char* value) { SetReportGeneratorName(value); return *this;} /** *

Type of reports to generate. The following report types are supported:

*
  • License configuration report - Reports the number and details of * consumed licenses for a license configuration.

  • Resource report * - Reports the tracked licenses and resource consumption for a license * configuration.

*/ inline const Aws::Vector& GetType() const{ return m_type; } /** *

Type of reports to generate. The following report types are supported:

*
  • License configuration report - Reports the number and details of * consumed licenses for a license configuration.

  • Resource report * - Reports the tracked licenses and resource consumption for a license * configuration.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

Type of reports to generate. The following report types are supported:

*
  • License configuration report - Reports the number and details of * consumed licenses for a license configuration.

  • Resource report * - Reports the tracked licenses and resource consumption for a license * configuration.

*/ inline void SetType(const Aws::Vector& value) { m_typeHasBeenSet = true; m_type = value; } /** *

Type of reports to generate. The following report types are supported:

*
  • License configuration report - Reports the number and details of * consumed licenses for a license configuration.

  • Resource report * - Reports the tracked licenses and resource consumption for a license * configuration.

*/ inline void SetType(Aws::Vector&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

Type of reports to generate. The following report types are supported:

*
  • License configuration report - Reports the number and details of * consumed licenses for a license configuration.

  • Resource report * - Reports the tracked licenses and resource consumption for a license * configuration.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithType(const Aws::Vector& value) { SetType(value); return *this;} /** *

Type of reports to generate. The following report types are supported:

*
  • License configuration report - Reports the number and details of * consumed licenses for a license configuration.

  • Resource report * - Reports the tracked licenses and resource consumption for a license * configuration.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithType(Aws::Vector&& value) { SetType(std::move(value)); return *this;} /** *

Type of reports to generate. The following report types are supported:

*
  • License configuration report - Reports the number and details of * consumed licenses for a license configuration.

  • Resource report * - Reports the tracked licenses and resource consumption for a license * configuration.

*/ inline UpdateLicenseManagerReportGeneratorRequest& AddType(const ReportType& value) { m_typeHasBeenSet = true; m_type.push_back(value); return *this; } /** *

Type of reports to generate. The following report types are supported:

*
  • License configuration report - Reports the number and details of * consumed licenses for a license configuration.

  • Resource report * - Reports the tracked licenses and resource consumption for a license * configuration.

*/ inline UpdateLicenseManagerReportGeneratorRequest& AddType(ReportType&& value) { m_typeHasBeenSet = true; m_type.push_back(std::move(value)); return *this; } /** *

The report context.

*/ inline const ReportContext& GetReportContext() const{ return m_reportContext; } /** *

The report context.

*/ inline bool ReportContextHasBeenSet() const { return m_reportContextHasBeenSet; } /** *

The report context.

*/ inline void SetReportContext(const ReportContext& value) { m_reportContextHasBeenSet = true; m_reportContext = value; } /** *

The report context.

*/ inline void SetReportContext(ReportContext&& value) { m_reportContextHasBeenSet = true; m_reportContext = std::move(value); } /** *

The report context.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithReportContext(const ReportContext& value) { SetReportContext(value); return *this;} /** *

The report context.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithReportContext(ReportContext&& value) { SetReportContext(std::move(value)); return *this;} /** *

Frequency by which reports are generated.

*/ inline const ReportFrequency& GetReportFrequency() const{ return m_reportFrequency; } /** *

Frequency by which reports are generated.

*/ inline bool ReportFrequencyHasBeenSet() const { return m_reportFrequencyHasBeenSet; } /** *

Frequency by which reports are generated.

*/ inline void SetReportFrequency(const ReportFrequency& value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = value; } /** *

Frequency by which reports are generated.

*/ inline void SetReportFrequency(ReportFrequency&& value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = std::move(value); } /** *

Frequency by which reports are generated.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithReportFrequency(const ReportFrequency& value) { SetReportFrequency(value); return *this;} /** *

Frequency by which reports are generated.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithReportFrequency(ReportFrequency&& value) { SetReportFrequency(std::move(value)); return *this;} /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency * of the request.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

Description of the report generator.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

Description of the report generator.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

Description of the report generator.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

Description of the report generator.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

Description of the report generator.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

Description of the report generator.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Description of the report generator.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

Description of the report generator.

*/ inline UpdateLicenseManagerReportGeneratorRequest& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_licenseManagerReportGeneratorArn; bool m_licenseManagerReportGeneratorArnHasBeenSet = false; Aws::String m_reportGeneratorName; bool m_reportGeneratorNameHasBeenSet = false; Aws::Vector m_type; bool m_typeHasBeenSet = false; ReportContext m_reportContext; bool m_reportContextHasBeenSet = false; ReportFrequency m_reportFrequency; bool m_reportFrequencyHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace LicenseManager } // namespace Aws