AWS SDK for C++

AWS SDK for C++ Version 1.11.795

Loading...
Searching...
No Matches
GroupProfileSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/GroupProfileStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
29 public:
30 AWS_DATAZONE_API GroupProfileSummary() = default;
33 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetDomainId() const { return m_domainId; }
40 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
41 template <typename DomainIdT = Aws::String>
42 void SetDomainId(DomainIdT&& value) {
43 m_domainIdHasBeenSet = true;
44 m_domainId = std::forward<DomainIdT>(value);
45 }
46 template <typename DomainIdT = Aws::String>
47 GroupProfileSummary& WithDomainId(DomainIdT&& value) {
48 SetDomainId(std::forward<DomainIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetId() const { return m_id; }
58 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
59 template <typename IdT = Aws::String>
60 void SetId(IdT&& value) {
61 m_idHasBeenSet = true;
62 m_id = std::forward<IdT>(value);
63 }
64 template <typename IdT = Aws::String>
66 SetId(std::forward<IdT>(value));
67 return *this;
68 }
70
72
75 inline GroupProfileStatus GetStatus() const { return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(GroupProfileStatus value) {
78 m_statusHasBeenSet = true;
79 m_status = value;
80 }
82 SetStatus(value);
83 return *this;
84 }
86
88
91 inline const Aws::String& GetGroupName() const { return m_groupName; }
92 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
93 template <typename GroupNameT = Aws::String>
94 void SetGroupName(GroupNameT&& value) {
95 m_groupNameHasBeenSet = true;
96 m_groupName = std::forward<GroupNameT>(value);
97 }
98 template <typename GroupNameT = Aws::String>
99 GroupProfileSummary& WithGroupName(GroupNameT&& value) {
100 SetGroupName(std::forward<GroupNameT>(value));
101 return *this;
102 }
104
106
110 inline const Aws::String& GetRolePrincipalArn() const { return m_rolePrincipalArn; }
111 inline bool RolePrincipalArnHasBeenSet() const { return m_rolePrincipalArnHasBeenSet; }
112 template <typename RolePrincipalArnT = Aws::String>
113 void SetRolePrincipalArn(RolePrincipalArnT&& value) {
114 m_rolePrincipalArnHasBeenSet = true;
115 m_rolePrincipalArn = std::forward<RolePrincipalArnT>(value);
116 }
117 template <typename RolePrincipalArnT = Aws::String>
118 GroupProfileSummary& WithRolePrincipalArn(RolePrincipalArnT&& value) {
119 SetRolePrincipalArn(std::forward<RolePrincipalArnT>(value));
120 return *this;
121 }
123
125
129 inline const Aws::String& GetRolePrincipalId() const { return m_rolePrincipalId; }
130 inline bool RolePrincipalIdHasBeenSet() const { return m_rolePrincipalIdHasBeenSet; }
131 template <typename RolePrincipalIdT = Aws::String>
132 void SetRolePrincipalId(RolePrincipalIdT&& value) {
133 m_rolePrincipalIdHasBeenSet = true;
134 m_rolePrincipalId = std::forward<RolePrincipalIdT>(value);
135 }
136 template <typename RolePrincipalIdT = Aws::String>
137 GroupProfileSummary& WithRolePrincipalId(RolePrincipalIdT&& value) {
138 SetRolePrincipalId(std::forward<RolePrincipalIdT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_domainId;
144
145 Aws::String m_id;
146
148
149 Aws::String m_groupName;
150
151 Aws::String m_rolePrincipalArn;
152
153 Aws::String m_rolePrincipalId;
154 bool m_domainIdHasBeenSet = false;
155 bool m_idHasBeenSet = false;
156 bool m_statusHasBeenSet = false;
157 bool m_groupNameHasBeenSet = false;
158 bool m_rolePrincipalArnHasBeenSet = false;
159 bool m_rolePrincipalIdHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace DataZone
164} // namespace Aws
void SetStatus(GroupProfileStatus value)
AWS_DATAZONE_API GroupProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRolePrincipalArn(RolePrincipalArnT &&value)
AWS_DATAZONE_API GroupProfileSummary()=default
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
GroupProfileSummary & WithDomainId(DomainIdT &&value)
const Aws::String & GetRolePrincipalArn() const
void SetRolePrincipalId(RolePrincipalIdT &&value)
GroupProfileSummary & WithRolePrincipalArn(RolePrincipalArnT &&value)
GroupProfileSummary & WithRolePrincipalId(RolePrincipalIdT &&value)
GroupProfileSummary & WithGroupName(GroupNameT &&value)
AWS_DATAZONE_API GroupProfileSummary(Aws::Utils::Json::JsonView jsonValue)
GroupProfileSummary & WithId(IdT &&value)
GroupProfileSummary & WithStatus(GroupProfileStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue