/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an association with a license configuration.See
* Also:
AWS
* API Reference
Amazon Resource Name (ARN) of the resource.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *Amazon Resource Name (ARN) of the resource.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *Amazon Resource Name (ARN) of the resource.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *Amazon Resource Name (ARN) of the resource.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *Amazon Resource Name (ARN) of the resource.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *Amazon Resource Name (ARN) of the resource.
*/ inline LicenseConfigurationAssociation& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *Amazon Resource Name (ARN) of the resource.
*/ inline LicenseConfigurationAssociation& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *Amazon Resource Name (ARN) of the resource.
*/ inline LicenseConfigurationAssociation& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *Type of server resource.
*/ inline const ResourceType& GetResourceType() const{ return m_resourceType; } /** *Type of server resource.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *Type of server resource.
*/ inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *Type of server resource.
*/ inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *Type of server resource.
*/ inline LicenseConfigurationAssociation& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} /** *Type of server resource.
*/ inline LicenseConfigurationAssociation& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} /** *ID of the Amazon Web Services account that owns the resource consuming * licenses.
*/ inline const Aws::String& GetResourceOwnerId() const{ return m_resourceOwnerId; } /** *ID of the Amazon Web Services account that owns the resource consuming * licenses.
*/ inline bool ResourceOwnerIdHasBeenSet() const { return m_resourceOwnerIdHasBeenSet; } /** *ID of the Amazon Web Services account that owns the resource consuming * licenses.
*/ inline void SetResourceOwnerId(const Aws::String& value) { m_resourceOwnerIdHasBeenSet = true; m_resourceOwnerId = value; } /** *ID of the Amazon Web Services account that owns the resource consuming * licenses.
*/ inline void SetResourceOwnerId(Aws::String&& value) { m_resourceOwnerIdHasBeenSet = true; m_resourceOwnerId = std::move(value); } /** *ID of the Amazon Web Services account that owns the resource consuming * licenses.
*/ inline void SetResourceOwnerId(const char* value) { m_resourceOwnerIdHasBeenSet = true; m_resourceOwnerId.assign(value); } /** *ID of the Amazon Web Services account that owns the resource consuming * licenses.
*/ inline LicenseConfigurationAssociation& WithResourceOwnerId(const Aws::String& value) { SetResourceOwnerId(value); return *this;} /** *ID of the Amazon Web Services account that owns the resource consuming * licenses.
*/ inline LicenseConfigurationAssociation& WithResourceOwnerId(Aws::String&& value) { SetResourceOwnerId(std::move(value)); return *this;} /** *ID of the Amazon Web Services account that owns the resource consuming * licenses.
*/ inline LicenseConfigurationAssociation& WithResourceOwnerId(const char* value) { SetResourceOwnerId(value); return *this;} /** *Time when the license configuration was associated with the resource.
*/ inline const Aws::Utils::DateTime& GetAssociationTime() const{ return m_associationTime; } /** *Time when the license configuration was associated with the resource.
*/ inline bool AssociationTimeHasBeenSet() const { return m_associationTimeHasBeenSet; } /** *Time when the license configuration was associated with the resource.
*/ inline void SetAssociationTime(const Aws::Utils::DateTime& value) { m_associationTimeHasBeenSet = true; m_associationTime = value; } /** *Time when the license configuration was associated with the resource.
*/ inline void SetAssociationTime(Aws::Utils::DateTime&& value) { m_associationTimeHasBeenSet = true; m_associationTime = std::move(value); } /** *Time when the license configuration was associated with the resource.
*/ inline LicenseConfigurationAssociation& WithAssociationTime(const Aws::Utils::DateTime& value) { SetAssociationTime(value); return *this;} /** *Time when the license configuration was associated with the resource.
*/ inline LicenseConfigurationAssociation& WithAssociationTime(Aws::Utils::DateTime&& value) { SetAssociationTime(std::move(value)); return *this;} /** *Scope of AMI associations. The possible value is
* cross-account
.
Scope of AMI associations. The possible value is
* cross-account
.
Scope of AMI associations. The possible value is
* cross-account
.
Scope of AMI associations. The possible value is
* cross-account
.
Scope of AMI associations. The possible value is
* cross-account
.
Scope of AMI associations. The possible value is
* cross-account
.
Scope of AMI associations. The possible value is
* cross-account
.
Scope of AMI associations. The possible value is
* cross-account
.