AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InvalidContactFlowModuleException.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
34 {
35 public:
36 AWS_CONNECT_API InvalidContactFlowModuleException() = default;
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const Aws::Vector<ProblemDetail>& GetProblems() const { return m_problems; }
45 inline bool ProblemsHasBeenSet() const { return m_problemsHasBeenSet; }
46 template<typename ProblemsT = Aws::Vector<ProblemDetail>>
47 void SetProblems(ProblemsT&& value) { m_problemsHasBeenSet = true; m_problems = std::forward<ProblemsT>(value); }
48 template<typename ProblemsT = Aws::Vector<ProblemDetail>>
49 InvalidContactFlowModuleException& WithProblems(ProblemsT&& value) { SetProblems(std::forward<ProblemsT>(value)); return *this;}
50 template<typename ProblemsT = ProblemDetail>
51 InvalidContactFlowModuleException& AddProblems(ProblemsT&& value) { m_problemsHasBeenSet = true; m_problems.emplace_back(std::forward<ProblemsT>(value)); return *this; }
53 private:
54
56 bool m_problemsHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Connect
61} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
InvalidContactFlowModuleException & WithProblems(ProblemsT &&value)
AWS_CONNECT_API InvalidContactFlowModuleException(Aws::Utils::Json::JsonView jsonValue)
InvalidContactFlowModuleException & AddProblems(ProblemsT &&value)
AWS_CONNECT_API InvalidContactFlowModuleException & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue