7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
40 template <
typename PolicyNameT = Aws::String>
42 m_policyNameHasBeenSet =
true;
43 m_policyName = std::forward<PolicyNameT>(value);
45 template <
typename PolicyNameT = Aws::String>
58 template <
typename PolicyArnT = Aws::String>
60 m_policyArnHasBeenSet =
true;
61 m_policyArn = std::forward<PolicyArnT>(value);
63 template <
typename PolicyArnT = Aws::String>
73 bool m_policyNameHasBeenSet =
false;
74 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