7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename PolicyNameT = Aws::String>
47 void SetPolicyName(PolicyNameT&& value) { m_policyNameHasBeenSet =
true; m_policyName = std::forward<PolicyNameT>(value); }
48 template<
typename PolicyNameT = Aws::String>
58 template<
typename PolicyArnT = Aws::String>
59 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet =
true; m_policyArn = std::forward<PolicyArnT>(value); }
60 template<
typename PolicyArnT = Aws::String>
66 bool m_policyNameHasBeenSet =
false;
69 bool m_policyArnHasBeenSet =
false;
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
bool PolicyArnHasBeenSet() const
AWS_IOT_API Policy()=default
Policy & WithPolicyName(PolicyNameT &&value)
const Aws::String & GetPolicyName() const
void SetPolicyName(PolicyNameT &&value)
AWS_IOT_API Policy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PolicyNameHasBeenSet() const
Policy & WithPolicyArn(PolicyArnT &&value)
const Aws::String & GetPolicyArn() const
void SetPolicyArn(PolicyArnT &&value)
AWS_IOT_API Policy(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue