7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eks/EKS_EXPORTS.h>
10#include <aws/eks/model/AccessScope.h>
42 template <
typename PolicyArnT = Aws::String>
44 m_policyArnHasBeenSet =
true;
45 m_policyArn = std::forward<PolicyArnT>(value);
47 template <
typename PolicyArnT = Aws::String>
60 template <
typename AccessScopeT = AccessScope>
62 m_accessScopeHasBeenSet =
true;
63 m_accessScope = std::forward<AccessScopeT>(value);
65 template <
typename AccessScopeT = AccessScope>
79 template <
typename AssociatedAtT = Aws::Utils::DateTime>
81 m_associatedAtHasBeenSet =
true;
82 m_associatedAt = std::forward<AssociatedAtT>(value);
84 template <
typename AssociatedAtT = Aws::Utils::DateTime>
97 template <
typename ModifiedAtT = Aws::Utils::DateTime>
99 m_modifiedAtHasBeenSet =
true;
100 m_modifiedAt = std::forward<ModifiedAtT>(value);
102 template <
typename ModifiedAtT = Aws::Utils::DateTime>
116 bool m_policyArnHasBeenSet =
false;
117 bool m_accessScopeHasBeenSet =
false;
118 bool m_associatedAtHasBeenSet =
false;
119 bool m_modifiedAtHasBeenSet =
false;
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
AssociatedAccessPolicy & WithPolicyArn(PolicyArnT &&value)
void SetAssociatedAt(AssociatedAtT &&value)
AssociatedAccessPolicy & WithAccessScope(AccessScopeT &&value)
bool ModifiedAtHasBeenSet() const
bool AssociatedAtHasBeenSet() const
const AccessScope & GetAccessScope() const
AWS_EKS_API AssociatedAccessPolicy(Aws::Utils::Json::JsonView jsonValue)
bool AccessScopeHasBeenSet() const
bool PolicyArnHasBeenSet() const
const Aws::Utils::DateTime & GetModifiedAt() const
AWS_EKS_API AssociatedAccessPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPolicyArn(PolicyArnT &&value)
AssociatedAccessPolicy & WithModifiedAt(ModifiedAtT &&value)
AWS_EKS_API AssociatedAccessPolicy()=default
const Aws::Utils::DateTime & GetAssociatedAt() const
const Aws::String & GetPolicyArn() const
void SetModifiedAt(ModifiedAtT &&value)
void SetAccessScope(AccessScopeT &&value)
AssociatedAccessPolicy & WithAssociatedAt(AssociatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue