7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
55 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
72 inline void SetResourceName(
const char* value) { m_resourceNameHasBeenSet =
true; m_resourceName.assign(value); }
80 bool m_resourceTypeHasBeenSet =
false;
83 bool m_resourceNameHasBeenSet =
false;
void SetResourceName(const char *value)
Resource & WithResourceName(const char *value)
Resource & WithResourceName(Aws::String &&value)
Resource & WithResourceType(const char *value)
AWS_CLOUDTRAIL_API Resource()
AWS_CLOUDTRAIL_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
Resource & WithResourceType(const Aws::String &value)
Resource & WithResourceType(Aws::String &&value)
const Aws::String & GetResourceName() const
bool ResourceTypeHasBeenSet() const
void SetResourceType(Aws::String &&value)
const Aws::String & GetResourceType() const
void SetResourceName(Aws::String &&value)
void SetResourceType(const Aws::String &value)
void SetResourceType(const char *value)
AWS_CLOUDTRAIL_API Resource(Aws::Utils::Json::JsonView jsonValue)
Resource & WithResourceName(const Aws::String &value)
void SetResourceName(const Aws::String &value)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
bool ResourceNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue