AWS SDK for C++

AWS SDK for C++ Version 1.11.753

Loading...
Searching...
No Matches
GetIdentitySourceResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
10#include <aws/verifiedpermissions/model/ConfigurationDetail.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace VerifiedPermissions {
24namespace Model {
26 public:
27 AWS_VERIFIEDPERMISSIONS_API GetIdentitySourceResult() = default;
30
32
35 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
36 template <typename CreatedDateT = Aws::Utils::DateTime>
37 void SetCreatedDate(CreatedDateT&& value) {
38 m_createdDateHasBeenSet = true;
39 m_createdDate = std::forward<CreatedDateT>(value);
40 }
41 template <typename CreatedDateT = Aws::Utils::DateTime>
43 SetCreatedDate(std::forward<CreatedDateT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetIdentitySourceId() const { return m_identitySourceId; }
53 template <typename IdentitySourceIdT = Aws::String>
54 void SetIdentitySourceId(IdentitySourceIdT&& value) {
55 m_identitySourceIdHasBeenSet = true;
56 m_identitySourceId = std::forward<IdentitySourceIdT>(value);
57 }
58 template <typename IdentitySourceIdT = Aws::String>
59 GetIdentitySourceResult& WithIdentitySourceId(IdentitySourceIdT&& value) {
60 SetIdentitySourceId(std::forward<IdentitySourceIdT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
70 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
71 void SetLastUpdatedDate(LastUpdatedDateT&& value) {
72 m_lastUpdatedDateHasBeenSet = true;
73 m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value);
74 }
75 template <typename LastUpdatedDateT = Aws::Utils::DateTime>
76 GetIdentitySourceResult& WithLastUpdatedDate(LastUpdatedDateT&& value) {
77 SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
87 template <typename PolicyStoreIdT = Aws::String>
88 void SetPolicyStoreId(PolicyStoreIdT&& value) {
89 m_policyStoreIdHasBeenSet = true;
90 m_policyStoreId = std::forward<PolicyStoreIdT>(value);
91 }
92 template <typename PolicyStoreIdT = Aws::String>
93 GetIdentitySourceResult& WithPolicyStoreId(PolicyStoreIdT&& value) {
94 SetPolicyStoreId(std::forward<PolicyStoreIdT>(value));
95 return *this;
96 }
98
100
104 inline const Aws::String& GetPrincipalEntityType() const { return m_principalEntityType; }
105 template <typename PrincipalEntityTypeT = Aws::String>
106 void SetPrincipalEntityType(PrincipalEntityTypeT&& value) {
107 m_principalEntityTypeHasBeenSet = true;
108 m_principalEntityType = std::forward<PrincipalEntityTypeT>(value);
109 }
110 template <typename PrincipalEntityTypeT = Aws::String>
111 GetIdentitySourceResult& WithPrincipalEntityType(PrincipalEntityTypeT&& value) {
112 SetPrincipalEntityType(std::forward<PrincipalEntityTypeT>(value));
113 return *this;
114 }
116
118
121 inline const ConfigurationDetail& GetConfiguration() const { return m_configuration; }
122 template <typename ConfigurationT = ConfigurationDetail>
123 void SetConfiguration(ConfigurationT&& value) {
124 m_configurationHasBeenSet = true;
125 m_configuration = std::forward<ConfigurationT>(value);
126 }
127 template <typename ConfigurationT = ConfigurationDetail>
129 SetConfiguration(std::forward<ConfigurationT>(value));
130 return *this;
131 }
133
135
136 inline const Aws::String& GetRequestId() const { return m_requestId; }
137 template <typename RequestIdT = Aws::String>
138 void SetRequestId(RequestIdT&& value) {
139 m_requestIdHasBeenSet = true;
140 m_requestId = std::forward<RequestIdT>(value);
141 }
142 template <typename RequestIdT = Aws::String>
144 SetRequestId(std::forward<RequestIdT>(value));
145 return *this;
146 }
148 private:
149 Aws::Utils::DateTime m_createdDate{};
150
151 Aws::String m_identitySourceId;
152
153 Aws::Utils::DateTime m_lastUpdatedDate{};
154
155 Aws::String m_policyStoreId;
156
157 Aws::String m_principalEntityType;
158
159 ConfigurationDetail m_configuration;
160
161 Aws::String m_requestId;
162 bool m_createdDateHasBeenSet = false;
163 bool m_identitySourceIdHasBeenSet = false;
164 bool m_lastUpdatedDateHasBeenSet = false;
165 bool m_policyStoreIdHasBeenSet = false;
166 bool m_principalEntityTypeHasBeenSet = false;
167 bool m_configurationHasBeenSet = false;
168 bool m_requestIdHasBeenSet = false;
169};
170
171} // namespace Model
172} // namespace VerifiedPermissions
173} // 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