/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include You cannot perform a specified action if an assessment run is currently in
* progress.See Also:
AWS
* API Reference
Details of the exception error.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *Details of the exception error.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *Details of the exception error.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *Details of the exception error.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *Details of the exception error.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *Details of the exception error.
*/ inline AssessmentRunInProgressException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *Details of the exception error.
*/ inline AssessmentRunInProgressException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *Details of the exception error.
*/ inline AssessmentRunInProgressException& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The ARNs of the assessment runs that are currently in progress.
*/ inline const Aws::VectorThe ARNs of the assessment runs that are currently in progress.
*/ inline bool AssessmentRunArnsHasBeenSet() const { return m_assessmentRunArnsHasBeenSet; } /** *The ARNs of the assessment runs that are currently in progress.
*/ inline void SetAssessmentRunArns(const Aws::VectorThe ARNs of the assessment runs that are currently in progress.
*/ inline void SetAssessmentRunArns(Aws::VectorThe ARNs of the assessment runs that are currently in progress.
*/ inline AssessmentRunInProgressException& WithAssessmentRunArns(const Aws::VectorThe ARNs of the assessment runs that are currently in progress.
*/ inline AssessmentRunInProgressException& WithAssessmentRunArns(Aws::VectorThe ARNs of the assessment runs that are currently in progress.
*/ inline AssessmentRunInProgressException& AddAssessmentRunArns(const Aws::String& value) { m_assessmentRunArnsHasBeenSet = true; m_assessmentRunArns.push_back(value); return *this; } /** *The ARNs of the assessment runs that are currently in progress.
*/ inline AssessmentRunInProgressException& AddAssessmentRunArns(Aws::String&& value) { m_assessmentRunArnsHasBeenSet = true; m_assessmentRunArns.push_back(std::move(value)); return *this; } /** *The ARNs of the assessment runs that are currently in progress.
*/ inline AssessmentRunInProgressException& AddAssessmentRunArns(const char* value) { m_assessmentRunArnsHasBeenSet = true; m_assessmentRunArns.push_back(value); return *this; } /** *Boolean value that indicates whether the ARN list of the assessment runs is * truncated.
*/ inline bool GetAssessmentRunArnsTruncated() const{ return m_assessmentRunArnsTruncated; } /** *Boolean value that indicates whether the ARN list of the assessment runs is * truncated.
*/ inline bool AssessmentRunArnsTruncatedHasBeenSet() const { return m_assessmentRunArnsTruncatedHasBeenSet; } /** *Boolean value that indicates whether the ARN list of the assessment runs is * truncated.
*/ inline void SetAssessmentRunArnsTruncated(bool value) { m_assessmentRunArnsTruncatedHasBeenSet = true; m_assessmentRunArnsTruncated = value; } /** *Boolean value that indicates whether the ARN list of the assessment runs is * truncated.
*/ inline AssessmentRunInProgressException& WithAssessmentRunArnsTruncated(bool value) { SetAssessmentRunArnsTruncated(value); return *this;} /** *You can immediately retry your request.
*/ inline bool GetCanRetry() const{ return m_canRetry; } /** *You can immediately retry your request.
*/ inline bool CanRetryHasBeenSet() const { return m_canRetryHasBeenSet; } /** *You can immediately retry your request.
*/ inline void SetCanRetry(bool value) { m_canRetryHasBeenSet = true; m_canRetry = value; } /** *You can immediately retry your request.
*/ inline AssessmentRunInProgressException& WithCanRetry(bool value) { SetCanRetry(value); return *this;} private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::Vector