AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetIdentitySourceResult.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/verifiedpermissions/model/ConfigurationDetail.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace VerifiedPermissions
26{
27namespace Model
28{
30 {
31 public:
32 AWS_VERIFIEDPERMISSIONS_API GetIdentitySourceResult() = default;
35
36
38
41 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
42 template<typename CreatedDateT = Aws::Utils::DateTime>
43 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
44 template<typename CreatedDateT = Aws::Utils::DateTime>
45 GetIdentitySourceResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
47
49
52 inline const Aws::String& GetIdentitySourceId() const { return m_identitySourceId; }
53 template<typename IdentitySourceIdT = Aws::String>
54 void SetIdentitySourceId(IdentitySourceIdT&& value) { m_identitySourceIdHasBeenSet = true; m_identitySourceId = std::forward<IdentitySourceIdT>(value); }
55 template<typename IdentitySourceIdT = Aws::String>
56 GetIdentitySourceResult& WithIdentitySourceId(IdentitySourceIdT&& value) { SetIdentitySourceId(std::forward<IdentitySourceIdT>(value)); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
64 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
65 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
66 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
67 GetIdentitySourceResult& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
69
71
74 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
75 template<typename PolicyStoreIdT = Aws::String>
76 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
77 template<typename PolicyStoreIdT = Aws::String>
78 GetIdentitySourceResult& WithPolicyStoreId(PolicyStoreIdT&& value) { SetPolicyStoreId(std::forward<PolicyStoreIdT>(value)); return *this;}
80
82
86 inline const Aws::String& GetPrincipalEntityType() const { return m_principalEntityType; }
87 template<typename PrincipalEntityTypeT = Aws::String>
88 void SetPrincipalEntityType(PrincipalEntityTypeT&& value) { m_principalEntityTypeHasBeenSet = true; m_principalEntityType = std::forward<PrincipalEntityTypeT>(value); }
89 template<typename PrincipalEntityTypeT = Aws::String>
90 GetIdentitySourceResult& WithPrincipalEntityType(PrincipalEntityTypeT&& value) { SetPrincipalEntityType(std::forward<PrincipalEntityTypeT>(value)); return *this;}
92
94
97 inline const ConfigurationDetail& GetConfiguration() const { return m_configuration; }
98 template<typename ConfigurationT = ConfigurationDetail>
99 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
100 template<typename ConfigurationT = ConfigurationDetail>
101 GetIdentitySourceResult& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
103
105
106 inline const Aws::String& GetRequestId() const { return m_requestId; }
107 template<typename RequestIdT = Aws::String>
108 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
109 template<typename RequestIdT = Aws::String>
110 GetIdentitySourceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
112 private:
113
114 Aws::Utils::DateTime m_createdDate{};
115 bool m_createdDateHasBeenSet = false;
116
117 Aws::String m_identitySourceId;
118 bool m_identitySourceIdHasBeenSet = false;
119
120 Aws::Utils::DateTime m_lastUpdatedDate{};
121 bool m_lastUpdatedDateHasBeenSet = false;
122
123 Aws::String m_policyStoreId;
124 bool m_policyStoreIdHasBeenSet = false;
125
126 Aws::String m_principalEntityType;
127 bool m_principalEntityTypeHasBeenSet = false;
128
129 ConfigurationDetail m_configuration;
130 bool m_configurationHasBeenSet = false;
131
132 Aws::String m_requestId;
133 bool m_requestIdHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace VerifiedPermissions
138} // 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