7#include <aws/ram/RAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
48 template<
typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
50 template<
typename IdT = Aws::String>
63 template<
typename ResourceShareArnT = Aws::String>
64 void SetResourceShareArn(ResourceShareArnT&& value) { m_resourceShareArnHasBeenSet =
true; m_resourceShareArn = std::forward<ResourceShareArnT>(value); }
65 template<
typename ResourceShareArnT = Aws::String>
76 template<
typename CreationTimeT = Aws::Utils::DateTime>
77 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
78 template<
typename CreationTimeT = Aws::Utils::DateTime>
89 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
90 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
91 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
105 inline void SetExternal(
bool value) { m_externalHasBeenSet =
true; m_external = value; }
111 bool m_idHasBeenSet =
false;
114 bool m_resourceShareArnHasBeenSet =
false;
117 bool m_creationTimeHasBeenSet =
false;
120 bool m_lastUpdatedTimeHasBeenSet =
false;
122 bool m_external{
false};
123 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