AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
PodIdentityAssociationSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eks/EKS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EKS {
20namespace Model {
21
36 public:
37 AWS_EKS_API PodIdentityAssociationSummary() = default;
41
43
46 inline const Aws::String& GetClusterName() const { return m_clusterName; }
47 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
48 template <typename ClusterNameT = Aws::String>
49 void SetClusterName(ClusterNameT&& value) {
50 m_clusterNameHasBeenSet = true;
51 m_clusterName = std::forward<ClusterNameT>(value);
52 }
53 template <typename ClusterNameT = Aws::String>
55 SetClusterName(std::forward<ClusterNameT>(value));
56 return *this;
57 }
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) {
70 m_namespaceHasBeenSet = true;
71 m_namespace = std::forward<NamespaceT>(value);
72 }
73 template <typename NamespaceT = Aws::String>
75 SetNamespace(std::forward<NamespaceT>(value));
76 return *this;
77 }
79
81
85 inline const Aws::String& GetServiceAccount() const { return m_serviceAccount; }
86 inline bool ServiceAccountHasBeenSet() const { return m_serviceAccountHasBeenSet; }
87 template <typename ServiceAccountT = Aws::String>
88 void SetServiceAccount(ServiceAccountT&& value) {
89 m_serviceAccountHasBeenSet = true;
90 m_serviceAccount = std::forward<ServiceAccountT>(value);
91 }
92 template <typename ServiceAccountT = Aws::String>
94 SetServiceAccount(std::forward<ServiceAccountT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetAssociationArn() const { return m_associationArn; }
104 inline bool AssociationArnHasBeenSet() const { return m_associationArnHasBeenSet; }
105 template <typename AssociationArnT = Aws::String>
106 void SetAssociationArn(AssociationArnT&& value) {
107 m_associationArnHasBeenSet = true;
108 m_associationArn = std::forward<AssociationArnT>(value);
109 }
110 template <typename AssociationArnT = Aws::String>
112 SetAssociationArn(std::forward<AssociationArnT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetAssociationId() const { return m_associationId; }
122 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
123 template <typename AssociationIdT = Aws::String>
124 void SetAssociationId(AssociationIdT&& value) {
125 m_associationIdHasBeenSet = true;
126 m_associationId = std::forward<AssociationIdT>(value);
127 }
128 template <typename AssociationIdT = Aws::String>
130 SetAssociationId(std::forward<AssociationIdT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::String& GetOwnerArn() const { return m_ownerArn; }
140 inline bool OwnerArnHasBeenSet() const { return m_ownerArnHasBeenSet; }
141 template <typename OwnerArnT = Aws::String>
142 void SetOwnerArn(OwnerArnT&& value) {
143 m_ownerArnHasBeenSet = true;
144 m_ownerArn = std::forward<OwnerArnT>(value);
145 }
146 template <typename OwnerArnT = Aws::String>
148 SetOwnerArn(std::forward<OwnerArnT>(value));
149 return *this;
150 }
152 private:
153 Aws::String m_clusterName;
154
155 Aws::String m_namespace;
156
157 Aws::String m_serviceAccount;
158
159 Aws::String m_associationArn;
160
161 Aws::String m_associationId;
162
163 Aws::String m_ownerArn;
164 bool m_clusterNameHasBeenSet = false;
165 bool m_namespaceHasBeenSet = false;
166 bool m_serviceAccountHasBeenSet = false;
167 bool m_associationArnHasBeenSet = false;
168 bool m_associationIdHasBeenSet = false;
169 bool m_ownerArnHasBeenSet = false;
170};
171
172} // namespace Model
173} // namespace EKS
174} // 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