AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateUserProfileResult.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{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataZone
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DATAZONE_API CreateUserProfileResult();
36
37
39
40 inline const UserProfileDetails& GetDetails() const{ return m_details; }
41 inline void SetDetails(const UserProfileDetails& value) { m_details = value; }
42 inline void SetDetails(UserProfileDetails&& value) { m_details = std::move(value); }
43 inline CreateUserProfileResult& WithDetails(const UserProfileDetails& value) { SetDetails(value); return *this;}
44 inline CreateUserProfileResult& WithDetails(UserProfileDetails&& value) { SetDetails(std::move(value)); return *this;}
46
48
52 inline const Aws::String& GetDomainId() const{ return m_domainId; }
53 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
54 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
55 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
56 inline CreateUserProfileResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
57 inline CreateUserProfileResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
58 inline CreateUserProfileResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
60
62
65 inline const Aws::String& GetId() const{ return m_id; }
66 inline void SetId(const Aws::String& value) { m_id = value; }
67 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
68 inline void SetId(const char* value) { m_id.assign(value); }
69 inline CreateUserProfileResult& WithId(const Aws::String& value) { SetId(value); return *this;}
70 inline CreateUserProfileResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 inline CreateUserProfileResult& WithId(const char* value) { SetId(value); return *this;}
73
75
78 inline const UserProfileStatus& GetStatus() const{ return m_status; }
79 inline void SetStatus(const UserProfileStatus& value) { m_status = value; }
80 inline void SetStatus(UserProfileStatus&& value) { m_status = std::move(value); }
81 inline CreateUserProfileResult& WithStatus(const UserProfileStatus& value) { SetStatus(value); return *this;}
82 inline CreateUserProfileResult& WithStatus(UserProfileStatus&& value) { SetStatus(std::move(value)); return *this;}
84
86
89 inline const UserProfileType& GetType() const{ return m_type; }
90 inline void SetType(const UserProfileType& value) { m_type = value; }
91 inline void SetType(UserProfileType&& value) { m_type = std::move(value); }
92 inline CreateUserProfileResult& WithType(const UserProfileType& value) { SetType(value); return *this;}
93 inline CreateUserProfileResult& WithType(UserProfileType&& value) { SetType(std::move(value)); return *this;}
95
97
98 inline const Aws::String& GetRequestId() const{ return m_requestId; }
99 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
100 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
101 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
102 inline CreateUserProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline CreateUserProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline CreateUserProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 UserProfileDetails m_details;
109
110 Aws::String m_domainId;
111
112 Aws::String m_id;
113
114 UserProfileStatus m_status;
115
116 UserProfileType m_type;
117
118 Aws::String m_requestId;
119 };
120
121} // namespace Model
122} // namespace DataZone
123} // namespace Aws
void SetStatus(const UserProfileStatus &value)
CreateUserProfileResult & WithDomainId(const char *value)
AWS_DATAZONE_API CreateUserProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateUserProfileResult & WithStatus(UserProfileStatus &&value)
CreateUserProfileResult & WithRequestId(Aws::String &&value)
CreateUserProfileResult & WithId(Aws::String &&value)
CreateUserProfileResult & WithRequestId(const Aws::String &value)
CreateUserProfileResult & WithId(const char *value)
CreateUserProfileResult & WithType(const UserProfileType &value)
CreateUserProfileResult & WithDomainId(Aws::String &&value)
CreateUserProfileResult & WithId(const Aws::String &value)
CreateUserProfileResult & WithDetails(const UserProfileDetails &value)
void SetDetails(const UserProfileDetails &value)
CreateUserProfileResult & WithType(UserProfileType &&value)
AWS_DATAZONE_API CreateUserProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateUserProfileResult & WithStatus(const UserProfileStatus &value)
CreateUserProfileResult & WithDomainId(const Aws::String &value)
CreateUserProfileResult & WithDetails(UserProfileDetails &&value)
CreateUserProfileResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue