AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
AssertionAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/grafana/ManagedGrafana_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ManagedGrafana {
20namespace Model {
21
30 public:
31 AWS_MANAGEDGRAFANA_API AssertionAttributes() = default;
32 AWS_MANAGEDGRAFANA_API AssertionAttributes(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MANAGEDGRAFANA_API AssertionAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetEmail() const { return m_email; }
42 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
43 template <typename EmailT = Aws::String>
44 void SetEmail(EmailT&& value) {
45 m_emailHasBeenSet = true;
46 m_email = std::forward<EmailT>(value);
47 }
48 template <typename EmailT = Aws::String>
49 AssertionAttributes& WithEmail(EmailT&& value) {
50 SetEmail(std::forward<EmailT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetGroups() const { return m_groups; }
61 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
62 template <typename GroupsT = Aws::String>
63 void SetGroups(GroupsT&& value) {
64 m_groupsHasBeenSet = true;
65 m_groups = std::forward<GroupsT>(value);
66 }
67 template <typename GroupsT = Aws::String>
68 AssertionAttributes& WithGroups(GroupsT&& value) {
69 SetGroups(std::forward<GroupsT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetLogin() const { return m_login; }
80 inline bool LoginHasBeenSet() const { return m_loginHasBeenSet; }
81 template <typename LoginT = Aws::String>
82 void SetLogin(LoginT&& value) {
83 m_loginHasBeenSet = true;
84 m_login = std::forward<LoginT>(value);
85 }
86 template <typename LoginT = Aws::String>
87 AssertionAttributes& WithLogin(LoginT&& value) {
88 SetLogin(std::forward<LoginT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetName() const { return m_name; }
99 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
100 template <typename NameT = Aws::String>
101 void SetName(NameT&& value) {
102 m_nameHasBeenSet = true;
103 m_name = std::forward<NameT>(value);
104 }
105 template <typename NameT = Aws::String>
107 SetName(std::forward<NameT>(value));
108 return *this;
109 }
111
113
117 inline const Aws::String& GetOrg() const { return m_org; }
118 inline bool OrgHasBeenSet() const { return m_orgHasBeenSet; }
119 template <typename OrgT = Aws::String>
120 void SetOrg(OrgT&& value) {
121 m_orgHasBeenSet = true;
122 m_org = std::forward<OrgT>(value);
123 }
124 template <typename OrgT = Aws::String>
126 SetOrg(std::forward<OrgT>(value));
127 return *this;
128 }
130
132
136 inline const Aws::String& GetRole() const { return m_role; }
137 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
138 template <typename RoleT = Aws::String>
139 void SetRole(RoleT&& value) {
140 m_roleHasBeenSet = true;
141 m_role = std::forward<RoleT>(value);
142 }
143 template <typename RoleT = Aws::String>
145 SetRole(std::forward<RoleT>(value));
146 return *this;
147 }
149 private:
150 Aws::String m_email;
151
152 Aws::String m_groups;
153
154 Aws::String m_login;
155
156 Aws::String m_name;
157
158 Aws::String m_org;
159
160 Aws::String m_role;
161 bool m_emailHasBeenSet = false;
162 bool m_groupsHasBeenSet = false;
163 bool m_loginHasBeenSet = false;
164 bool m_nameHasBeenSet = false;
165 bool m_orgHasBeenSet = false;
166 bool m_roleHasBeenSet = false;
167};
168
169} // namespace Model
170} // namespace ManagedGrafana
171} // namespace Aws
AWS_MANAGEDGRAFANA_API AssertionAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API AssertionAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
AssertionAttributes & WithGroups(GroupsT &&value)
AssertionAttributes & WithName(NameT &&value)
AssertionAttributes & WithLogin(LoginT &&value)
AssertionAttributes & WithOrg(OrgT &&value)
AWS_MANAGEDGRAFANA_API AssertionAttributes()=default
AssertionAttributes & WithEmail(EmailT &&value)
AssertionAttributes & WithRole(RoleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue