AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
52 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
53 inline IdentitySourceItem& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
54 inline IdentitySourceItem& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetIdentitySourceId() const{ return m_identitySourceId; }
62 inline bool IdentitySourceIdHasBeenSet() const { return m_identitySourceIdHasBeenSet; }
63 inline void SetIdentitySourceId(const Aws::String& value) { m_identitySourceIdHasBeenSet = true; m_identitySourceId = value; }
64 inline void SetIdentitySourceId(Aws::String&& value) { m_identitySourceIdHasBeenSet = true; m_identitySourceId = std::move(value); }
65 inline void SetIdentitySourceId(const char* value) { m_identitySourceIdHasBeenSet = true; m_identitySourceId.assign(value); }
66 inline IdentitySourceItem& WithIdentitySourceId(const Aws::String& value) { SetIdentitySourceId(value); return *this;}
67 inline IdentitySourceItem& WithIdentitySourceId(Aws::String&& value) { SetIdentitySourceId(std::move(value)); return *this;}
68 inline IdentitySourceItem& WithIdentitySourceId(const char* value) { SetIdentitySourceId(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
76 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
77 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = value; }
78 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::move(value); }
80 inline IdentitySourceItem& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetPolicyStoreId() const{ return m_policyStoreId; }
88 inline bool PolicyStoreIdHasBeenSet() const { return m_policyStoreIdHasBeenSet; }
89 inline void SetPolicyStoreId(const Aws::String& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = value; }
90 inline void SetPolicyStoreId(Aws::String&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::move(value); }
91 inline void SetPolicyStoreId(const char* value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId.assign(value); }
92 inline IdentitySourceItem& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
93 inline IdentitySourceItem& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
94 inline IdentitySourceItem& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;}
96
98
102 inline const Aws::String& GetPrincipalEntityType() const{ return m_principalEntityType; }
103 inline bool PrincipalEntityTypeHasBeenSet() const { return m_principalEntityTypeHasBeenSet; }
104 inline void SetPrincipalEntityType(const Aws::String& value) { m_principalEntityTypeHasBeenSet = true; m_principalEntityType = value; }
105 inline void SetPrincipalEntityType(Aws::String&& value) { m_principalEntityTypeHasBeenSet = true; m_principalEntityType = std::move(value); }
106 inline void SetPrincipalEntityType(const char* value) { m_principalEntityTypeHasBeenSet = true; m_principalEntityType.assign(value); }
108 inline IdentitySourceItem& WithPrincipalEntityType(Aws::String&& value) { SetPrincipalEntityType(std::move(value)); return *this;}
109 inline IdentitySourceItem& WithPrincipalEntityType(const char* value) { SetPrincipalEntityType(value); return *this;}
111
113
116 inline const ConfigurationItem& GetConfiguration() const{ return m_configuration; }
117 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
118 inline void SetConfiguration(const ConfigurationItem& value) { m_configurationHasBeenSet = true; m_configuration = value; }
119 inline void SetConfiguration(ConfigurationItem&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
120 inline IdentitySourceItem& WithConfiguration(const ConfigurationItem& value) { SetConfiguration(value); return *this;}
121 inline IdentitySourceItem& WithConfiguration(ConfigurationItem&& value) { SetConfiguration(std::move(value)); return *this;}
123 private:
124
125 Aws::Utils::DateTime m_createdDate;
126 bool m_createdDateHasBeenSet = false;
127
128 Aws::String m_identitySourceId;
129 bool m_identitySourceIdHasBeenSet = false;
130
131 Aws::Utils::DateTime m_lastUpdatedDate;
132 bool m_lastUpdatedDateHasBeenSet = false;
133
134 Aws::String m_policyStoreId;
135 bool m_policyStoreIdHasBeenSet = false;
136
137 Aws::String m_principalEntityType;
138 bool m_principalEntityTypeHasBeenSet = false;
139
140 ConfigurationItem m_configuration;
141 bool m_configurationHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace VerifiedPermissions
146} // namespace Aws
IdentitySourceItem & WithIdentitySourceId(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
IdentitySourceItem & WithConfiguration(const ConfigurationItem &value)
IdentitySourceItem & WithIdentitySourceId(Aws::String &&value)
IdentitySourceItem & WithPolicyStoreId(const char *value)
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
IdentitySourceItem & WithIdentitySourceId(const char *value)
IdentitySourceItem & WithCreatedDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedDate() const
AWS_VERIFIEDPERMISSIONS_API IdentitySourceItem(Aws::Utils::Json::JsonView jsonValue)
IdentitySourceItem & WithPolicyStoreId(Aws::String &&value)
IdentitySourceItem & WithPolicyStoreId(const Aws::String &value)
IdentitySourceItem & WithPrincipalEntityType(const char *value)
IdentitySourceItem & WithPrincipalEntityType(Aws::String &&value)
IdentitySourceItem & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
IdentitySourceItem & WithPrincipalEntityType(const Aws::String &value)
IdentitySourceItem & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
AWS_VERIFIEDPERMISSIONS_API IdentitySourceItem()
void SetConfiguration(const ConfigurationItem &value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
void SetCreatedDate(Aws::Utils::DateTime &&value)
AWS_VERIFIEDPERMISSIONS_API IdentitySourceItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
IdentitySourceItem & WithCreatedDate(Aws::Utils::DateTime &&value)
IdentitySourceItem & WithConfiguration(ConfigurationItem &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue