AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KubernetesRoleBindingDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_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 GuardDuty
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GUARDDUTY_API KubernetesRoleBindingDetails();
38 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetKind() const{ return m_kind; }
47 inline bool KindHasBeenSet() const { return m_kindHasBeenSet; }
48 inline void SetKind(const Aws::String& value) { m_kindHasBeenSet = true; m_kind = value; }
49 inline void SetKind(Aws::String&& value) { m_kindHasBeenSet = true; m_kind = std::move(value); }
50 inline void SetKind(const char* value) { m_kindHasBeenSet = true; m_kind.assign(value); }
51 inline KubernetesRoleBindingDetails& WithKind(const Aws::String& value) { SetKind(value); return *this;}
52 inline KubernetesRoleBindingDetails& WithKind(Aws::String&& value) { SetKind(std::move(value)); return *this;}
53 inline KubernetesRoleBindingDetails& WithKind(const char* value) { SetKind(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline KubernetesRoleBindingDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline KubernetesRoleBindingDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline KubernetesRoleBindingDetails& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::String& GetUid() const{ return m_uid; }
75 inline bool UidHasBeenSet() const { return m_uidHasBeenSet; }
76 inline void SetUid(const Aws::String& value) { m_uidHasBeenSet = true; m_uid = value; }
77 inline void SetUid(Aws::String&& value) { m_uidHasBeenSet = true; m_uid = std::move(value); }
78 inline void SetUid(const char* value) { m_uidHasBeenSet = true; m_uid.assign(value); }
79 inline KubernetesRoleBindingDetails& WithUid(const Aws::String& value) { SetUid(value); return *this;}
80 inline KubernetesRoleBindingDetails& WithUid(Aws::String&& value) { SetUid(std::move(value)); return *this;}
81 inline KubernetesRoleBindingDetails& WithUid(const char* value) { SetUid(value); return *this;}
83
85
89 inline const Aws::String& GetRoleRefName() const{ return m_roleRefName; }
90 inline bool RoleRefNameHasBeenSet() const { return m_roleRefNameHasBeenSet; }
91 inline void SetRoleRefName(const Aws::String& value) { m_roleRefNameHasBeenSet = true; m_roleRefName = value; }
92 inline void SetRoleRefName(Aws::String&& value) { m_roleRefNameHasBeenSet = true; m_roleRefName = std::move(value); }
93 inline void SetRoleRefName(const char* value) { m_roleRefNameHasBeenSet = true; m_roleRefName.assign(value); }
94 inline KubernetesRoleBindingDetails& WithRoleRefName(const Aws::String& value) { SetRoleRefName(value); return *this;}
95 inline KubernetesRoleBindingDetails& WithRoleRefName(Aws::String&& value) { SetRoleRefName(std::move(value)); return *this;}
96 inline KubernetesRoleBindingDetails& WithRoleRefName(const char* value) { SetRoleRefName(value); return *this;}
98
100
104 inline const Aws::String& GetRoleRefKind() const{ return m_roleRefKind; }
105 inline bool RoleRefKindHasBeenSet() const { return m_roleRefKindHasBeenSet; }
106 inline void SetRoleRefKind(const Aws::String& value) { m_roleRefKindHasBeenSet = true; m_roleRefKind = value; }
107 inline void SetRoleRefKind(Aws::String&& value) { m_roleRefKindHasBeenSet = true; m_roleRefKind = std::move(value); }
108 inline void SetRoleRefKind(const char* value) { m_roleRefKindHasBeenSet = true; m_roleRefKind.assign(value); }
109 inline KubernetesRoleBindingDetails& WithRoleRefKind(const Aws::String& value) { SetRoleRefKind(value); return *this;}
110 inline KubernetesRoleBindingDetails& WithRoleRefKind(Aws::String&& value) { SetRoleRefKind(std::move(value)); return *this;}
111 inline KubernetesRoleBindingDetails& WithRoleRefKind(const char* value) { SetRoleRefKind(value); return *this;}
113 private:
114
115 Aws::String m_kind;
116 bool m_kindHasBeenSet = false;
117
118 Aws::String m_name;
119 bool m_nameHasBeenSet = false;
120
121 Aws::String m_uid;
122 bool m_uidHasBeenSet = false;
123
124 Aws::String m_roleRefName;
125 bool m_roleRefNameHasBeenSet = false;
126
127 Aws::String m_roleRefKind;
128 bool m_roleRefKindHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace GuardDuty
133} // namespace Aws
KubernetesRoleBindingDetails & WithKind(const char *value)
KubernetesRoleBindingDetails & WithRoleRefKind(const Aws::String &value)
KubernetesRoleBindingDetails & WithUid(const char *value)
KubernetesRoleBindingDetails & WithRoleRefKind(Aws::String &&value)
KubernetesRoleBindingDetails & WithUid(Aws::String &&value)
KubernetesRoleBindingDetails & WithName(const char *value)
KubernetesRoleBindingDetails & WithUid(const Aws::String &value)
KubernetesRoleBindingDetails & WithKind(Aws::String &&value)
KubernetesRoleBindingDetails & WithName(const Aws::String &value)
AWS_GUARDDUTY_API KubernetesRoleBindingDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
KubernetesRoleBindingDetails & WithKind(const Aws::String &value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
KubernetesRoleBindingDetails & WithName(Aws::String &&value)
AWS_GUARDDUTY_API KubernetesRoleBindingDetails(Aws::Utils::Json::JsonView jsonValue)
KubernetesRoleBindingDetails & WithRoleRefName(Aws::String &&value)
KubernetesRoleBindingDetails & WithRoleRefName(const char *value)
KubernetesRoleBindingDetails & WithRoleRefName(const Aws::String &value)
KubernetesRoleBindingDetails & WithRoleRefKind(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue