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/PolicyDefinitionDetail.h>
11#include <aws/verifiedpermissions/model/PolicyType.h>
22namespace VerifiedPermissions {
45 template <
typename PolicyStoreIdT = Aws::String>
47 m_policyStoreIdHasBeenSet =
true;
48 m_policyStoreId = std::forward<PolicyStoreIdT>(value);
50 template <
typename PolicyStoreIdT = Aws::String>
63 template <
typename PolicyIdT = Aws::String>
65 m_policyIdHasBeenSet =
true;
66 m_policyId = std::forward<PolicyIdT>(value);
68 template <
typename PolicyIdT = Aws::String>
84 m_policyTypeHasBeenSet =
true;
99 template <
typename DefinitionT = PolicyDefinitionDetail>
101 m_definitionHasBeenSet =
true;
102 m_definition = std::forward<DefinitionT>(value);
104 template <
typename DefinitionT = PolicyDefinitionDetail>
117 template <
typename CreatedDateT = Aws::Utils::DateTime>
119 m_createdDateHasBeenSet =
true;
120 m_createdDate = std::forward<CreatedDateT>(value);
122 template <
typename CreatedDateT = Aws::Utils::DateTime>
135 template <
typename LastUpdatedDateT = Aws::Utils::DateTime>
137 m_lastUpdatedDateHasBeenSet =
true;
138 m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value);
140 template <
typename LastUpdatedDateT = Aws::Utils::DateTime>
154 template <
typename NameT = Aws::String>
156 m_nameHasBeenSet =
true;
157 m_name = std::forward<NameT>(value);
159 template <
typename NameT = Aws::String>
161 SetName(std::forward<NameT>(value));
172 PolicyDefinitionDetail m_definition;
179 bool m_policyStoreIdHasBeenSet =
false;
180 bool m_policyIdHasBeenSet =
false;
181 bool m_policyTypeHasBeenSet =
false;
182 bool m_definitionHasBeenSet =
false;
183 bool m_createdDateHasBeenSet =
false;
184 bool m_lastUpdatedDateHasBeenSet =
false;
185 bool m_nameHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreatedDate() const
void SetPolicyType(PolicyType value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPolicyId(PolicyIdT &&value)
PolicyType GetPolicyType() const
void SetCreatedDate(CreatedDateT &&value)
BatchGetPolicyOutputItem & WithPolicyStoreId(PolicyStoreIdT &&value)
bool CreatedDateHasBeenSet() const
const PolicyDefinitionDetail & GetDefinition() const
void SetDefinition(DefinitionT &&value)
void SetLastUpdatedDate(LastUpdatedDateT &&value)
const Aws::String & GetPolicyStoreId() const
BatchGetPolicyOutputItem & WithName(NameT &&value)
bool PolicyStoreIdHasBeenSet() const
AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyOutputItem()=default
void SetPolicyStoreId(PolicyStoreIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
BatchGetPolicyOutputItem & WithPolicyId(PolicyIdT &&value)
BatchGetPolicyOutputItem & WithDefinition(DefinitionT &&value)
BatchGetPolicyOutputItem & WithPolicyType(PolicyType value)
BatchGetPolicyOutputItem & WithCreatedDate(CreatedDateT &&value)
BatchGetPolicyOutputItem & WithLastUpdatedDate(LastUpdatedDateT &&value)
bool PolicyTypeHasBeenSet() const
void SetName(NameT &&value)
AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyOutputItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
bool PolicyIdHasBeenSet() const
bool DefinitionHasBeenSet() const
AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyOutputItem(Aws::Utils::Json::JsonView jsonValue)
bool LastUpdatedDateHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetPolicyId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue