/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LicenseManager { namespace Model { /** *

Details of the license configuration that this generator reports * on.

See Also:

AWS * API Reference

*/ class ReportContext { public: AWS_LICENSEMANAGER_API ReportContext(); AWS_LICENSEMANAGER_API ReportContext(Aws::Utils::Json::JsonView jsonValue); AWS_LICENSEMANAGER_API ReportContext& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Amazon Resource Name (ARN) of the license configuration that this generator * reports on.

*/ inline const Aws::Vector& GetLicenseConfigurationArns() const{ return m_licenseConfigurationArns; } /** *

Amazon Resource Name (ARN) of the license configuration that this generator * reports on.

*/ inline bool LicenseConfigurationArnsHasBeenSet() const { return m_licenseConfigurationArnsHasBeenSet; } /** *

Amazon Resource Name (ARN) of the license configuration that this generator * reports on.

*/ inline void SetLicenseConfigurationArns(const Aws::Vector& value) { m_licenseConfigurationArnsHasBeenSet = true; m_licenseConfigurationArns = value; } /** *

Amazon Resource Name (ARN) of the license configuration that this generator * reports on.

*/ inline void SetLicenseConfigurationArns(Aws::Vector&& value) { m_licenseConfigurationArnsHasBeenSet = true; m_licenseConfigurationArns = std::move(value); } /** *

Amazon Resource Name (ARN) of the license configuration that this generator * reports on.

*/ inline ReportContext& WithLicenseConfigurationArns(const Aws::Vector& value) { SetLicenseConfigurationArns(value); return *this;} /** *

Amazon Resource Name (ARN) of the license configuration that this generator * reports on.

*/ inline ReportContext& WithLicenseConfigurationArns(Aws::Vector&& value) { SetLicenseConfigurationArns(std::move(value)); return *this;} /** *

Amazon Resource Name (ARN) of the license configuration that this generator * reports on.

*/ inline ReportContext& AddLicenseConfigurationArns(const Aws::String& value) { m_licenseConfigurationArnsHasBeenSet = true; m_licenseConfigurationArns.push_back(value); return *this; } /** *

Amazon Resource Name (ARN) of the license configuration that this generator * reports on.

*/ inline ReportContext& AddLicenseConfigurationArns(Aws::String&& value) { m_licenseConfigurationArnsHasBeenSet = true; m_licenseConfigurationArns.push_back(std::move(value)); return *this; } /** *

Amazon Resource Name (ARN) of the license configuration that this generator * reports on.

*/ inline ReportContext& AddLicenseConfigurationArns(const char* value) { m_licenseConfigurationArnsHasBeenSet = true; m_licenseConfigurationArns.push_back(value); return *this; } private: Aws::Vector m_licenseConfigurationArns; bool m_licenseConfigurationArnsHasBeenSet = false; }; } // namespace Model } // namespace LicenseManager } // namespace Aws