7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
63 inline void SetPolicyId(
const char* value) { m_policyIdHasBeenSet =
true; m_policyId.assign(value); }
78 inline void SetRamResourceShareRegion(
const char* value) { m_ramResourceShareRegionHasBeenSet =
true; m_ramResourceShareRegion.assign(value); }
86 bool m_policyDocumentHasBeenSet =
false;
89 bool m_policyIdHasBeenSet =
false;
92 bool m_ramResourceShareRegionHasBeenSet =
false;
void SetPolicyId(Aws::String &&value)
bool PolicyDocumentHasBeenSet() const
AWS_SSMINCIDENTS_API ResourcePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourcePolicy & WithPolicyId(const Aws::String &value)
ResourcePolicy & WithPolicyDocument(const Aws::String &value)
void SetPolicyDocument(const Aws::String &value)
ResourcePolicy & WithRamResourceShareRegion(const Aws::String &value)
ResourcePolicy & WithRamResourceShareRegion(const char *value)
const Aws::String & GetRamResourceShareRegion() const
const Aws::String & GetPolicyDocument() const
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSMINCIDENTS_API ResourcePolicy(Aws::Utils::Json::JsonView jsonValue)
void SetRamResourceShareRegion(Aws::String &&value)
ResourcePolicy & WithPolicyId(Aws::String &&value)
void SetPolicyDocument(const char *value)
AWS_SSMINCIDENTS_API ResourcePolicy()
void SetPolicyDocument(Aws::String &&value)
ResourcePolicy & WithRamResourceShareRegion(Aws::String &&value)
bool RamResourceShareRegionHasBeenSet() const
ResourcePolicy & WithPolicyDocument(const char *value)
ResourcePolicy & WithPolicyId(const char *value)
void SetRamResourceShareRegion(const Aws::String &value)
const Aws::String & GetPolicyId() const
bool PolicyIdHasBeenSet() const
void SetPolicyId(const char *value)
ResourcePolicy & WithPolicyDocument(Aws::String &&value)
void SetRamResourceShareRegion(const char *value)
void SetPolicyId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue