AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserProfileSummary.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/UserProfileDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/UserProfileStatus.h>
11#include <aws/datazone/model/UserProfileType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DataZone
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DATAZONE_API UserProfileSummary();
40 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const UserProfileDetails& GetDetails() const{ return m_details; }
48 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
49 inline void SetDetails(const UserProfileDetails& value) { m_detailsHasBeenSet = true; m_details = value; }
50 inline void SetDetails(UserProfileDetails&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
51 inline UserProfileSummary& WithDetails(const UserProfileDetails& value) { SetDetails(value); return *this;}
52 inline UserProfileSummary& WithDetails(UserProfileDetails&& value) { SetDetails(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetDomainId() const{ return m_domainId; }
60 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
61 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
62 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
63 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
64 inline UserProfileSummary& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
65 inline UserProfileSummary& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
66 inline UserProfileSummary& WithDomainId(const char* value) { SetDomainId(value); return *this;}
68
70
73 inline const Aws::String& GetId() const{ return m_id; }
74 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
75 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
76 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
77 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
78 inline UserProfileSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
79 inline UserProfileSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
80 inline UserProfileSummary& WithId(const char* value) { SetId(value); return *this;}
82
84
87 inline const UserProfileStatus& GetStatus() const{ return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 inline void SetStatus(const UserProfileStatus& value) { m_statusHasBeenSet = true; m_status = value; }
90 inline void SetStatus(UserProfileStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
91 inline UserProfileSummary& WithStatus(const UserProfileStatus& value) { SetStatus(value); return *this;}
92 inline UserProfileSummary& WithStatus(UserProfileStatus&& value) { SetStatus(std::move(value)); return *this;}
94
96
99 inline const UserProfileType& GetType() const{ return m_type; }
100 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
101 inline void SetType(const UserProfileType& value) { m_typeHasBeenSet = true; m_type = value; }
102 inline void SetType(UserProfileType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
103 inline UserProfileSummary& WithType(const UserProfileType& value) { SetType(value); return *this;}
104 inline UserProfileSummary& WithType(UserProfileType&& value) { SetType(std::move(value)); return *this;}
106 private:
107
108 UserProfileDetails m_details;
109 bool m_detailsHasBeenSet = false;
110
111 Aws::String m_domainId;
112 bool m_domainIdHasBeenSet = false;
113
114 Aws::String m_id;
115 bool m_idHasBeenSet = false;
116
117 UserProfileStatus m_status;
118 bool m_statusHasBeenSet = false;
119
120 UserProfileType m_type;
121 bool m_typeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace DataZone
126} // namespace Aws
void SetDetails(const UserProfileDetails &value)
UserProfileSummary & WithId(const char *value)
UserProfileSummary & WithType(const UserProfileType &value)
AWS_DATAZONE_API UserProfileSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
UserProfileSummary & WithId(Aws::String &&value)
UserProfileSummary & WithStatus(UserProfileStatus &&value)
AWS_DATAZONE_API UserProfileSummary(Aws::Utils::Json::JsonView jsonValue)
const UserProfileType & GetType() const
void SetDomainId(const Aws::String &value)
UserProfileSummary & WithStatus(const UserProfileStatus &value)
UserProfileSummary & WithDomainId(const Aws::String &value)
UserProfileSummary & WithDetails(UserProfileDetails &&value)
UserProfileSummary & WithDomainId(const char *value)
void SetId(const Aws::String &value)
void SetType(const UserProfileType &value)
const UserProfileDetails & GetDetails() const
void SetStatus(const UserProfileStatus &value)
UserProfileSummary & WithDomainId(Aws::String &&value)
void SetStatus(UserProfileStatus &&value)
UserProfileSummary & WithId(const Aws::String &value)
void SetDetails(UserProfileDetails &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
UserProfileSummary & WithType(UserProfileType &&value)
const UserProfileStatus & GetStatus() const
UserProfileSummary & WithDetails(const UserProfileDetails &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue