/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The output configuration details for a metric attribution.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the IAM service role that has permissions * to add data to your output Amazon S3 bucket and add metrics to Amazon * CloudWatch. For more information, see Measuring * impact of recommendations.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The Amazon Resource Name (ARN) of the IAM service role that has permissions * to add data to your output Amazon S3 bucket and add metrics to Amazon * CloudWatch. For more information, see Measuring * impact of recommendations.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the IAM service role that has permissions * to add data to your output Amazon S3 bucket and add metrics to Amazon * CloudWatch. For more information, see Measuring * impact of recommendations.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The Amazon Resource Name (ARN) of the IAM service role that has permissions * to add data to your output Amazon S3 bucket and add metrics to Amazon * CloudWatch. For more information, see Measuring * impact of recommendations.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the IAM service role that has permissions * to add data to your output Amazon S3 bucket and add metrics to Amazon * CloudWatch. For more information, see Measuring * impact of recommendations.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the IAM service role that has permissions * to add data to your output Amazon S3 bucket and add metrics to Amazon * CloudWatch. For more information, see Measuring * impact of recommendations.
*/ inline MetricAttributionOutput& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM service role that has permissions * to add data to your output Amazon S3 bucket and add metrics to Amazon * CloudWatch. For more information, see Measuring * impact of recommendations.
*/ inline MetricAttributionOutput& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the IAM service role that has permissions * to add data to your output Amazon S3 bucket and add metrics to Amazon * CloudWatch. For more information, see Measuring * impact of recommendations.
*/ inline MetricAttributionOutput& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: S3DataConfig m_s3DataDestination; bool m_s3DataDestinationHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws