AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PodIdentityAssociation.h
1
6#pragma once
7#include <aws/eks-auth/EKSAuth_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 EKSAuth
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_EKSAUTH_API PodIdentityAssociation();
40 AWS_EKSAUTH_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAssociationArn() const{ return m_associationArn; }
48 inline bool AssociationArnHasBeenSet() const { return m_associationArnHasBeenSet; }
49 inline void SetAssociationArn(const Aws::String& value) { m_associationArnHasBeenSet = true; m_associationArn = value; }
50 inline void SetAssociationArn(Aws::String&& value) { m_associationArnHasBeenSet = true; m_associationArn = std::move(value); }
51 inline void SetAssociationArn(const char* value) { m_associationArnHasBeenSet = true; m_associationArn.assign(value); }
52 inline PodIdentityAssociation& WithAssociationArn(const Aws::String& value) { SetAssociationArn(value); return *this;}
53 inline PodIdentityAssociation& WithAssociationArn(Aws::String&& value) { SetAssociationArn(std::move(value)); return *this;}
54 inline PodIdentityAssociation& WithAssociationArn(const char* value) { SetAssociationArn(value); return *this;}
56
58
61 inline const Aws::String& GetAssociationId() const{ return m_associationId; }
62 inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; }
63 inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; }
64 inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); }
65 inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); }
66 inline PodIdentityAssociation& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;}
67 inline PodIdentityAssociation& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;}
68 inline PodIdentityAssociation& WithAssociationId(const char* value) { SetAssociationId(value); return *this;}
70 private:
71
72 Aws::String m_associationArn;
73 bool m_associationArnHasBeenSet = false;
74
75 Aws::String m_associationId;
76 bool m_associationIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace EKSAuth
81} // namespace Aws
PodIdentityAssociation & WithAssociationId(Aws::String &&value)
PodIdentityAssociation & WithAssociationArn(Aws::String &&value)
PodIdentityAssociation & WithAssociationArn(const char *value)
PodIdentityAssociation & WithAssociationArn(const Aws::String &value)
AWS_EKSAUTH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EKSAUTH_API PodIdentityAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
PodIdentityAssociation & WithAssociationId(const Aws::String &value)
PodIdentityAssociation & WithAssociationId(const char *value)
AWS_EKSAUTH_API PodIdentityAssociation(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue