AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AddonPodIdentityAssociations.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
37 {
38 public:
39 AWS_EKS_API AddonPodIdentityAssociations() = default;
43
44
46
49 inline const Aws::String& GetServiceAccount() const { return m_serviceAccount; }
50 inline bool ServiceAccountHasBeenSet() const { return m_serviceAccountHasBeenSet; }
51 template<typename ServiceAccountT = Aws::String>
52 void SetServiceAccount(ServiceAccountT&& value) { m_serviceAccountHasBeenSet = true; m_serviceAccount = std::forward<ServiceAccountT>(value); }
53 template<typename ServiceAccountT = Aws::String>
54 AddonPodIdentityAssociations& WithServiceAccount(ServiceAccountT&& value) { SetServiceAccount(std::forward<ServiceAccountT>(value)); return *this;}
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) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
65 template<typename RoleArnT = Aws::String>
66 AddonPodIdentityAssociations& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
68 private:
69
70 Aws::String m_serviceAccount;
71 bool m_serviceAccountHasBeenSet = false;
72
73 Aws::String m_roleArn;
74 bool m_roleArnHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace EKS
79} // 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