7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchLogs
47 template<
typename DestinationNameT = Aws::String>
48 void SetDestinationName(DestinationNameT&& value) { m_destinationNameHasBeenSet =
true; m_destinationName = std::forward<DestinationNameT>(value); }
49 template<
typename DestinationNameT = Aws::String>
60 template<
typename TargetArnT = Aws::String>
61 void SetTargetArn(TargetArnT&& value) { m_targetArnHasBeenSet =
true; m_targetArn = std::forward<TargetArnT>(value); }
62 template<
typename TargetArnT = Aws::String>
72 template<
typename RoleArnT = Aws::String>
73 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
74 template<
typename RoleArnT = Aws::String>
85 template<
typename AccessPolicyT = Aws::String>
86 void SetAccessPolicy(AccessPolicyT&& value) { m_accessPolicyHasBeenSet =
true; m_accessPolicy = std::forward<AccessPolicyT>(value); }
87 template<
typename AccessPolicyT = Aws::String>
97 template<
typename ArnT = Aws::String>
98 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
99 template<
typename ArnT = Aws::String>
110 inline void SetCreationTime(
long long value) { m_creationTimeHasBeenSet =
true; m_creationTime = value; }
116 bool m_destinationNameHasBeenSet =
false;
119 bool m_targetArnHasBeenSet =
false;
122 bool m_roleArnHasBeenSet =
false;
125 bool m_accessPolicyHasBeenSet =
false;
128 bool m_arnHasBeenSet =
false;
130 long long m_creationTime{0};
131 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