7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudDirectory
50 template<
typename PolicyIdT = Aws::String>
51 void SetPolicyId(PolicyIdT&& value) { m_policyIdHasBeenSet =
true; m_policyId = std::forward<PolicyIdT>(value); }
52 template<
typename PolicyIdT = Aws::String>
63 template<
typename ObjectIdentifierT = Aws::String>
64 void SetObjectIdentifier(ObjectIdentifierT&& value) { m_objectIdentifierHasBeenSet =
true; m_objectIdentifier = std::forward<ObjectIdentifierT>(value); }
65 template<
typename ObjectIdentifierT = Aws::String>
76 template<
typename PolicyTypeT = Aws::String>
77 void SetPolicyType(PolicyTypeT&& value) { m_policyTypeHasBeenSet =
true; m_policyType = std::forward<PolicyTypeT>(value); }
78 template<
typename PolicyTypeT = Aws::String>
84 bool m_policyIdHasBeenSet =
false;
87 bool m_objectIdentifierHasBeenSet =
false;
90 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