AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
CreateGroupResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/identitystore/IdentityStore_EXPORTS.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 IdentityStore {
23namespace Model {
25 public:
26 AWS_IDENTITYSTORE_API CreateGroupResult() = default;
29
31
34 inline const Aws::String& GetIdentityStoreId() const { return m_identityStoreId; }
35 template <typename IdentityStoreIdT = Aws::String>
36 void SetIdentityStoreId(IdentityStoreIdT&& value) {
37 m_identityStoreIdHasBeenSet = true;
38 m_identityStoreId = std::forward<IdentityStoreIdT>(value);
39 }
40 template <typename IdentityStoreIdT = Aws::String>
41 CreateGroupResult& WithIdentityStoreId(IdentityStoreIdT&& value) {
42 SetIdentityStoreId(std::forward<IdentityStoreIdT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetGroupId() const { return m_groupId; }
52 template <typename GroupIdT = Aws::String>
53 void SetGroupId(GroupIdT&& value) {
54 m_groupIdHasBeenSet = true;
55 m_groupId = std::forward<GroupIdT>(value);
56 }
57 template <typename GroupIdT = Aws::String>
58 CreateGroupResult& WithGroupId(GroupIdT&& value) {
59 SetGroupId(std::forward<GroupIdT>(value));
60 return *this;
61 }
63
65
70 inline const Aws::String& GetGroupArn() const { return m_groupArn; }
71 template <typename GroupArnT = Aws::String>
72 void SetGroupArn(GroupArnT&& value) {
73 m_groupArnHasBeenSet = true;
74 m_groupArn = std::forward<GroupArnT>(value);
75 }
76 template <typename GroupArnT = Aws::String>
77 CreateGroupResult& WithGroupArn(GroupArnT&& value) {
78 SetGroupArn(std::forward<GroupArnT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetRevision() const { return m_revision; }
88 template <typename RevisionT = Aws::String>
89 void SetRevision(RevisionT&& value) {
90 m_revisionHasBeenSet = true;
91 m_revision = std::forward<RevisionT>(value);
92 }
93 template <typename RevisionT = Aws::String>
94 CreateGroupResult& WithRevision(RevisionT&& value) {
95 SetRevision(std::forward<RevisionT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template <typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) {
105 m_requestIdHasBeenSet = true;
106 m_requestId = std::forward<RequestIdT>(value);
107 }
108 template <typename RequestIdT = Aws::String>
109 CreateGroupResult& WithRequestId(RequestIdT&& value) {
110 SetRequestId(std::forward<RequestIdT>(value));
111 return *this;
112 }
114 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
115
116 private:
117 Aws::String m_identityStoreId;
118
119 Aws::String m_groupId;
120
121 Aws::String m_groupArn;
122
123 Aws::String m_revision;
124
125 Aws::String m_requestId;
126 Aws::Http::HttpResponseCode m_HttpResponseCode;
127 bool m_identityStoreIdHasBeenSet = false;
128 bool m_groupIdHasBeenSet = false;
129 bool m_groupArnHasBeenSet = false;
130 bool m_revisionHasBeenSet = false;
131 bool m_requestIdHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace IdentityStore
136} // namespace Aws
CreateGroupResult & WithGroupArn(GroupArnT &&value)
AWS_IDENTITYSTORE_API CreateGroupResult()=default
CreateGroupResult & WithIdentityStoreId(IdentityStoreIdT &&value)
AWS_IDENTITYSTORE_API CreateGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGroupResult & WithRequestId(RequestIdT &&value)
void SetIdentityStoreId(IdentityStoreIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateGroupResult & WithGroupId(GroupIdT &&value)
CreateGroupResult & WithRevision(RevisionT &&value)
AWS_IDENTITYSTORE_API CreateGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue