7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchLogs
49 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
63 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
76 inline void SetLastUpdatedTime(
long long value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = value; }
82 bool m_policyNameHasBeenSet =
false;
85 bool m_policyDocumentHasBeenSet =
false;
87 long long m_lastUpdatedTime;
88 bool m_lastUpdatedTimeHasBeenSet =
false;
const Aws::String & GetPolicyName() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
ResourcePolicy & WithLastUpdatedTime(long long value)
void SetPolicyDocument(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API ResourcePolicy()
void SetPolicyName(Aws::String &&value)
const Aws::String & GetPolicyDocument() const
AWS_CLOUDWATCHLOGS_API ResourcePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourcePolicy & WithPolicyDocument(Aws::String &&value)
ResourcePolicy & WithPolicyName(const char *value)
long long GetLastUpdatedTime() const
void SetPolicyDocument(const char *value)
void SetLastUpdatedTime(long long value)
ResourcePolicy & WithPolicyDocument(const char *value)
ResourcePolicy & WithPolicyDocument(const Aws::String &value)
bool PolicyNameHasBeenSet() const
void SetPolicyName(const Aws::String &value)
bool LastUpdatedTimeHasBeenSet() const
AWS_CLOUDWATCHLOGS_API ResourcePolicy(Aws::Utils::Json::JsonView jsonValue)
void SetPolicyDocument(Aws::String &&value)
bool PolicyDocumentHasBeenSet() const
ResourcePolicy & WithPolicyName(Aws::String &&value)
ResourcePolicy & WithPolicyName(const Aws::String &value)
void SetPolicyName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue