7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/license-manager/model/ResourceType.h>
10#include <aws/core/utils/DateTime.h>
23namespace LicenseManager
49 template<
typename ResourceArnT = Aws::String>
50 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
51 template<
typename ResourceArnT = Aws::String>
72 template<
typename ResourceOwnerIdT = Aws::String>
73 void SetResourceOwnerId(ResourceOwnerIdT&& value) { m_resourceOwnerIdHasBeenSet =
true; m_resourceOwnerId = std::forward<ResourceOwnerIdT>(value); }
74 template<
typename ResourceOwnerIdT = Aws::String>
84 template<
typename AssociationTimeT = Aws::Utils::DateTime>
85 void SetAssociationTime(AssociationTimeT&& value) { m_associationTimeHasBeenSet =
true; m_associationTime = std::forward<AssociationTimeT>(value); }
86 template<
typename AssociationTimeT = Aws::Utils::DateTime>
97 template<
typename AmiAssociationScopeT = Aws::String>
98 void SetAmiAssociationScope(AmiAssociationScopeT&& value) { m_amiAssociationScopeHasBeenSet =
true; m_amiAssociationScope = std::forward<AmiAssociationScopeT>(value); }
99 template<
typename AmiAssociationScopeT = Aws::String>
105 bool m_resourceArnHasBeenSet =
false;
108 bool m_resourceTypeHasBeenSet =
false;
111 bool m_resourceOwnerIdHasBeenSet =
false;
114 bool m_associationTimeHasBeenSet =
false;
117 bool m_amiAssociationScopeHasBeenSet =
false;
void SetAssociationTime(AssociationTimeT &&value)
AWS_LICENSEMANAGER_API LicenseConfigurationAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AssociationTimeHasBeenSet() const
void SetResourceOwnerId(ResourceOwnerIdT &&value)
const Aws::String & GetResourceOwnerId() const
bool AmiAssociationScopeHasBeenSet() const
LicenseConfigurationAssociation & WithAssociationTime(AssociationTimeT &&value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceArn(ResourceArnT &&value)
bool ResourceTypeHasBeenSet() const
void SetResourceType(ResourceType value)
LicenseConfigurationAssociation & WithResourceType(ResourceType value)
bool ResourceOwnerIdHasBeenSet() const
const Aws::String & GetResourceArn() const
LicenseConfigurationAssociation & WithResourceOwnerId(ResourceOwnerIdT &&value)
LicenseConfigurationAssociation & WithAmiAssociationScope(AmiAssociationScopeT &&value)
AWS_LICENSEMANAGER_API LicenseConfigurationAssociation(Aws::Utils::Json::JsonView jsonValue)
LicenseConfigurationAssociation & WithResourceArn(ResourceArnT &&value)
ResourceType GetResourceType() const
AWS_LICENSEMANAGER_API LicenseConfigurationAssociation()=default
const Aws::Utils::DateTime & GetAssociationTime() const
bool ResourceArnHasBeenSet() const
void SetAmiAssociationScope(AmiAssociationScopeT &&value)
const Aws::String & GetAmiAssociationScope() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue