AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
UserProfileSummary.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/UserProfileDetails.h>
10#include <aws/datazone/model/UserProfileStatus.h>
11#include <aws/datazone/model/UserProfileType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DataZone {
23namespace Model {
24
31 public:
32 AWS_DATAZONE_API UserProfileSummary() = default;
35 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetDomainId() const { return m_domainId; }
42 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
43 template <typename DomainIdT = Aws::String>
44 void SetDomainId(DomainIdT&& value) {
45 m_domainIdHasBeenSet = true;
46 m_domainId = std::forward<DomainIdT>(value);
47 }
48 template <typename DomainIdT = Aws::String>
49 UserProfileSummary& WithDomainId(DomainIdT&& value) {
50 SetDomainId(std::forward<DomainIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template <typename IdT = Aws::String>
62 void SetId(IdT&& value) {
63 m_idHasBeenSet = true;
64 m_id = std::forward<IdT>(value);
65 }
66 template <typename IdT = Aws::String>
67 UserProfileSummary& WithId(IdT&& value) {
68 SetId(std::forward<IdT>(value));
69 return *this;
70 }
72
74
77 inline UserProfileType GetType() const { return m_type; }
78 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
79 inline void SetType(UserProfileType value) {
80 m_typeHasBeenSet = true;
81 m_type = value;
82 }
84 SetType(value);
85 return *this;
86 }
88
90
93 inline UserProfileStatus GetStatus() const { return m_status; }
94 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
95 inline void SetStatus(UserProfileStatus value) {
96 m_statusHasBeenSet = true;
97 m_status = value;
98 }
100 SetStatus(value);
101 return *this;
102 }
104
106
109 inline const UserProfileDetails& GetDetails() const { return m_details; }
110 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
111 template <typename DetailsT = UserProfileDetails>
112 void SetDetails(DetailsT&& value) {
113 m_detailsHasBeenSet = true;
114 m_details = std::forward<DetailsT>(value);
115 }
116 template <typename DetailsT = UserProfileDetails>
117 UserProfileSummary& WithDetails(DetailsT&& value) {
118 SetDetails(std::forward<DetailsT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_domainId;
124
125 Aws::String m_id;
126
128
130
131 UserProfileDetails m_details;
132 bool m_domainIdHasBeenSet = false;
133 bool m_idHasBeenSet = false;
134 bool m_typeHasBeenSet = false;
135 bool m_statusHasBeenSet = false;
136 bool m_detailsHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace DataZone
141} // namespace Aws
UserProfileSummary & WithStatus(UserProfileStatus value)
void SetStatus(UserProfileStatus value)
AWS_DATAZONE_API UserProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API UserProfileSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API UserProfileSummary()=default
UserProfileSummary & WithType(UserProfileType value)
UserProfileSummary & WithDetails(DetailsT &&value)
const UserProfileDetails & GetDetails() const
UserProfileSummary & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
UserProfileSummary & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue