7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/license-manager/LicenseManager_EXPORTS.h>
10#include <aws/license-manager/model/ResourceType.h>
21namespace LicenseManager {
43 template <
typename ResourceArnT = Aws::String>
45 m_resourceArnHasBeenSet =
true;
46 m_resourceArn = std::forward<ResourceArnT>(value);
48 template <
typename ResourceArnT = Aws::String>
62 m_resourceTypeHasBeenSet =
true;
63 m_resourceType = value;
78 template <
typename ResourceOwnerIdT = Aws::String>
80 m_resourceOwnerIdHasBeenSet =
true;
81 m_resourceOwnerId = std::forward<ResourceOwnerIdT>(value);
83 template <
typename ResourceOwnerIdT = Aws::String>
96 template <
typename AssociationTimeT = Aws::Utils::DateTime>
98 m_associationTimeHasBeenSet =
true;
99 m_associationTime = std::forward<AssociationTimeT>(value);
101 template <
typename AssociationTimeT = Aws::Utils::DateTime>
115 template <
typename AmiAssociationScopeT = Aws::String>
117 m_amiAssociationScopeHasBeenSet =
true;
118 m_amiAssociationScope = std::forward<AmiAssociationScopeT>(value);
120 template <
typename AmiAssociationScopeT = Aws::String>
136 bool m_resourceArnHasBeenSet =
false;
137 bool m_resourceTypeHasBeenSet =
false;
138 bool m_resourceOwnerIdHasBeenSet =
false;
139 bool m_associationTimeHasBeenSet =
false;
140 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