7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace CloudDirectory {
44 template <
typename PolicyIdT = Aws::String>
46 m_policyIdHasBeenSet =
true;
47 m_policyId = std::forward<PolicyIdT>(value);
49 template <
typename PolicyIdT = Aws::String>
63 template <
typename ObjectIdentifierT = Aws::String>
65 m_objectIdentifierHasBeenSet =
true;
66 m_objectIdentifier = std::forward<ObjectIdentifierT>(value);
68 template <
typename ObjectIdentifierT = Aws::String>
82 template <
typename PolicyTypeT = Aws::String>
84 m_policyTypeHasBeenSet =
true;
85 m_policyType = std::forward<PolicyTypeT>(value);
87 template <
typename PolicyTypeT = Aws::String>
99 bool m_policyIdHasBeenSet =
false;
100 bool m_objectIdentifierHasBeenSet =
false;
101 bool m_policyTypeHasBeenSet =
false;
void SetObjectIdentifier(ObjectIdentifierT &&value)
PolicyAttachment & WithPolicyId(PolicyIdT &&value)
bool PolicyTypeHasBeenSet() const
bool PolicyIdHasBeenSet() const
void SetPolicyId(PolicyIdT &&value)
PolicyAttachment & WithPolicyType(PolicyTypeT &&value)
const Aws::String & GetPolicyType() const
const Aws::String & GetPolicyId() const
void SetPolicyType(PolicyTypeT &&value)
AWS_CLOUDDIRECTORY_API PolicyAttachment()=default
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDDIRECTORY_API PolicyAttachment(Aws::Utils::Json::JsonView jsonValue)
bool ObjectIdentifierHasBeenSet() const
AWS_CLOUDDIRECTORY_API PolicyAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetObjectIdentifier() const
PolicyAttachment & WithObjectIdentifier(ObjectIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue