AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssumedRoleUser.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
33 {
34 public:
35 AWS_EKSAUTH_API AssumedRoleUser();
36 AWS_EKSAUTH_API AssumedRoleUser(Aws::Utils::Json::JsonView jsonValue);
38 AWS_EKSAUTH_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline AssumedRoleUser& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline AssumedRoleUser& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline AssumedRoleUser& WithArn(const char* value) { SetArn(value); return *this;}
54
56
64 inline const Aws::String& GetAssumeRoleId() const{ return m_assumeRoleId; }
65 inline bool AssumeRoleIdHasBeenSet() const { return m_assumeRoleIdHasBeenSet; }
66 inline void SetAssumeRoleId(const Aws::String& value) { m_assumeRoleIdHasBeenSet = true; m_assumeRoleId = value; }
67 inline void SetAssumeRoleId(Aws::String&& value) { m_assumeRoleIdHasBeenSet = true; m_assumeRoleId = std::move(value); }
68 inline void SetAssumeRoleId(const char* value) { m_assumeRoleIdHasBeenSet = true; m_assumeRoleId.assign(value); }
69 inline AssumedRoleUser& WithAssumeRoleId(const Aws::String& value) { SetAssumeRoleId(value); return *this;}
70 inline AssumedRoleUser& WithAssumeRoleId(Aws::String&& value) { SetAssumeRoleId(std::move(value)); return *this;}
71 inline AssumedRoleUser& WithAssumeRoleId(const char* value) { SetAssumeRoleId(value); return *this;}
73 private:
74
75 Aws::String m_arn;
76 bool m_arnHasBeenSet = false;
77
78 Aws::String m_assumeRoleId;
79 bool m_assumeRoleIdHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace EKSAuth
84} // namespace Aws
AssumedRoleUser & WithAssumeRoleId(const Aws::String &value)
void SetArn(const Aws::String &value)
void SetAssumeRoleId(const char *value)
AWS_EKSAUTH_API Aws::Utils::Json::JsonValue Jsonize() const
AssumedRoleUser & WithArn(const Aws::String &value)
AssumedRoleUser & WithAssumeRoleId(const char *value)
AWS_EKSAUTH_API AssumedRoleUser(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAssumeRoleId() const
AssumedRoleUser & WithAssumeRoleId(Aws::String &&value)
AWS_EKSAUTH_API AssumedRoleUser & operator=(Aws::Utils::Json::JsonView jsonValue)
AssumedRoleUser & WithArn(Aws::String &&value)
void SetAssumeRoleId(Aws::String &&value)
void SetArn(Aws::String &&value)
AssumedRoleUser & WithArn(const char *value)
void SetAssumeRoleId(const Aws::String &value)
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue