7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/PolicyGrantDetail.h>
11#include <aws/datazone/model/PolicyGrantPrincipal.h>
43 template <
typename PrincipalT = PolicyGrantPrincipal>
45 m_principalHasBeenSet =
true;
46 m_principal = std::forward<PrincipalT>(value);
48 template <
typename PrincipalT = PolicyGrantPrincipal>
61 template <
typename DetailT = PolicyGrantDetail>
63 m_detailHasBeenSet =
true;
64 m_detail = std::forward<DetailT>(value);
66 template <
typename DetailT = PolicyGrantDetail>
79 template <
typename CreatedAtT = Aws::Utils::DateTime>
81 m_createdAtHasBeenSet =
true;
82 m_createdAt = std::forward<CreatedAtT>(value);
84 template <
typename CreatedAtT = Aws::Utils::DateTime>
97 template <
typename CreatedByT = Aws::String>
99 m_createdByHasBeenSet =
true;
100 m_createdBy = std::forward<CreatedByT>(value);
102 template <
typename CreatedByT = Aws::String>
115 template <
typename GrantIdT = Aws::String>
117 m_grantIdHasBeenSet =
true;
118 m_grantId = std::forward<GrantIdT>(value);
120 template <
typename GrantIdT = Aws::String>
136 bool m_principalHasBeenSet =
false;
137 bool m_detailHasBeenSet =
false;
138 bool m_createdAtHasBeenSet =
false;
139 bool m_createdByHasBeenSet =
false;
140 bool m_grantIdHasBeenSet =
false;
const PolicyGrantDetail & GetDetail() const
PolicyGrantMember & WithPrincipal(PrincipalT &&value)
void SetCreatedAt(CreatedAtT &&value)
AWS_DATAZONE_API PolicyGrantMember & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API PolicyGrantMember(Aws::Utils::Json::JsonView jsonValue)
PolicyGrantMember & WithCreatedAt(CreatedAtT &&value)
const PolicyGrantPrincipal & GetPrincipal() const
bool CreatedByHasBeenSet() const
PolicyGrantMember & WithGrantId(GrantIdT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
PolicyGrantMember & WithCreatedBy(CreatedByT &&value)
AWS_DATAZONE_API PolicyGrantMember()=default
bool CreatedAtHasBeenSet() const
bool PrincipalHasBeenSet() const
void SetDetail(DetailT &&value)
void SetPrincipal(PrincipalT &&value)
PolicyGrantMember & WithDetail(DetailT &&value)
void SetGrantId(GrantIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetGrantId() const
bool DetailHasBeenSet() const
void SetCreatedBy(CreatedByT &&value)
bool GrantIdHasBeenSet() const
const Aws::String & GetCreatedBy() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue