AWS SDK for C++

AWS SDK for C++ Version 1.11.784

Loading...
Searching...
No Matches
GetIdentitySourceResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
11#include <aws/verifiedpermissions/model/ConfigurationDetail.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace VerifiedPermissions {
25namespace Model {
27 public:
28 AWS_VERIFIEDPERMISSIONS_API GetIdentitySourceResult() = default;
31
33
36 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
37 template <typename CreatedDateT = Aws::Utils::DateTime>
38 void SetCreatedDate(CreatedDateT&& value) {
39 m_createdDateHasBeenSet = true;
40 m_createdDate = std::forward<CreatedDateT>(value);
41 }
42 template <typename CreatedDateT = Aws::Utils::DateTime>
44 SetCreatedDate(std::forward<CreatedDateT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetIdentitySourceId() const { return m_identitySourceId; }
54 template <typename IdentitySourceIdT = Aws::String>
55 void SetIdentitySourceId(IdentitySourceIdT&& value) {
56 m_identitySourceIdHasBeenSet = true;
57 m_identitySourceId = std::forward<IdentitySourceIdT>(value);
58 }
59 template <typename IdentitySourceIdT = Aws::String>
60 GetIdentitySourceResult& WithIdentitySourceId(IdentitySourceIdT&& value) {
61 SetIdentitySourceId(std::forward<IdentitySourceIdT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
71 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
72 void SetLastUpdatedDate(LastUpdatedDateT&& value) {
73 m_lastUpdatedDateHasBeenSet = true;
74 m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value);
75 }
76 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
77 GetIdentitySourceResult& WithLastUpdatedDate(LastUpdatedDateT&& value) {
78 SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
88 template <typename PolicyStoreIdT = Aws::String>
89 void SetPolicyStoreId(PolicyStoreIdT&& value) {
90 m_policyStoreIdHasBeenSet = true;
91 m_policyStoreId = std::forward<PolicyStoreIdT>(value);
92 }
93 template <typename PolicyStoreIdT = Aws::String>
94 GetIdentitySourceResult& WithPolicyStoreId(PolicyStoreIdT&& value) {
95 SetPolicyStoreId(std::forward<PolicyStoreIdT>(value));
96 return *this;
97 }
99
101
105 inline const Aws::String& GetPrincipalEntityType() const { return m_principalEntityType; }
106 template <typename PrincipalEntityTypeT = Aws::String>
107 void SetPrincipalEntityType(PrincipalEntityTypeT&& value) {
108 m_principalEntityTypeHasBeenSet = true;
109 m_principalEntityType = std::forward<PrincipalEntityTypeT>(value);
110 }
111 template <typename PrincipalEntityTypeT = Aws::String>
112 GetIdentitySourceResult& WithPrincipalEntityType(PrincipalEntityTypeT&& value) {
113 SetPrincipalEntityType(std::forward<PrincipalEntityTypeT>(value));
114 return *this;
115 }
117
119
122 inline const ConfigurationDetail& GetConfiguration() const { return m_configuration; }
123 template <typename ConfigurationT = ConfigurationDetail>
124 void SetConfiguration(ConfigurationT&& value) {
125 m_configurationHasBeenSet = true;
126 m_configuration = std::forward<ConfigurationT>(value);
127 }
128 template <typename ConfigurationT = ConfigurationDetail>
130 SetConfiguration(std::forward<ConfigurationT>(value));
131 return *this;
132 }
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template <typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) {
140 m_requestIdHasBeenSet = true;
141 m_requestId = std::forward<RequestIdT>(value);
142 }
143 template <typename RequestIdT = Aws::String>
145 SetRequestId(std::forward<RequestIdT>(value));
146 return *this;
147 }
149 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
150
151 private:
152 Aws::Utils::DateTime m_createdDate{};
153
154 Aws::String m_identitySourceId;
155
156 Aws::Utils::DateTime m_lastUpdatedDate{};
157
158 Aws::String m_policyStoreId;
159
160 Aws::String m_principalEntityType;
161
162 ConfigurationDetail m_configuration;
163
164 Aws::String m_requestId;
165 Aws::Http::HttpResponseCode m_HttpResponseCode;
166 bool m_createdDateHasBeenSet = false;
167 bool m_identitySourceIdHasBeenSet = false;
168 bool m_lastUpdatedDateHasBeenSet = false;
169 bool m_policyStoreIdHasBeenSet = false;
170 bool m_principalEntityTypeHasBeenSet = false;
171 bool m_configurationHasBeenSet = false;
172 bool m_requestIdHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace VerifiedPermissions
177} // namespace Aws
GetIdentitySourceResult & WithPrincipalEntityType(PrincipalEntityTypeT &&value)
GetIdentitySourceResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
AWS_VERIFIEDPERMISSIONS_API GetIdentitySourceResult()=default
GetIdentitySourceResult & WithConfiguration(ConfigurationT &&value)
GetIdentitySourceResult & WithCreatedDate(CreatedDateT &&value)
GetIdentitySourceResult & WithIdentitySourceId(IdentitySourceIdT &&value)
AWS_VERIFIEDPERMISSIONS_API GetIdentitySourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIdentitySourceResult & WithRequestId(RequestIdT &&value)
AWS_VERIFIEDPERMISSIONS_API GetIdentitySourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIdentitySourceResult & WithPolicyStoreId(PolicyStoreIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue