7#include <aws/clouddirectory/CloudDirectory_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudDirectory
52 inline void SetPolicyId(
const char* value) { m_policyIdHasBeenSet =
true; m_policyId.assign(value); }
67 inline void SetObjectIdentifier(
const char* value) { m_objectIdentifierHasBeenSet =
true; m_objectIdentifier.assign(value); }
82 inline void SetPolicyType(
const char* value) { m_policyTypeHasBeenSet =
true; m_policyType.assign(value); }
90 bool m_policyIdHasBeenSet =
false;
93 bool m_objectIdentifierHasBeenSet =
false;
96 bool m_policyTypeHasBeenSet =
false;
void SetObjectIdentifier(const char *value)
bool PolicyTypeHasBeenSet() const
bool PolicyIdHasBeenSet() const
PolicyAttachment & WithPolicyId(Aws::String &&value)
PolicyAttachment & WithObjectIdentifier(const char *value)
void SetPolicyType(Aws::String &&value)
const Aws::String & GetPolicyType() const
PolicyAttachment & WithPolicyType(const Aws::String &value)
void SetPolicyId(const Aws::String &value)
const Aws::String & GetPolicyId() const
void SetObjectIdentifier(Aws::String &&value)
void SetPolicyType(const Aws::String &value)
void SetPolicyId(Aws::String &&value)
AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDDIRECTORY_API PolicyAttachment(Aws::Utils::Json::JsonView jsonValue)
PolicyAttachment & WithObjectIdentifier(const Aws::String &value)
PolicyAttachment & WithPolicyId(const Aws::String &value)
PolicyAttachment & WithPolicyType(const char *value)
bool ObjectIdentifierHasBeenSet() const
AWS_CLOUDDIRECTORY_API PolicyAttachment()
void SetPolicyId(const char *value)
AWS_CLOUDDIRECTORY_API PolicyAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetObjectIdentifier() const
PolicyAttachment & WithPolicyType(Aws::String &&value)
void SetObjectIdentifier(const Aws::String &value)
PolicyAttachment & WithPolicyId(const char *value)
void SetPolicyType(const char *value)
PolicyAttachment & WithObjectIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue