/** * 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 problems with the module. Please fix before trying again.

See * Also:

AWS * API Reference

*/ class InvalidContactFlowModuleException { public: AWS_CONNECT_API InvalidContactFlowModuleException(); AWS_CONNECT_API InvalidContactFlowModuleException(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECT_API InvalidContactFlowModuleException& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const; inline const Aws::Vector& GetProblems() const{ return m_problems; } inline bool ProblemsHasBeenSet() const { return m_problemsHasBeenSet; } inline void SetProblems(const Aws::Vector& value) { m_problemsHasBeenSet = true; m_problems = value; } inline void SetProblems(Aws::Vector&& value) { m_problemsHasBeenSet = true; m_problems = std::move(value); } inline InvalidContactFlowModuleException& WithProblems(const Aws::Vector& value) { SetProblems(value); return *this;} inline InvalidContactFlowModuleException& WithProblems(Aws::Vector&& value) { SetProblems(std::move(value)); return *this;} inline InvalidContactFlowModuleException& AddProblems(const ProblemDetail& value) { m_problemsHasBeenSet = true; m_problems.push_back(value); return *this; } inline InvalidContactFlowModuleException& 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