7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eks/model/AccessScope.h>
10#include <aws/core/utils/DateTime.h>
48 template<
typename PolicyArnT = Aws::String>
49 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet =
true; m_policyArn = std::forward<PolicyArnT>(value); }
50 template<
typename PolicyArnT = Aws::String>
60 template<
typename AccessScopeT = AccessScope>
61 void SetAccessScope(AccessScopeT&& value) { m_accessScopeHasBeenSet =
true; m_accessScope = std::forward<AccessScopeT>(value); }
62 template<
typename AccessScopeT = AccessScope>
73 template<
typename AssociatedAtT = Aws::Utils::DateTime>
74 void SetAssociatedAt(AssociatedAtT&& value) { m_associatedAtHasBeenSet =
true; m_associatedAt = std::forward<AssociatedAtT>(value); }
75 template<
typename AssociatedAtT = Aws::Utils::DateTime>
85 template<
typename ModifiedAtT = Aws::Utils::DateTime>
86 void SetModifiedAt(ModifiedAtT&& value) { m_modifiedAtHasBeenSet =
true; m_modifiedAt = std::forward<ModifiedAtT>(value); }
87 template<
typename ModifiedAtT = Aws::Utils::DateTime>
93 bool m_policyArnHasBeenSet =
false;
96 bool m_accessScopeHasBeenSet =
false;
99 bool m_associatedAtHasBeenSet =
false;
102 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