AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InvalidContactFlowException.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/connect/model/ProblemDetail.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECT_API InvalidContactFlowException() = default;
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<ProblemDetail>& GetProblems() const { return m_problems; }
46 inline bool ProblemsHasBeenSet() const { return m_problemsHasBeenSet; }
47 template<typename ProblemsT = Aws::Vector<ProblemDetail>>
48 void SetProblems(ProblemsT&& value) { m_problemsHasBeenSet = true; m_problems = std::forward<ProblemsT>(value); }
49 template<typename ProblemsT = Aws::Vector<ProblemDetail>>
50 InvalidContactFlowException& WithProblems(ProblemsT&& value) { SetProblems(std::forward<ProblemsT>(value)); return *this;}
51 template<typename ProblemsT = ProblemDetail>
52 InvalidContactFlowException& AddProblems(ProblemsT&& value) { m_problemsHasBeenSet = true; m_problems.emplace_back(std::forward<ProblemsT>(value)); return *this; }
54 private:
55
57 bool m_problemsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Connect
62} // namespace Aws
AWS_CONNECT_API InvalidContactFlowException()=default
AWS_CONNECT_API InvalidContactFlowException & operator=(Aws::Utils::Json::JsonView jsonValue)
InvalidContactFlowException & WithProblems(ProblemsT &&value)
InvalidContactFlowException & AddProblems(ProblemsT &&value)
const Aws::Vector< ProblemDetail > & GetProblems() const
AWS_CONNECT_API InvalidContactFlowException(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue