7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/verifiedpermissions/model/PolicyType.h>
10#include <aws/verifiedpermissions/model/PolicyDefinitionDetail.h>
11#include <aws/core/utils/DateTime.h>
24namespace VerifiedPermissions
51 template<
typename PolicyStoreIdT = Aws::String>
52 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet =
true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
53 template<
typename PolicyStoreIdT = Aws::String>
63 template<
typename PolicyIdT = Aws::String>
64 void SetPolicyId(PolicyIdT&& value) { m_policyIdHasBeenSet =
true; m_policyId = std::forward<PolicyIdT>(value); }
65 template<
typename PolicyIdT = Aws::String>
87 template<
typename DefinitionT = PolicyDefinitionDetail>
88 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet =
true; m_definition = std::forward<DefinitionT>(value); }
89 template<
typename DefinitionT = PolicyDefinitionDetail>
99 template<
typename CreatedDateT = Aws::Utils::DateTime>
100 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
101 template<
typename CreatedDateT = Aws::Utils::DateTime>
111 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
112 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet =
true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
113 template<
typename LastUpdatedDateT = Aws::Utils::DateTime>
119 bool m_policyStoreIdHasBeenSet =
false;
122 bool m_policyIdHasBeenSet =
false;
125 bool m_policyTypeHasBeenSet =
false;
127 PolicyDefinitionDetail m_definition;
128 bool m_definitionHasBeenSet =
false;
131 bool m_createdDateHasBeenSet =
false;
134 bool m_lastUpdatedDateHasBeenSet =
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
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
AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyOutputItem & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PolicyIdHasBeenSet() const
bool DefinitionHasBeenSet() const
AWS_VERIFIEDPERMISSIONS_API BatchGetPolicyOutputItem(Aws::Utils::Json::JsonView jsonValue)
bool LastUpdatedDateHasBeenSet() const
const Aws::String & GetPolicyId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue