7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
52 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
66 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
80 inline void SetPolicyRevisionId(
const char* value) { m_policyRevisionIdHasBeenSet =
true; m_policyRevisionId.assign(value); }
100 bool m_policyNameHasBeenSet =
false;
103 bool m_policyDocumentHasBeenSet =
false;
106 bool m_policyRevisionIdHasBeenSet =
false;
109 bool m_lastUpdatedTimeHasBeenSet =
false;
ResourcePolicy & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
AWS_XRAY_API ResourcePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPolicyName(const char *value)
void SetPolicyName(const Aws::String &value)
ResourcePolicy & WithPolicyRevisionId(const char *value)
AWS_XRAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool LastUpdatedTimeHasBeenSet() const
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
AWS_XRAY_API ResourcePolicy()
ResourcePolicy & WithPolicyName(Aws::String &&value)
AWS_XRAY_API ResourcePolicy(Aws::Utils::Json::JsonView jsonValue)
ResourcePolicy & WithPolicyRevisionId(const Aws::String &value)
bool PolicyDocumentHasBeenSet() const
ResourcePolicy & WithPolicyDocument(const Aws::String &value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
ResourcePolicy & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetPolicyName(Aws::String &&value)
void SetPolicyRevisionId(const char *value)
void SetPolicyDocument(const char *value)
void SetPolicyDocument(const Aws::String &value)
ResourcePolicy & WithPolicyRevisionId(Aws::String &&value)
const Aws::String & GetPolicyRevisionId() const
ResourcePolicy & WithPolicyDocument(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
bool PolicyNameHasBeenSet() const
ResourcePolicy & WithPolicyName(const Aws::String &value)
void SetPolicyRevisionId(const Aws::String &value)
bool PolicyRevisionIdHasBeenSet() const
void SetPolicyDocument(Aws::String &&value)
ResourcePolicy & WithPolicyName(const char *value)
ResourcePolicy & WithPolicyDocument(const char *value)
const Aws::String & GetPolicyDocument() const
const Aws::String & GetPolicyName() const
void SetPolicyRevisionId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue