/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the resource settings for a job that exports
* endpoint definitions to a file. The file can be added directly to an Amazon
* Simple Storage Service (Amazon S3) bucket by using the Amazon Pinpoint API or
* downloaded directly to a computer by using the Amazon Pinpoint
* console.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location * where the endpoint definitions were exported to.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location * where the endpoint definitions were exported to.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location * where the endpoint definitions were exported to.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location * where the endpoint definitions were exported to.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location * where the endpoint definitions were exported to.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location * where the endpoint definitions were exported to.
*/ inline ExportJobResource& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location * where the endpoint definitions were exported to.
*/ inline ExportJobResource& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the AWS Identity and Access Management * (IAM) role that authorized Amazon Pinpoint to access the Amazon S3 location * where the endpoint definitions were exported to.
*/ inline ExportJobResource& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The URL of the location in an Amazon Simple Storage Service (Amazon S3)
* bucket where the endpoint definitions were exported to. This location is
* typically a folder that contains multiple files. The URL should be in the
* following format:
* s3://
The URL of the location in an Amazon Simple Storage Service (Amazon S3)
* bucket where the endpoint definitions were exported to. This location is
* typically a folder that contains multiple files. The URL should be in the
* following format:
* s3://
The URL of the location in an Amazon Simple Storage Service (Amazon S3)
* bucket where the endpoint definitions were exported to. This location is
* typically a folder that contains multiple files. The URL should be in the
* following format:
* s3://
The URL of the location in an Amazon Simple Storage Service (Amazon S3)
* bucket where the endpoint definitions were exported to. This location is
* typically a folder that contains multiple files. The URL should be in the
* following format:
* s3://
The URL of the location in an Amazon Simple Storage Service (Amazon S3)
* bucket where the endpoint definitions were exported to. This location is
* typically a folder that contains multiple files. The URL should be in the
* following format:
* s3://
The URL of the location in an Amazon Simple Storage Service (Amazon S3)
* bucket where the endpoint definitions were exported to. This location is
* typically a folder that contains multiple files. The URL should be in the
* following format:
* s3://
The URL of the location in an Amazon Simple Storage Service (Amazon S3)
* bucket where the endpoint definitions were exported to. This location is
* typically a folder that contains multiple files. The URL should be in the
* following format:
* s3://
The URL of the location in an Amazon Simple Storage Service (Amazon S3)
* bucket where the endpoint definitions were exported to. This location is
* typically a folder that contains multiple files. The URL should be in the
* following format:
* s3://
The identifier for the segment that the endpoint definitions were exported * from. If this value isn't present, Amazon Pinpoint exported definitions for all * the endpoints that are associated with the application.
*/ inline const Aws::String& GetSegmentId() const{ return m_segmentId; } /** *The identifier for the segment that the endpoint definitions were exported * from. If this value isn't present, Amazon Pinpoint exported definitions for all * the endpoints that are associated with the application.
*/ inline bool SegmentIdHasBeenSet() const { return m_segmentIdHasBeenSet; } /** *The identifier for the segment that the endpoint definitions were exported * from. If this value isn't present, Amazon Pinpoint exported definitions for all * the endpoints that are associated with the application.
*/ inline void SetSegmentId(const Aws::String& value) { m_segmentIdHasBeenSet = true; m_segmentId = value; } /** *The identifier for the segment that the endpoint definitions were exported * from. If this value isn't present, Amazon Pinpoint exported definitions for all * the endpoints that are associated with the application.
*/ inline void SetSegmentId(Aws::String&& value) { m_segmentIdHasBeenSet = true; m_segmentId = std::move(value); } /** *The identifier for the segment that the endpoint definitions were exported * from. If this value isn't present, Amazon Pinpoint exported definitions for all * the endpoints that are associated with the application.
*/ inline void SetSegmentId(const char* value) { m_segmentIdHasBeenSet = true; m_segmentId.assign(value); } /** *The identifier for the segment that the endpoint definitions were exported * from. If this value isn't present, Amazon Pinpoint exported definitions for all * the endpoints that are associated with the application.
*/ inline ExportJobResource& WithSegmentId(const Aws::String& value) { SetSegmentId(value); return *this;} /** *The identifier for the segment that the endpoint definitions were exported * from. If this value isn't present, Amazon Pinpoint exported definitions for all * the endpoints that are associated with the application.
*/ inline ExportJobResource& WithSegmentId(Aws::String&& value) { SetSegmentId(std::move(value)); return *this;} /** *The identifier for the segment that the endpoint definitions were exported * from. If this value isn't present, Amazon Pinpoint exported definitions for all * the endpoints that are associated with the application.
*/ inline ExportJobResource& WithSegmentId(const char* value) { SetSegmentId(value); return *this;} /** *The version of the segment that the endpoint definitions were exported * from.
*/ inline int GetSegmentVersion() const{ return m_segmentVersion; } /** *The version of the segment that the endpoint definitions were exported * from.
*/ inline bool SegmentVersionHasBeenSet() const { return m_segmentVersionHasBeenSet; } /** *The version of the segment that the endpoint definitions were exported * from.
*/ inline void SetSegmentVersion(int value) { m_segmentVersionHasBeenSet = true; m_segmentVersion = value; } /** *The version of the segment that the endpoint definitions were exported * from.
*/ inline ExportJobResource& WithSegmentVersion(int value) { SetSegmentVersion(value); return *this;} private: Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::String m_s3UrlPrefix; bool m_s3UrlPrefixHasBeenSet = false; Aws::String m_segmentId; bool m_segmentIdHasBeenSet = false; int m_segmentVersion; bool m_segmentVersionHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws