7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
63 inline void SetPolicyArn(
const char* value) { m_policyArnHasBeenSet =
true; m_policyArn.assign(value); }
77 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
85 bool m_policyNameHasBeenSet =
false;
88 bool m_policyArnHasBeenSet =
false;
91 bool m_policyDocumentHasBeenSet =
false;
const Aws::String & GetPolicyName() const
AWS_IOT_API EffectivePolicy(Aws::Utils::Json::JsonView jsonValue)
EffectivePolicy & WithPolicyArn(Aws::String &&value)
EffectivePolicy & WithPolicyDocument(const char *value)
void SetPolicyDocument(const Aws::String &value)
bool PolicyArnHasBeenSet() const
EffectivePolicy & WithPolicyName(Aws::String &&value)
void SetPolicyDocument(Aws::String &&value)
bool PolicyNameHasBeenSet() const
void SetPolicyName(const Aws::String &value)
void SetPolicyArn(const char *value)
void SetPolicyArn(Aws::String &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
EffectivePolicy & WithPolicyDocument(Aws::String &&value)
AWS_IOT_API EffectivePolicy()
EffectivePolicy & WithPolicyName(const Aws::String &value)
AWS_IOT_API EffectivePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPolicyDocument() const
EffectivePolicy & WithPolicyDocument(const Aws::String &value)
EffectivePolicy & WithPolicyName(const char *value)
EffectivePolicy & WithPolicyArn(const Aws::String &value)
void SetPolicyArn(const Aws::String &value)
void SetPolicyDocument(const char *value)
void SetPolicyName(Aws::String &&value)
const Aws::String & GetPolicyArn() const
EffectivePolicy & WithPolicyArn(const char *value)
void SetPolicyName(const char *value)
bool PolicyDocumentHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue