7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ram/RAM_EXPORTS.h>
42 template <
typename IdT = Aws::String>
44 m_idHasBeenSet =
true;
45 m_id = std::forward<IdT>(value);
47 template <
typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
63 template <
typename ResourceShareArnT = Aws::String>
65 m_resourceShareArnHasBeenSet =
true;
66 m_resourceShareArn = std::forward<ResourceShareArnT>(value);
68 template <
typename ResourceShareArnT = Aws::String>
82 template <
typename CreationTimeT = Aws::Utils::DateTime>
84 m_creationTimeHasBeenSet =
true;
85 m_creationTime = std::forward<CreationTimeT>(value);
87 template <
typename CreationTimeT = Aws::Utils::DateTime>
101 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
103 m_lastUpdatedTimeHasBeenSet =
true;
104 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
106 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
124 m_externalHasBeenSet =
true;
141 bool m_external{
false};
142 bool m_idHasBeenSet =
false;
143 bool m_resourceShareArnHasBeenSet =
false;
144 bool m_creationTimeHasBeenSet =
false;
145 bool m_lastUpdatedTimeHasBeenSet =
false;
146 bool m_externalHasBeenSet =
false;
bool ExternalHasBeenSet() const
AWS_RAM_API Principal()=default
void SetCreationTime(CreationTimeT &&value)
void SetExternal(bool value)
Principal & WithId(IdT &&value)
bool LastUpdatedTimeHasBeenSet() const
bool IdHasBeenSet() const
const Aws::String & GetResourceShareArn() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::String & GetId() const
AWS_RAM_API Aws::Utils::Json::JsonValue Jsonize() const
Principal & WithCreationTime(CreationTimeT &&value)
AWS_RAM_API Principal & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceShareArnHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
AWS_RAM_API Principal(Aws::Utils::Json::JsonView jsonValue)
bool CreationTimeHasBeenSet() const
Principal & WithResourceShareArn(ResourceShareArnT &&value)
Principal & WithExternal(bool value)
Principal & WithLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetResourceShareArn(ResourceShareArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue