AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetProblems(const Aws::Vector<ProblemDetail>& value) { m_problemsHasBeenSet = true; m_problems = value; }
48 inline void SetProblems(Aws::Vector<ProblemDetail>&& value) { m_problemsHasBeenSet = true; m_problems = std::move(value); }
50 inline InvalidContactFlowException& WithProblems(Aws::Vector<ProblemDetail>&& value) { SetProblems(std::move(value)); return *this;}
51 inline InvalidContactFlowException& AddProblems(const ProblemDetail& value) { m_problemsHasBeenSet = true; m_problems.push_back(value); return *this; }
52 inline InvalidContactFlowException& AddProblems(ProblemDetail&& value) { m_problemsHasBeenSet = true; m_problems.push_back(std::move(value)); return *this; }
54 private:
55
57 bool m_problemsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Connect
62} // namespace Aws
void SetProblems(const Aws::Vector< ProblemDetail > &value)
AWS_CONNECT_API InvalidContactFlowException & operator=(Aws::Utils::Json::JsonView jsonValue)
InvalidContactFlowException & AddProblems(ProblemDetail &&value)
void SetProblems(Aws::Vector< ProblemDetail > &&value)
InvalidContactFlowException & AddProblems(const ProblemDetail &value)
const Aws::Vector< ProblemDetail > & GetProblems() const
AWS_CONNECT_API InvalidContactFlowException(Aws::Utils::Json::JsonView jsonValue)
InvalidContactFlowException & WithProblems(Aws::Vector< ProblemDetail > &&value)
InvalidContactFlowException & WithProblems(const Aws::Vector< ProblemDetail > &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue