AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
IdentitySourceItem.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/ConfigurationItem.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace VerifiedPermissions
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_VERIFIEDPERMISSIONS_API IdentitySourceItem() = default;
40 AWS_VERIFIEDPERMISSIONS_API IdentitySourceItem(Aws::Utils::Json::JsonView jsonValue);
41 AWS_VERIFIEDPERMISSIONS_API IdentitySourceItem& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
50 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
51 template<typename CreatedDateT = Aws::Utils::DateTime>
52 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
53 template<typename CreatedDateT = Aws::Utils::DateTime>
54 IdentitySourceItem& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
56
58
61 inline const Aws::String& GetIdentitySourceId() const { return m_identitySourceId; }
62 inline bool IdentitySourceIdHasBeenSet() const { return m_identitySourceIdHasBeenSet; }
63 template<typename IdentitySourceIdT = Aws::String>
64 void SetIdentitySourceId(IdentitySourceIdT&& value) { m_identitySourceIdHasBeenSet = true; m_identitySourceId = std::forward<IdentitySourceIdT>(value); }
65 template<typename IdentitySourceIdT = Aws::String>
66 IdentitySourceItem& WithIdentitySourceId(IdentitySourceIdT&& value) { SetIdentitySourceId(std::forward<IdentitySourceIdT>(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
74 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
75 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
76 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
77 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
78 IdentitySourceItem& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
80
82
85 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
86 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
87 template<typename PolicyStoreIdT = Aws::String>
88 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
89 template<typename PolicyStoreIdT = Aws::String>
90 IdentitySourceItem& WithPolicyStoreId(PolicyStoreIdT&& value) { SetPolicyStoreId(std::forward<PolicyStoreIdT>(value)); return *this;}
92
94
98 inline const Aws::String& GetPrincipalEntityType() const { return m_principalEntityType; }
99 inline bool PrincipalEntityTypeHasBeenSet() const { return m_principalEntityTypeHasBeenSet; }
100 template<typename PrincipalEntityTypeT = Aws::String>
101 void SetPrincipalEntityType(PrincipalEntityTypeT&& value) { m_principalEntityTypeHasBeenSet = true; m_principalEntityType = std::forward<PrincipalEntityTypeT>(value); }
102 template<typename PrincipalEntityTypeT = Aws::String>
103 IdentitySourceItem& WithPrincipalEntityType(PrincipalEntityTypeT&& value) { SetPrincipalEntityType(std::forward<PrincipalEntityTypeT>(value)); return *this;}
105
107
110 inline const ConfigurationItem& GetConfiguration() const { return m_configuration; }
111 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
112 template<typename ConfigurationT = ConfigurationItem>
113 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
114 template<typename ConfigurationT = ConfigurationItem>
115 IdentitySourceItem& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
117 private:
118
119 Aws::Utils::DateTime m_createdDate{};
120 bool m_createdDateHasBeenSet = false;
121
122 Aws::String m_identitySourceId;
123 bool m_identitySourceIdHasBeenSet = false;
124
125 Aws::Utils::DateTime m_lastUpdatedDate{};
126 bool m_lastUpdatedDateHasBeenSet = false;
127
128 Aws::String m_policyStoreId;
129 bool m_policyStoreIdHasBeenSet = false;
130
131 Aws::String m_principalEntityType;
132 bool m_principalEntityTypeHasBeenSet = false;
133
134 ConfigurationItem m_configuration;
135 bool m_configurationHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace VerifiedPermissions
140} // namespace Aws
IdentitySourceItem & WithIdentitySourceId(IdentitySourceIdT &&value)
IdentitySourceItem & WithPolicyStoreId(PolicyStoreIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
const Aws::Utils::DateTime & GetCreatedDate() const
AWS_VERIFIEDPERMISSIONS_API IdentitySourceItem(Aws::Utils::Json::JsonView jsonValue)
IdentitySourceItem & WithCreatedDate(CreatedDateT &&value)
IdentitySourceItem & WithPrincipalEntityType(PrincipalEntityTypeT &&value)
IdentitySourceItem & WithConfiguration(ConfigurationT &&value)
AWS_VERIFIEDPERMISSIONS_API IdentitySourceItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VERIFIEDPERMISSIONS_API IdentitySourceItem()=default
IdentitySourceItem & WithLastUpdatedDate(LastUpdatedDateT &&value)
void SetPrincipalEntityType(PrincipalEntityTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue