/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Connect { namespace Model { /** *

The flow is not valid.

See Also:

AWS * API Reference

*/ class InvalidContactFlowException { public: AWS_CONNECT_API InvalidContactFlowException(); AWS_CONNECT_API InvalidContactFlowException(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECT_API InvalidContactFlowException& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The problems with the flow. Please fix before trying again.

*/ inline const Aws::Vector& GetProblems() const{ return m_problems; } /** *

The problems with the flow. Please fix before trying again.

*/ inline bool ProblemsHasBeenSet() const { return m_problemsHasBeenSet; } /** *

The problems with the flow. Please fix before trying again.

*/ inline void SetProblems(const Aws::Vector& value) { m_problemsHasBeenSet = true; m_problems = value; } /** *

The problems with the flow. Please fix before trying again.

*/ inline void SetProblems(Aws::Vector&& value) { m_problemsHasBeenSet = true; m_problems = std::move(value); } /** *

The problems with the flow. Please fix before trying again.

*/ inline InvalidContactFlowException& WithProblems(const Aws::Vector& value) { SetProblems(value); return *this;} /** *

The problems with the flow. Please fix before trying again.

*/ inline InvalidContactFlowException& WithProblems(Aws::Vector&& value) { SetProblems(std::move(value)); return *this;} /** *

The problems with the flow. Please fix before trying again.

*/ inline InvalidContactFlowException& AddProblems(const ProblemDetail& value) { m_problemsHasBeenSet = true; m_problems.push_back(value); return *this; } /** *

The problems with the flow. Please fix before trying again.

*/ inline InvalidContactFlowException& AddProblems(ProblemDetail&& value) { m_problemsHasBeenSet = true; m_problems.push_back(std::move(value)); return *this; } private: Aws::Vector m_problems; bool m_problemsHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws