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
51 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
77 inline void SetResourceStatus(
const char* value) { m_resourceStatusHasBeenSet =
true; m_resourceStatus.assign(value); }
91 inline void SetResourceOwnerId(
const char* value) { m_resourceOwnerIdHasBeenSet =
true; m_resourceOwnerId.assign(value); }
116 inline void SetConsumedLicenses(
long long value) { m_consumedLicensesHasBeenSet =
true; m_consumedLicenses = value; }
122 bool m_resourceArnHasBeenSet =
false;
125 bool m_resourceTypeHasBeenSet =
false;
128 bool m_resourceStatusHasBeenSet =
false;
131 bool m_resourceOwnerIdHasBeenSet =
false;
134 bool m_associationTimeHasBeenSet =
false;
136 long long m_consumedLicenses;
137 bool m_consumedLicensesHasBeenSet =
false;
LicenseConfigurationUsage & WithResourceOwnerId(const Aws::String &value)
LicenseConfigurationUsage & WithResourceArn(Aws::String &&value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
long long GetConsumedLicenses() const
bool ResourceTypeHasBeenSet() const
const Aws::String & GetResourceOwnerId() const
AWS_LICENSEMANAGER_API LicenseConfigurationUsage(Aws::Utils::Json::JsonView jsonValue)
void SetResourceOwnerId(const char *value)
bool ConsumedLicensesHasBeenSet() const
const Aws::Utils::DateTime & GetAssociationTime() const
void SetResourceArn(Aws::String &&value)
const Aws::String & GetResourceStatus() const
bool AssociationTimeHasBeenSet() const
LicenseConfigurationUsage & WithResourceStatus(Aws::String &&value)
const ResourceType & GetResourceType() const
LicenseConfigurationUsage & WithAssociationTime(const Aws::Utils::DateTime &value)
LicenseConfigurationUsage & WithResourceOwnerId(Aws::String &&value)
void SetAssociationTime(Aws::Utils::DateTime &&value)
LicenseConfigurationUsage & WithAssociationTime(Aws::Utils::DateTime &&value)
void SetResourceArn(const Aws::String &value)
void SetConsumedLicenses(long long value)
LicenseConfigurationUsage & WithResourceArn(const char *value)
LicenseConfigurationUsage & WithResourceType(ResourceType &&value)
AWS_LICENSEMANAGER_API LicenseConfigurationUsage()
const Aws::String & GetResourceArn() const
bool ResourceStatusHasBeenSet() const
LicenseConfigurationUsage & WithResourceArn(const Aws::String &value)
LicenseConfigurationUsage & WithResourceOwnerId(const char *value)
LicenseConfigurationUsage & WithResourceType(const ResourceType &value)
LicenseConfigurationUsage & WithConsumedLicenses(long long value)
void SetResourceType(ResourceType &&value)
AWS_LICENSEMANAGER_API LicenseConfigurationUsage & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceOwnerId(const Aws::String &value)
void SetResourceStatus(const char *value)
LicenseConfigurationUsage & WithResourceStatus(const Aws::String &value)
bool ResourceOwnerIdHasBeenSet() const
void SetResourceArn(const char *value)
void SetResourceOwnerId(Aws::String &&value)
void SetResourceStatus(Aws::String &&value)
void SetResourceStatus(const Aws::String &value)
bool ResourceArnHasBeenSet() const
void SetAssociationTime(const Aws::Utils::DateTime &value)
void SetResourceType(const ResourceType &value)
LicenseConfigurationUsage & WithResourceStatus(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue