7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
19namespace CloudWatchLogs {
41 template <
typename DestinationNameT = Aws::String>
43 m_destinationNameHasBeenSet =
true;
44 m_destinationName = std::forward<DestinationNameT>(value);
46 template <
typename DestinationNameT = Aws::String>
60 template <
typename TargetArnT = Aws::String>
62 m_targetArnHasBeenSet =
true;
63 m_targetArn = std::forward<TargetArnT>(value);
65 template <
typename TargetArnT = Aws::String>
78 template <
typename RoleArnT = Aws::String>
80 m_roleArnHasBeenSet =
true;
81 m_roleArn = std::forward<RoleArnT>(value);
83 template <
typename RoleArnT = Aws::String>
97 template <
typename AccessPolicyT = Aws::String>
99 m_accessPolicyHasBeenSet =
true;
100 m_accessPolicy = std::forward<AccessPolicyT>(value);
102 template <
typename AccessPolicyT = Aws::String>
115 template <
typename ArnT = Aws::String>
117 m_arnHasBeenSet =
true;
118 m_arn = std::forward<ArnT>(value);
120 template <
typename ArnT = Aws::String>
122 SetArn(std::forward<ArnT>(value));
135 m_creationTimeHasBeenSet =
true;
136 m_creationTime = value;
154 long long m_creationTime{0};
155 bool m_destinationNameHasBeenSet =
false;
156 bool m_targetArnHasBeenSet =
false;
157 bool m_roleArnHasBeenSet =
false;
158 bool m_accessPolicyHasBeenSet =
false;
159 bool m_arnHasBeenSet =
false;
160 bool m_creationTimeHasBeenSet =
false;
const Aws::String & GetArn() const
void SetArn(ArnT &&value)
const Aws::String & GetTargetArn() const
void SetAccessPolicy(AccessPolicyT &&value)
bool AccessPolicyHasBeenSet() const
Destination & WithAccessPolicy(AccessPolicyT &&value)
Destination & WithCreationTime(long long value)
AWS_CLOUDWATCHLOGS_API Destination()=default
bool TargetArnHasBeenSet() const
bool CreationTimeHasBeenSet() const
Destination & WithDestinationName(DestinationNameT &&value)
long long GetCreationTime() const
AWS_CLOUDWATCHLOGS_API Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API Destination(Aws::Utils::Json::JsonView jsonValue)
Destination & WithArn(ArnT &&value)
Destination & WithRoleArn(RoleArnT &&value)
void SetTargetArn(TargetArnT &&value)
const Aws::String & GetRoleArn() const
bool DestinationNameHasBeenSet() const
void SetDestinationName(DestinationNameT &&value)
const Aws::String & GetDestinationName() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRoleArn(RoleArnT &&value)
bool RoleArnHasBeenSet() const
const Aws::String & GetAccessPolicy() const
bool ArnHasBeenSet() const
void SetCreationTime(long long value)
Destination & WithTargetArn(TargetArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue