AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
50 inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
51 inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
52 inline AssertionAttributes& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
53 inline AssertionAttributes& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
54 inline AssertionAttributes& WithEmail(const char* value) { SetEmail(value); return *this;}
56
58
62 inline const Aws::String& GetGroups() const{ return m_groups; }
63 inline bool GroupsHasBeenSet() const { return m_groupsHasBeenSet; }
64 inline void SetGroups(const Aws::String& value) { m_groupsHasBeenSet = true; m_groups = value; }
65 inline void SetGroups(Aws::String&& value) { m_groupsHasBeenSet = true; m_groups = std::move(value); }
66 inline void SetGroups(const char* value) { m_groupsHasBeenSet = true; m_groups.assign(value); }
67 inline AssertionAttributes& WithGroups(const Aws::String& value) { SetGroups(value); return *this;}
68 inline AssertionAttributes& WithGroups(Aws::String&& value) { SetGroups(std::move(value)); return *this;}
69 inline AssertionAttributes& WithGroups(const char* value) { SetGroups(value); return *this;}
71
73
77 inline const Aws::String& GetLogin() const{ return m_login; }
78 inline bool LoginHasBeenSet() const { return m_loginHasBeenSet; }
79 inline void SetLogin(const Aws::String& value) { m_loginHasBeenSet = true; m_login = value; }
80 inline void SetLogin(Aws::String&& value) { m_loginHasBeenSet = true; m_login = std::move(value); }
81 inline void SetLogin(const char* value) { m_loginHasBeenSet = true; m_login.assign(value); }
82 inline AssertionAttributes& WithLogin(const Aws::String& value) { SetLogin(value); return *this;}
83 inline AssertionAttributes& WithLogin(Aws::String&& value) { SetLogin(std::move(value)); return *this;}
84 inline AssertionAttributes& WithLogin(const char* value) { SetLogin(value); return *this;}
86
88
92 inline const Aws::String& GetName() const{ return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
95 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
96 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
97 inline AssertionAttributes& WithName(const Aws::String& value) { SetName(value); return *this;}
98 inline AssertionAttributes& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
99 inline AssertionAttributes& WithName(const char* value) { SetName(value); return *this;}
101
103
107 inline const Aws::String& GetOrg() const{ return m_org; }
108 inline bool OrgHasBeenSet() const { return m_orgHasBeenSet; }
109 inline void SetOrg(const Aws::String& value) { m_orgHasBeenSet = true; m_org = value; }
110 inline void SetOrg(Aws::String&& value) { m_orgHasBeenSet = true; m_org = std::move(value); }
111 inline void SetOrg(const char* value) { m_orgHasBeenSet = true; m_org.assign(value); }
112 inline AssertionAttributes& WithOrg(const Aws::String& value) { SetOrg(value); return *this;}
113 inline AssertionAttributes& WithOrg(Aws::String&& value) { SetOrg(std::move(value)); return *this;}
114 inline AssertionAttributes& WithOrg(const char* value) { SetOrg(value); return *this;}
116
118
122 inline const Aws::String& GetRole() const{ return m_role; }
123 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
124 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
125 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
126 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
127 inline AssertionAttributes& WithRole(const Aws::String& value) { SetRole(value); return *this;}
128 inline AssertionAttributes& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
129 inline AssertionAttributes& WithRole(const char* value) { SetRole(value); return *this;}
131 private:
132
133 Aws::String m_email;
134 bool m_emailHasBeenSet = false;
135
136 Aws::String m_groups;
137 bool m_groupsHasBeenSet = false;
138
139 Aws::String m_login;
140 bool m_loginHasBeenSet = false;
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 Aws::String m_org;
146 bool m_orgHasBeenSet = false;
147
148 Aws::String m_role;
149 bool m_roleHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace ManagedGrafana
154} // namespace Aws
AssertionAttributes & WithName(const Aws::String &value)
AssertionAttributes & WithOrg(const char *value)
AssertionAttributes & WithEmail(Aws::String &&value)
AssertionAttributes & WithLogin(const Aws::String &value)
AssertionAttributes & WithGroups(Aws::String &&value)
AWS_MANAGEDGRAFANA_API AssertionAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AssertionAttributes & WithOrg(const Aws::String &value)
AssertionAttributes & WithName(Aws::String &&value)
AssertionAttributes & WithLogin(Aws::String &&value)
AssertionAttributes & WithRole(Aws::String &&value)
AWS_MANAGEDGRAFANA_API AssertionAttributes(Aws::Utils::Json::JsonView jsonValue)
AssertionAttributes & WithEmail(const char *value)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
AssertionAttributes & WithName(const char *value)
AssertionAttributes & WithOrg(Aws::String &&value)
AssertionAttributes & WithLogin(const char *value)
AssertionAttributes & WithRole(const Aws::String &value)
AssertionAttributes & WithRole(const char *value)
AssertionAttributes & WithGroups(const Aws::String &value)
AssertionAttributes & WithEmail(const Aws::String &value)
AssertionAttributes & WithGroups(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue