7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rum/CloudWatchRUMRequest.h>
9#include <aws/rum/CloudWatchRUM_EXPORTS.h>
10#include <aws/rum/model/MetricDestination.h>
15namespace CloudWatchRUM {
38 template <
typename AppMonitorNameT = Aws::String>
40 m_appMonitorNameHasBeenSet =
true;
41 m_appMonitorName = std::forward<AppMonitorNameT>(value);
43 template <
typename AppMonitorNameT = Aws::String>
61 m_destinationHasBeenSet =
true;
62 m_destination = value;
78 template <
typename DestinationArnT = Aws::String>
80 m_destinationArnHasBeenSet =
true;
81 m_destinationArn = std::forward<DestinationArnT>(value);
83 template <
typename DestinationArnT = Aws::String>
106 template <
typename IamRoleArnT = Aws::String>
108 m_iamRoleArnHasBeenSet =
true;
109 m_iamRoleArn = std::forward<IamRoleArnT>(value);
111 template <
typename IamRoleArnT = Aws::String>
125 bool m_appMonitorNameHasBeenSet =
false;
126 bool m_destinationHasBeenSet =
false;
127 bool m_destinationArnHasBeenSet =
false;
128 bool m_iamRoleArnHasBeenSet =
false;
void SetAppMonitorName(AppMonitorNameT &&value)
PutRumMetricsDestinationRequest & WithDestinationArn(DestinationArnT &&value)
AWS_CLOUDWATCHRUM_API PutRumMetricsDestinationRequest()=default
bool DestinationHasBeenSet() const
MetricDestination GetDestination() const
bool DestinationArnHasBeenSet() const
PutRumMetricsDestinationRequest & WithIamRoleArn(IamRoleArnT &&value)
void SetDestinationArn(DestinationArnT &&value)
PutRumMetricsDestinationRequest & WithAppMonitorName(AppMonitorNameT &&value)
AWS_CLOUDWATCHRUM_API Aws::String SerializePayload() const override
const Aws::String & GetIamRoleArn() const
PutRumMetricsDestinationRequest & WithDestination(MetricDestination value)
const Aws::String & GetDestinationArn() const
bool IamRoleArnHasBeenSet() const
bool AppMonitorNameHasBeenSet() const
void SetIamRoleArn(IamRoleArnT &&value)
void SetDestination(MetricDestination value)
const Aws::String & GetAppMonitorName() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String