AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreateGroupProfileResult.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 {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace DataZone {
23namespace Model {
25 public:
26 AWS_DATAZONE_API CreateGroupProfileResult() = default;
29
31
35 inline const Aws::String& GetDomainId() const { return m_domainId; }
36 template <typename DomainIdT = Aws::String>
37 void SetDomainId(DomainIdT&& value) {
38 m_domainIdHasBeenSet = true;
39 m_domainId = std::forward<DomainIdT>(value);
40 }
41 template <typename DomainIdT = Aws::String>
43 SetDomainId(std::forward<DomainIdT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetId() const { return m_id; }
53 template <typename IdT = Aws::String>
54 void SetId(IdT&& value) {
55 m_idHasBeenSet = true;
56 m_id = std::forward<IdT>(value);
57 }
58 template <typename IdT = Aws::String>
60 SetId(std::forward<IdT>(value));
61 return *this;
62 }
64
66
69 inline GroupProfileStatus GetStatus() const { return m_status; }
70 inline void SetStatus(GroupProfileStatus value) {
71 m_statusHasBeenSet = true;
72 m_status = value;
73 }
75 SetStatus(value);
76 return *this;
77 }
79
81
84 inline const Aws::String& GetGroupName() const { return m_groupName; }
85 template <typename GroupNameT = Aws::String>
86 void SetGroupName(GroupNameT&& value) {
87 m_groupNameHasBeenSet = true;
88 m_groupName = std::forward<GroupNameT>(value);
89 }
90 template <typename GroupNameT = Aws::String>
92 SetGroupName(std::forward<GroupNameT>(value));
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_domainId;
113
114 Aws::String m_id;
115
117
118 Aws::String m_groupName;
119
120 Aws::String m_requestId;
121 bool m_domainIdHasBeenSet = false;
122 bool m_idHasBeenSet = false;
123 bool m_statusHasBeenSet = false;
124 bool m_groupNameHasBeenSet = false;
125 bool m_requestIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace DataZone
130} // namespace Aws
CreateGroupProfileResult & WithStatus(GroupProfileStatus value)
AWS_DATAZONE_API CreateGroupProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGroupProfileResult & WithGroupName(GroupNameT &&value)
CreateGroupProfileResult & WithId(IdT &&value)
CreateGroupProfileResult & WithDomainId(DomainIdT &&value)
CreateGroupProfileResult & WithRequestId(RequestIdT &&value)
AWS_DATAZONE_API CreateGroupProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API CreateGroupProfileResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue