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>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/license-manager/model/Metadata.h>
25namespace LicenseManager
52 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
78 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
104 inline void SetOperationName(
const char* value) { m_operationNameHasBeenSet =
true; m_operationName.assign(value); }
118 inline void SetResourceOwnerId(
const char* value) { m_resourceOwnerIdHasBeenSet =
true; m_resourceOwnerId.assign(value); }
132 inline void SetOperationRequestedBy(
const char* value) { m_operationRequestedByHasBeenSet =
true; m_operationRequestedBy.assign(value); }
154 bool m_resourceArnHasBeenSet =
false;
157 bool m_resourceTypeHasBeenSet =
false;
160 bool m_errorMessageHasBeenSet =
false;
163 bool m_failureTimeHasBeenSet =
false;
166 bool m_operationNameHasBeenSet =
false;
169 bool m_resourceOwnerIdHasBeenSet =
false;
172 bool m_operationRequestedByHasBeenSet =
false;
175 bool m_metadataListHasBeenSet =
false;
void SetResourceArn(const char *value)
void SetOperationRequestedBy(const char *value)
void SetResourceType(ResourceType &&value)
bool FailureTimeHasBeenSet() const
const Aws::Vector< Metadata > & GetMetadataList() const
LicenseOperationFailure & WithErrorMessage(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
const Aws::String & GetOperationName() const
LicenseOperationFailure & WithResourceArn(Aws::String &&value)
void SetOperationRequestedBy(const Aws::String &value)
void SetResourceArn(Aws::String &&value)
void SetResourceOwnerId(const char *value)
AWS_LICENSEMANAGER_API LicenseOperationFailure & operator=(Aws::Utils::Json::JsonView jsonValue)
const ResourceType & GetResourceType() const
LicenseOperationFailure & WithResourceType(const ResourceType &value)
AWS_LICENSEMANAGER_API LicenseOperationFailure()
void SetResourceOwnerId(Aws::String &&value)
LicenseOperationFailure & WithResourceType(ResourceType &&value)
void SetOperationName(Aws::String &&value)
LicenseOperationFailure & WithMetadataList(Aws::Vector< Metadata > &&value)
void SetFailureTime(const Aws::Utils::DateTime &value)
bool ResourceArnHasBeenSet() const
void SetErrorMessage(const char *value)
const Aws::String & GetOperationRequestedBy() const
LicenseOperationFailure & WithOperationName(Aws::String &&value)
LicenseOperationFailure & WithOperationRequestedBy(const char *value)
void SetResourceType(const ResourceType &value)
void SetFailureTime(Aws::Utils::DateTime &&value)
LicenseOperationFailure & WithFailureTime(const Aws::Utils::DateTime &value)
LicenseOperationFailure & AddMetadataList(const Metadata &value)
LicenseOperationFailure & WithResourceOwnerId(const Aws::String &value)
void SetMetadataList(const Aws::Vector< Metadata > &value)
void SetOperationName(const char *value)
LicenseOperationFailure & WithResourceArn(const char *value)
LicenseOperationFailure & WithOperationName(const Aws::String &value)
LicenseOperationFailure & WithFailureTime(Aws::Utils::DateTime &&value)
bool OperationRequestedByHasBeenSet() const
const Aws::String & GetResourceOwnerId() const
LicenseOperationFailure & WithOperationRequestedBy(const Aws::String &value)
bool ErrorMessageHasBeenSet() const
LicenseOperationFailure & WithErrorMessage(const char *value)
AWS_LICENSEMANAGER_API LicenseOperationFailure(Aws::Utils::Json::JsonView jsonValue)
void SetOperationRequestedBy(Aws::String &&value)
LicenseOperationFailure & WithResourceOwnerId(Aws::String &&value)
const Aws::String & GetErrorMessage() const
LicenseOperationFailure & AddMetadataList(Metadata &&value)
LicenseOperationFailure & WithOperationRequestedBy(Aws::String &&value)
void SetResourceOwnerId(const Aws::String &value)
void SetOperationName(const Aws::String &value)
LicenseOperationFailure & WithMetadataList(const Aws::Vector< Metadata > &value)
const Aws::String & GetResourceArn() const
LicenseOperationFailure & WithResourceOwnerId(const char *value)
bool ResourceOwnerIdHasBeenSet() const
LicenseOperationFailure & WithResourceArn(const Aws::String &value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetFailureTime() const
bool MetadataListHasBeenSet() const
void SetResourceArn(const Aws::String &value)
LicenseOperationFailure & WithOperationName(const char *value)
void SetErrorMessage(const Aws::String &value)
bool OperationNameHasBeenSet() const
LicenseOperationFailure & WithErrorMessage(const Aws::String &value)
void SetMetadataList(Aws::Vector< Metadata > &&value)
void SetErrorMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue