AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PodIdentityAssociationSummary.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EKS
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_EKS_API PodIdentityAssociationSummary() = default;
46
47
49
52 inline const Aws::String& GetClusterName() const { return m_clusterName; }
53 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
54 template<typename ClusterNameT = Aws::String>
55 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
56 template<typename ClusterNameT = Aws::String>
57 PodIdentityAssociationSummary& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
59
61
66 inline const Aws::String& GetNamespace() const { return m_namespace; }
67 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
68 template<typename NamespaceT = Aws::String>
69 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet = true; m_namespace = std::forward<NamespaceT>(value); }
70 template<typename NamespaceT = Aws::String>
71 PodIdentityAssociationSummary& WithNamespace(NamespaceT&& value) { SetNamespace(std::forward<NamespaceT>(value)); return *this;}
73
75
79 inline const Aws::String& GetServiceAccount() const { return m_serviceAccount; }
80 inline bool ServiceAccountHasBeenSet() const { return m_serviceAccountHasBeenSet; }
81 template<typename ServiceAccountT = Aws::String>
82 void SetServiceAccount(ServiceAccountT&& value) { m_serviceAccountHasBeenSet = true; m_serviceAccount = std::forward<ServiceAccountT>(value); }
83 template<typename ServiceAccountT = Aws::String>
84 PodIdentityAssociationSummary& WithServiceAccount(ServiceAccountT&& value) { SetServiceAccount(std::forward<ServiceAccountT>(value)); return *this;}
86
88
91 inline const Aws::String& GetAssociationArn() const { return m_associationArn; }
92 inline bool AssociationArnHasBeenSet() const { return m_associationArnHasBeenSet; }
93 template<typename AssociationArnT = Aws::String>
94 void SetAssociationArn(AssociationArnT&& value) { m_associationArnHasBeenSet = true; m_associationArn = std::forward<AssociationArnT>(value); }
95 template<typename AssociationArnT = Aws::String>
96 PodIdentityAssociationSummary& WithAssociationArn(AssociationArnT&& value) { SetAssociationArn(std::forward<AssociationArnT>(value)); return *this;}
98
100
103 inline const Aws::String& GetAssociationId() const { return m_associationId; }
104 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
105 template<typename AssociationIdT = Aws::String>
106 void SetAssociationId(AssociationIdT&& value) { m_associationIdHasBeenSet = true; m_associationId = std::forward<AssociationIdT>(value); }
107 template<typename AssociationIdT = Aws::String>
108 PodIdentityAssociationSummary& WithAssociationId(AssociationIdT&& value) { SetAssociationId(std::forward<AssociationIdT>(value)); return *this;}
110
112
115 inline const Aws::String& GetOwnerArn() const { return m_ownerArn; }
116 inline bool OwnerArnHasBeenSet() const { return m_ownerArnHasBeenSet; }
117 template<typename OwnerArnT = Aws::String>
118 void SetOwnerArn(OwnerArnT&& value) { m_ownerArnHasBeenSet = true; m_ownerArn = std::forward<OwnerArnT>(value); }
119 template<typename OwnerArnT = Aws::String>
120 PodIdentityAssociationSummary& WithOwnerArn(OwnerArnT&& value) { SetOwnerArn(std::forward<OwnerArnT>(value)); return *this;}
122 private:
123
124 Aws::String m_clusterName;
125 bool m_clusterNameHasBeenSet = false;
126
127 Aws::String m_namespace;
128 bool m_namespaceHasBeenSet = false;
129
130 Aws::String m_serviceAccount;
131 bool m_serviceAccountHasBeenSet = false;
132
133 Aws::String m_associationArn;
134 bool m_associationArnHasBeenSet = false;
135
136 Aws::String m_associationId;
137 bool m_associationIdHasBeenSet = false;
138
139 Aws::String m_ownerArn;
140 bool m_ownerArnHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace EKS
145} // namespace Aws
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
PodIdentityAssociationSummary & WithAssociationId(AssociationIdT &&value)
PodIdentityAssociationSummary & WithServiceAccount(ServiceAccountT &&value)
PodIdentityAssociationSummary & WithOwnerArn(OwnerArnT &&value)
PodIdentityAssociationSummary & WithNamespace(NamespaceT &&value)
AWS_EKS_API PodIdentityAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API PodIdentityAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
PodIdentityAssociationSummary & WithClusterName(ClusterNameT &&value)
PodIdentityAssociationSummary & WithAssociationArn(AssociationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue