/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Amazon S3 result from the snapshot job. The result includes the
* DestinationConfiguration
and the Amazon S3 Uri. If an error occured
* during the job, the result returns information on the error.See
* Also:
AWS
* API Reference
A list of Amazon S3 bucket configurations that are provided when you make a
* StartDashboardSnapshotJob
API call.
A list of Amazon S3 bucket configurations that are provided when you make a
* StartDashboardSnapshotJob
API call.
A list of Amazon S3 bucket configurations that are provided when you make a
* StartDashboardSnapshotJob
API call.
A list of Amazon S3 bucket configurations that are provided when you make a
* StartDashboardSnapshotJob
API call.
A list of Amazon S3 bucket configurations that are provided when you make a
* StartDashboardSnapshotJob
API call.
A list of Amazon S3 bucket configurations that are provided when you make a
* StartDashboardSnapshotJob
API call.
The Amazon S3 Uri.
*/ inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } /** *The Amazon S3 Uri.
*/ inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } /** *The Amazon S3 Uri.
*/ inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } /** *The Amazon S3 Uri.
*/ inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } /** *The Amazon S3 Uri.
*/ inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } /** *The Amazon S3 Uri.
*/ inline SnapshotJobS3Result& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} /** *The Amazon S3 Uri.
*/ inline SnapshotJobS3Result& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} /** *The Amazon S3 Uri.
*/ inline SnapshotJobS3Result& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} /** *An array of error records that describe any failures that occur while the * dashboard snapshot job runs.
*/ inline const Aws::VectorAn array of error records that describe any failures that occur while the * dashboard snapshot job runs.
*/ inline bool ErrorInfoHasBeenSet() const { return m_errorInfoHasBeenSet; } /** *An array of error records that describe any failures that occur while the * dashboard snapshot job runs.
*/ inline void SetErrorInfo(const Aws::VectorAn array of error records that describe any failures that occur while the * dashboard snapshot job runs.
*/ inline void SetErrorInfo(Aws::VectorAn array of error records that describe any failures that occur while the * dashboard snapshot job runs.
*/ inline SnapshotJobS3Result& WithErrorInfo(const Aws::VectorAn array of error records that describe any failures that occur while the * dashboard snapshot job runs.
*/ inline SnapshotJobS3Result& WithErrorInfo(Aws::VectorAn array of error records that describe any failures that occur while the * dashboard snapshot job runs.
*/ inline SnapshotJobS3Result& AddErrorInfo(const SnapshotJobResultErrorInfo& value) { m_errorInfoHasBeenSet = true; m_errorInfo.push_back(value); return *this; } /** *An array of error records that describe any failures that occur while the * dashboard snapshot job runs.
*/ inline SnapshotJobS3Result& AddErrorInfo(SnapshotJobResultErrorInfo&& value) { m_errorInfoHasBeenSet = true; m_errorInfo.push_back(std::move(value)); return *this; } private: SnapshotS3DestinationConfiguration m_s3DestinationConfiguration; bool m_s3DestinationConfigurationHasBeenSet = false; Aws::String m_s3Uri; bool m_s3UriHasBeenSet = false; Aws::Vector