AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceAccountSummary.h
1
6#pragma once
7#include <aws/grafana/ManagedGrafana_EXPORTS.h>
8#include <aws/grafana/model/Role.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ManagedGrafana
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MANAGEDGRAFANA_API ServiceAccountSummary();
37 AWS_MANAGEDGRAFANA_API ServiceAccountSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Role& GetGrafanaRole() const{ return m_grafanaRole; }
48 inline bool GrafanaRoleHasBeenSet() const { return m_grafanaRoleHasBeenSet; }
49 inline void SetGrafanaRole(const Role& value) { m_grafanaRoleHasBeenSet = true; m_grafanaRole = value; }
50 inline void SetGrafanaRole(Role&& value) { m_grafanaRoleHasBeenSet = true; m_grafanaRole = std::move(value); }
51 inline ServiceAccountSummary& WithGrafanaRole(const Role& value) { SetGrafanaRole(value); return *this;}
52 inline ServiceAccountSummary& WithGrafanaRole(Role&& value) { SetGrafanaRole(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetId() const{ return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
62 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
63 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
64 inline ServiceAccountSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
65 inline ServiceAccountSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
66 inline ServiceAccountSummary& WithId(const char* value) { SetId(value); return *this;}
68
70
74 inline const Aws::String& GetIsDisabled() const{ return m_isDisabled; }
75 inline bool IsDisabledHasBeenSet() const { return m_isDisabledHasBeenSet; }
76 inline void SetIsDisabled(const Aws::String& value) { m_isDisabledHasBeenSet = true; m_isDisabled = value; }
77 inline void SetIsDisabled(Aws::String&& value) { m_isDisabledHasBeenSet = true; m_isDisabled = std::move(value); }
78 inline void SetIsDisabled(const char* value) { m_isDisabledHasBeenSet = true; m_isDisabled.assign(value); }
79 inline ServiceAccountSummary& WithIsDisabled(const Aws::String& value) { SetIsDisabled(value); return *this;}
80 inline ServiceAccountSummary& WithIsDisabled(Aws::String&& value) { SetIsDisabled(std::move(value)); return *this;}
81 inline ServiceAccountSummary& WithIsDisabled(const char* value) { SetIsDisabled(value); return *this;}
83
85
88 inline const Aws::String& GetName() const{ return m_name; }
89 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
90 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
91 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
92 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
93 inline ServiceAccountSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
94 inline ServiceAccountSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
95 inline ServiceAccountSummary& WithName(const char* value) { SetName(value); return *this;}
97 private:
98
99 Role m_grafanaRole;
100 bool m_grafanaRoleHasBeenSet = false;
101
102 Aws::String m_id;
103 bool m_idHasBeenSet = false;
104
105 Aws::String m_isDisabled;
106 bool m_isDisabledHasBeenSet = false;
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace ManagedGrafana
114} // namespace Aws
ServiceAccountSummary & WithIsDisabled(const char *value)
AWS_MANAGEDGRAFANA_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceAccountSummary & WithId(Aws::String &&value)
AWS_MANAGEDGRAFANA_API ServiceAccountSummary(Aws::Utils::Json::JsonView jsonValue)
ServiceAccountSummary & WithName(const Aws::String &value)
ServiceAccountSummary & WithId(const Aws::String &value)
ServiceAccountSummary & WithIsDisabled(const Aws::String &value)
ServiceAccountSummary & WithId(const char *value)
ServiceAccountSummary & WithName(Aws::String &&value)
ServiceAccountSummary & WithName(const char *value)
ServiceAccountSummary & WithIsDisabled(Aws::String &&value)
AWS_MANAGEDGRAFANA_API ServiceAccountSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceAccountSummary & WithGrafanaRole(Role &&value)
ServiceAccountSummary & WithGrafanaRole(const Role &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue