7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
49 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
50 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
67 inline void SetResourceShareArn(
const char* value) { m_resourceShareArnHasBeenSet =
true; m_resourceShareArn.assign(value); }
109 inline void SetExternal(
bool value) { m_externalHasBeenSet =
true; m_external = value; }
115 bool m_idHasBeenSet =
false;
118 bool m_resourceShareArnHasBeenSet =
false;
121 bool m_creationTimeHasBeenSet =
false;
124 bool m_lastUpdatedTimeHasBeenSet =
false;
127 bool m_externalHasBeenSet =
false;
bool ExternalHasBeenSet() const
void SetExternal(bool value)
bool LastUpdatedTimeHasBeenSet() const
Principal & WithResourceShareArn(Aws::String &&value)
Principal & WithResourceShareArn(const char *value)
bool IdHasBeenSet() const
void SetCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetResourceShareArn() const
Principal & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Principal & WithId(Aws::String &&value)
const Aws::String & GetId() const
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
Principal & WithResourceShareArn(const Aws::String &value)
Principal & WithCreationTime(Aws::Utils::DateTime &&value)
void SetResourceShareArn(Aws::String &&value)
void SetId(const char *value)
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RAM_API Principal & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceShareArnHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Principal & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_RAM_API Principal(Aws::Utils::Json::JsonView jsonValue)
bool CreationTimeHasBeenSet() const
Principal & WithId(const Aws::String &value)
Principal & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Principal & WithExternal(bool value)
Principal & WithId(const char *value)
void SetResourceShareArn(const char *value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetResourceShareArn(const Aws::String &value)
void SetId(Aws::String &&value)
void SetId(const Aws::String &value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue