AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetProblems(const Aws::Vector<ProblemDetail>& value) { m_problemsHasBeenSet = true; m_problems = value; }
47 inline void SetProblems(Aws::Vector<ProblemDetail>&& value) { m_problemsHasBeenSet = true; m_problems = std::move(value); }
49 inline InvalidContactFlowModuleException& WithProblems(Aws::Vector<ProblemDetail>&& value) { SetProblems(std::move(value)); return *this;}
50 inline InvalidContactFlowModuleException& AddProblems(const ProblemDetail& value) { m_problemsHasBeenSet = true; m_problems.push_back(value); return *this; }
51 inline InvalidContactFlowModuleException& AddProblems(ProblemDetail&& value) { m_problemsHasBeenSet = true; m_problems.push_back(std::move(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(const Aws::Vector< ProblemDetail > &value)
InvalidContactFlowModuleException & WithProblems(Aws::Vector< ProblemDetail > &&value)
AWS_CONNECT_API InvalidContactFlowModuleException(Aws::Utils::Json::JsonView jsonValue)
void SetProblems(const Aws::Vector< ProblemDetail > &value)
InvalidContactFlowModuleException & AddProblems(const ProblemDetail &value)
AWS_CONNECT_API InvalidContactFlowModuleException & operator=(Aws::Utils::Json::JsonView jsonValue)
InvalidContactFlowModuleException & AddProblems(ProblemDetail &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue