AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
InvalidContactFlowModuleException.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ProblemDetail.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
30 public:
31 AWS_CONNECT_API InvalidContactFlowModuleException() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const Aws::Vector<ProblemDetail>& GetProblems() const { return m_problems; }
39 inline bool ProblemsHasBeenSet() const { return m_problemsHasBeenSet; }
40 template <typename ProblemsT = Aws::Vector<ProblemDetail>>
41 void SetProblems(ProblemsT&& value) {
42 m_problemsHasBeenSet = true;
43 m_problems = std::forward<ProblemsT>(value);
44 }
45 template <typename ProblemsT = Aws::Vector<ProblemDetail>>
47 SetProblems(std::forward<ProblemsT>(value));
48 return *this;
49 }
50 template <typename ProblemsT = ProblemDetail>
52 m_problemsHasBeenSet = true;
53 m_problems.emplace_back(std::forward<ProblemsT>(value));
54 return *this;
55 }
57 private:
59 bool m_problemsHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace Connect
64} // 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