AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
AddonPodIdentityAssociations.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
33 public:
34 AWS_EKS_API AddonPodIdentityAssociations() = default;
38
40
43 inline const Aws::String& GetServiceAccount() const { return m_serviceAccount; }
44 inline bool ServiceAccountHasBeenSet() const { return m_serviceAccountHasBeenSet; }
45 template <typename ServiceAccountT = Aws::String>
46 void SetServiceAccount(ServiceAccountT&& value) {
47 m_serviceAccountHasBeenSet = true;
48 m_serviceAccount = std::forward<ServiceAccountT>(value);
49 }
50 template <typename ServiceAccountT = Aws::String>
52 SetServiceAccount(std::forward<ServiceAccountT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
62 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
63 template <typename RoleArnT = Aws::String>
64 void SetRoleArn(RoleArnT&& value) {
65 m_roleArnHasBeenSet = true;
66 m_roleArn = std::forward<RoleArnT>(value);
67 }
68 template <typename RoleArnT = Aws::String>
70 SetRoleArn(std::forward<RoleArnT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_serviceAccount;
76
77 Aws::String m_roleArn;
78 bool m_serviceAccountHasBeenSet = false;
79 bool m_roleArnHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace EKS
84} // namespace Aws
AWS_EKS_API AddonPodIdentityAssociations & operator=(Aws::Utils::Json::JsonView jsonValue)
AddonPodIdentityAssociations & WithRoleArn(RoleArnT &&value)
AddonPodIdentityAssociations & WithServiceAccount(ServiceAccountT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EKS_API AddonPodIdentityAssociations()=default
AWS_EKS_API AddonPodIdentityAssociations(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue