7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchLogs
49 inline void SetDestinationName(
const char* value) { m_destinationNameHasBeenSet =
true; m_destinationName.assign(value); }
64 inline void SetTargetArn(
const char* value) { m_targetArnHasBeenSet =
true; m_targetArn.assign(value); }
78 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
93 inline void SetAccessPolicy(
const char* value) { m_accessPolicyHasBeenSet =
true; m_accessPolicy.assign(value); }
107 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
120 inline void SetCreationTime(
long long value) { m_creationTimeHasBeenSet =
true; m_creationTime = value; }
126 bool m_destinationNameHasBeenSet =
false;
129 bool m_targetArnHasBeenSet =
false;
132 bool m_roleArnHasBeenSet =
false;
135 bool m_accessPolicyHasBeenSet =
false;
138 bool m_arnHasBeenSet =
false;
140 long long m_creationTime;
141 bool m_creationTimeHasBeenSet =
false;
Destination & WithArn(const Aws::String &value)
const Aws::String & GetArn() const
Destination & WithArn(const char *value)
Destination & WithRoleArn(const char *value)
void SetDestinationName(const char *value)
Destination & WithAccessPolicy(Aws::String &&value)
void SetAccessPolicy(Aws::String &&value)
Destination & WithTargetArn(Aws::String &&value)
Destination & WithDestinationName(const char *value)
const Aws::String & GetTargetArn() const
bool AccessPolicyHasBeenSet() const
Destination & WithAccessPolicy(const Aws::String &value)
void SetTargetArn(const char *value)
void SetTargetArn(const Aws::String &value)
Destination & WithCreationTime(long long value)
Destination & WithDestinationName(Aws::String &&value)
void SetRoleArn(Aws::String &&value)
bool TargetArnHasBeenSet() const
Destination & WithAccessPolicy(const char *value)
bool CreationTimeHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Destination()
void SetRoleArn(const char *value)
long long GetCreationTime() const
Destination & WithDestinationName(const Aws::String &value)
void SetArn(const char *value)
AWS_CLOUDWATCHLOGS_API Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API Destination(Aws::Utils::Json::JsonView jsonValue)
Destination & WithRoleArn(Aws::String &&value)
const Aws::String & GetRoleArn() const
void SetRoleArn(const Aws::String &value)
void SetArn(const Aws::String &value)
bool DestinationNameHasBeenSet() const
void SetArn(Aws::String &&value)
void SetTargetArn(Aws::String &&value)
void SetDestinationName(const Aws::String &value)
Destination & WithTargetArn(const char *value)
const Aws::String & GetDestinationName() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccessPolicy(const Aws::String &value)
bool RoleArnHasBeenSet() const
Destination & WithTargetArn(const Aws::String &value)
Destination & WithArn(Aws::String &&value)
const Aws::String & GetAccessPolicy() const
bool ArnHasBeenSet() const
void SetAccessPolicy(const char *value)
Destination & WithRoleArn(const Aws::String &value)
void SetCreationTime(long long value)
void SetDestinationName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue