7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename PolicyNameT = Aws::String>
48 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
49 template<
typename PolicyNameT = Aws::String>
59 template<
typename PolicyArnT = Aws::String>
60 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet =
true; m_policyArn = std::forward<PolicyArnT>(value); }
61 template<
typename PolicyArnT = Aws::String>
71 template<
typename PolicyDocumentT = Aws::String>
72 void SetPolicyDocument(PolicyDocumentT&& value) { m_policyDocumentHasBeenSet =
true; m_policyDocument = std::forward<PolicyDocumentT>(value); }
73 template<
typename PolicyDocumentT = Aws::String>
79 bool m_policyNameHasBeenSet =
false;
82 bool m_policyArnHasBeenSet =
false;
85 bool m_policyDocumentHasBeenSet =
false;
const Aws::String & GetPolicyName() const
AWS_IOT_API EffectivePolicy(Aws::Utils::Json::JsonView jsonValue)
EffectivePolicy & WithPolicyArn(PolicyArnT &&value)
bool PolicyArnHasBeenSet() const
bool PolicyNameHasBeenSet() const
EffectivePolicy & WithPolicyDocument(PolicyDocumentT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPolicyName(PolicyNameT &&value)
void SetPolicyDocument(PolicyDocumentT &&value)
AWS_IOT_API EffectivePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPolicyDocument() const
AWS_IOT_API EffectivePolicy()=default
EffectivePolicy & WithPolicyName(PolicyNameT &&value)
const Aws::String & GetPolicyArn() const
bool PolicyDocumentHasBeenSet() const
void SetPolicyArn(PolicyArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue