7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
62 inline void SetPolicyArn(
const char* value) { m_policyArnHasBeenSet =
true; m_policyArn.assign(value); }
70 bool m_policyNameHasBeenSet =
false;
73 bool m_policyArnHasBeenSet =
false;
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool PolicyArnHasBeenSet() const
Policy & WithPolicyArn(const char *value)
Policy & WithPolicyName(Aws::String &&value)
Policy & WithPolicyArn(Aws::String &&value)
Policy & WithPolicyArn(const Aws::String &value)
void SetPolicyName(Aws::String &&value)
Policy & WithPolicyName(const Aws::String &value)
void SetPolicyArn(const Aws::String &value)
void SetPolicyName(const char *value)
const Aws::String & GetPolicyName() const
void SetPolicyArn(const char *value)
void SetPolicyArn(Aws::String &&value)
Policy & WithPolicyName(const char *value)
AWS_IOT_API Policy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PolicyNameHasBeenSet() const
const Aws::String & GetPolicyArn() const
AWS_IOT_API Policy(Aws::Utils::Json::JsonView jsonValue)
void SetPolicyName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue