7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ram/model/ResourceStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/ram/model/ResourceRegionScope.h>
53 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
54 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
71 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
88 inline void SetResourceShareArn(
const char* value) { m_resourceShareArnHasBeenSet =
true; m_resourceShareArn.assign(value); }
105 inline void SetResourceGroupArn(
const char* value) { m_resourceGroupArnHasBeenSet =
true; m_resourceGroupArn.assign(value); }
131 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
181 bool m_arnHasBeenSet =
false;
184 bool m_typeHasBeenSet =
false;
187 bool m_resourceShareArnHasBeenSet =
false;
190 bool m_resourceGroupArnHasBeenSet =
false;
193 bool m_statusHasBeenSet =
false;
196 bool m_statusMessageHasBeenSet =
false;
199 bool m_creationTimeHasBeenSet =
false;
202 bool m_lastUpdatedTimeHasBeenSet =
false;
205 bool m_resourceRegionScopeHasBeenSet =
false;
Resource & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
bool CreationTimeHasBeenSet() const
void SetCreationTime(const Aws::Utils::DateTime &value)
Resource & WithArn(const Aws::String &value)
void SetResourceShareArn(const char *value)
void SetResourceRegionScope(const ResourceRegionScope &value)
void SetResourceGroupArn(const Aws::String &value)
void SetStatus(const ResourceStatus &value)
AWS_RAM_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
Resource & WithStatus(ResourceStatus &&value)
bool StatusHasBeenSet() const
const Aws::String & GetStatusMessage() const
const ResourceRegionScope & GetResourceRegionScope() const
void SetResourceShareArn(Aws::String &&value)
Resource & WithStatus(const ResourceStatus &value)
Resource & WithResourceRegionScope(const ResourceRegionScope &value)
const Aws::String & GetResourceGroupArn() const
Resource & WithResourceGroupArn(const Aws::String &value)
void SetArn(const Aws::String &value)
Resource & WithCreationTime(const Aws::Utils::DateTime &value)
bool LastUpdatedTimeHasBeenSet() const
Resource & WithArn(Aws::String &&value)
Resource & WithStatusMessage(Aws::String &&value)
Resource & WithType(Aws::String &&value)
bool StatusMessageHasBeenSet() const
const Aws::String & GetResourceShareArn() const
const Aws::String & GetType() const
bool ArnHasBeenSet() const
bool ResourceRegionScopeHasBeenSet() const
Resource & WithArn(const char *value)
Resource & WithResourceShareArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
bool TypeHasBeenSet() const
const ResourceStatus & GetStatus() const
void SetResourceGroupArn(const char *value)
bool ResourceShareArnHasBeenSet() const
void SetResourceShareArn(const Aws::String &value)
void SetStatus(ResourceStatus &&value)
void SetArn(const char *value)
Resource & WithStatusMessage(const Aws::String &value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Resource & WithCreationTime(Aws::Utils::DateTime &&value)
Resource & WithStatusMessage(const char *value)
Resource & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetType(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetType(const char *value)
void SetResourceGroupArn(Aws::String &&value)
Resource & WithResourceGroupArn(const char *value)
void SetType(const Aws::String &value)
Resource & WithResourceShareArn(const char *value)
void SetArn(Aws::String &&value)
void SetStatusMessage(const Aws::String &value)
bool ResourceGroupArnHasBeenSet() const
Resource & WithType(const Aws::String &value)
void SetStatusMessage(const char *value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Resource & WithResourceRegionScope(ResourceRegionScope &&value)
const Aws::String & GetArn() const
void SetStatusMessage(Aws::String &&value)
Resource & WithResourceShareArn(Aws::String &&value)
Resource & WithType(const char *value)
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RAM_API Resource(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(Aws::Utils::DateTime &&value)
Resource & WithResourceGroupArn(Aws::String &&value)
void SetResourceRegionScope(ResourceRegionScope &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue