7#include <aws/resource-explorer-2/ResourceExplorer2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/resource-explorer-2/model/ResourceProperty.h>
24namespace ResourceExplorer2
55 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
56 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
83 inline void SetOwningAccountId(
const char* value) { m_owningAccountIdHasBeenSet =
true; m_owningAccountId.assign(value); }
114 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
128 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
143 inline void SetService(
const char* value) { m_serviceHasBeenSet =
true; m_service.assign(value); }
151 bool m_arnHasBeenSet =
false;
154 bool m_lastReportedAtHasBeenSet =
false;
157 bool m_owningAccountIdHasBeenSet =
false;
160 bool m_propertiesHasBeenSet =
false;
163 bool m_regionHasBeenSet =
false;
166 bool m_resourceTypeHasBeenSet =
false;
169 bool m_serviceHasBeenSet =
false;
const Aws::String & GetOwningAccountId() const
void SetLastReportedAt(Aws::Utils::DateTime &&value)
AWS_RESOURCEEXPLORER2_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(Aws::String &&value)
bool ArnHasBeenSet() const
Resource & WithProperties(Aws::Vector< ResourceProperty > &&value)
Resource & WithRegion(Aws::String &&value)
Resource & WithOwningAccountId(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
Resource & WithProperties(const Aws::Vector< ResourceProperty > &value)
AWS_RESOURCEEXPLORER2_API Resource()
Resource & WithService(const Aws::String &value)
void SetArn(const Aws::String &value)
void SetOwningAccountId(Aws::String &&value)
Resource & WithArn(const Aws::String &value)
Resource & WithService(const char *value)
AWS_RESOURCEEXPLORER2_API Resource(Aws::Utils::Json::JsonView jsonValue)
bool PropertiesHasBeenSet() const
Resource & WithRegion(const char *value)
const Aws::Utils::DateTime & GetLastReportedAt() const
void SetService(Aws::String &&value)
Resource & AddProperties(ResourceProperty &&value)
const Aws::String & GetRegion() const
Resource & AddProperties(const ResourceProperty &value)
void SetRegion(const char *value)
Resource & WithService(Aws::String &&value)
void SetLastReportedAt(const Aws::Utils::DateTime &value)
bool ServiceHasBeenSet() const
void SetResourceType(const Aws::String &value)
Resource & WithRegion(const Aws::String &value)
Resource & WithOwningAccountId(const Aws::String &value)
Resource & WithLastReportedAt(Aws::Utils::DateTime &&value)
void SetService(const char *value)
bool RegionHasBeenSet() const
void SetResourceType(const char *value)
const Aws::Vector< ResourceProperty > & GetProperties() const
Resource & WithResourceType(const char *value)
Resource & WithOwningAccountId(const char *value)
Resource & WithArn(Aws::String &&value)
bool LastReportedAtHasBeenSet() const
Resource & WithResourceType(Aws::String &&value)
const Aws::String & GetService() const
void SetProperties(Aws::Vector< ResourceProperty > &&value)
void SetRegion(const Aws::String &value)
void SetProperties(const Aws::Vector< ResourceProperty > &value)
void SetRegion(Aws::String &&value)
void SetArn(const char *value)
Resource & WithResourceType(const Aws::String &value)
Resource & WithLastReportedAt(const Aws::Utils::DateTime &value)
bool OwningAccountIdHasBeenSet() const
Resource & WithArn(const char *value)
void SetOwningAccountId(const char *value)
void SetOwningAccountId(const Aws::String &value)
AWS_RESOURCEEXPLORER2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetArn() const
const Aws::String & GetResourceType() const
void SetService(const Aws::String &value)
void SetResourceType(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