AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AssertionAttributes.h
1
6#pragma once
7#include <aws/grafana/ManagedGrafana_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 ManagedGrafana
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_MANAGEDGRAFANA_API AssertionAttributes() = default;
37 AWS_MANAGEDGRAFANA_API AssertionAttributes(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MANAGEDGRAFANA_API AssertionAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetEmail() const { return m_email; }
48 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
49 template<typename EmailT = Aws::String>
50 void SetEmail(EmailT&& value) { m_emailHasBeenSet = true; m_email = std::forward<EmailT>(value); }
51 template<typename EmailT = Aws::String>
52 AssertionAttributes& WithEmail(EmailT&& value) { SetEmail(std::forward<EmailT>(value)); return *this;}
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) { m_groupsHasBeenSet = true; m_groups = std::forward<GroupsT>(value); }
64 template<typename GroupsT = Aws::String>
65 AssertionAttributes& WithGroups(GroupsT&& value) { SetGroups(std::forward<GroupsT>(value)); return *this;}
67
69
73 inline const Aws::String& GetLogin() const { return m_login; }
74 inline bool LoginHasBeenSet() const { return m_loginHasBeenSet; }
75 template<typename LoginT = Aws::String>
76 void SetLogin(LoginT&& value) { m_loginHasBeenSet = true; m_login = std::forward<LoginT>(value); }
77 template<typename LoginT = Aws::String>
78 AssertionAttributes& WithLogin(LoginT&& value) { SetLogin(std::forward<LoginT>(value)); return *this;}
80
82
86 inline const Aws::String& GetName() const { return m_name; }
87 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
88 template<typename NameT = Aws::String>
89 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
90 template<typename NameT = Aws::String>
91 AssertionAttributes& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
93
95
99 inline const Aws::String& GetOrg() const { return m_org; }
100 inline bool OrgHasBeenSet() const { return m_orgHasBeenSet; }
101 template<typename OrgT = Aws::String>
102 void SetOrg(OrgT&& value) { m_orgHasBeenSet = true; m_org = std::forward<OrgT>(value); }
103 template<typename OrgT = Aws::String>
104 AssertionAttributes& WithOrg(OrgT&& value) { SetOrg(std::forward<OrgT>(value)); return *this;}
106
108
112 inline const Aws::String& GetRole() const { return m_role; }
113 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
114 template<typename RoleT = Aws::String>
115 void SetRole(RoleT&& value) { m_roleHasBeenSet = true; m_role = std::forward<RoleT>(value); }
116 template<typename RoleT = Aws::String>
117 AssertionAttributes& WithRole(RoleT&& value) { SetRole(std::forward<RoleT>(value)); return *this;}
119 private:
120
121 Aws::String m_email;
122 bool m_emailHasBeenSet = false;
123
124 Aws::String m_groups;
125 bool m_groupsHasBeenSet = false;
126
127 Aws::String m_login;
128 bool m_loginHasBeenSet = false;
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 Aws::String m_org;
134 bool m_orgHasBeenSet = false;
135
136 Aws::String m_role;
137 bool m_roleHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace ManagedGrafana
142} // 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