AWS SDK for C++  1.9.159
AWS SDK for C++
InvalidContactFlowException.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Connect
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::Vector<ProblemDetail>& GetProblems() const{ return m_problems; }
45 
49  inline bool ProblemsHasBeenSet() const { return m_problemsHasBeenSet; }
50 
54  inline void SetProblems(const Aws::Vector<ProblemDetail>& value) { m_problemsHasBeenSet = true; m_problems = value; }
55 
59  inline void SetProblems(Aws::Vector<ProblemDetail>&& value) { m_problemsHasBeenSet = true; m_problems = std::move(value); }
60 
64  inline InvalidContactFlowException& WithProblems(const Aws::Vector<ProblemDetail>& value) { SetProblems(value); return *this;}
65 
69  inline InvalidContactFlowException& WithProblems(Aws::Vector<ProblemDetail>&& value) { SetProblems(std::move(value)); return *this;}
70 
74  inline InvalidContactFlowException& AddProblems(const ProblemDetail& value) { m_problemsHasBeenSet = true; m_problems.push_back(value); return *this; }
75 
79  inline InvalidContactFlowException& AddProblems(ProblemDetail&& value) { m_problemsHasBeenSet = true; m_problems.push_back(std::move(value)); return *this; }
80 
81  private:
82 
83  Aws::Vector<ProblemDetail> m_problems;
84  bool m_problemsHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace Connect
89 } // namespace Aws
Aws::Connect::Model::InvalidContactFlowException::InvalidContactFlowException
InvalidContactFlowException()
Aws::Connect::Model::InvalidContactFlowException::InvalidContactFlowException
InvalidContactFlowException(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::InvalidContactFlowException
Definition: InvalidContactFlowException.h:33
Aws::Connect::Model::InvalidContactFlowException::AddProblems
InvalidContactFlowException & AddProblems(ProblemDetail &&value)
Definition: InvalidContactFlowException.h:79
Aws::Connect::Model::InvalidContactFlowException::ProblemsHasBeenSet
bool ProblemsHasBeenSet() const
Definition: InvalidContactFlowException.h:49
Aws::Connect::Model::InvalidContactFlowException::SetProblems
void SetProblems(Aws::Vector< ProblemDetail > &&value)
Definition: InvalidContactFlowException.h:59
Aws::Connect::Model::InvalidContactFlowException::AddProblems
InvalidContactFlowException & AddProblems(const ProblemDetail &value)
Definition: InvalidContactFlowException.h:74
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Connect::Model::InvalidContactFlowException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
ProblemDetail.h
Aws::Connect::Model::InvalidContactFlowException::WithProblems
InvalidContactFlowException & WithProblems(Aws::Vector< ProblemDetail > &&value)
Definition: InvalidContactFlowException.h:69
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::InvalidContactFlowException::operator=
InvalidContactFlowException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::InvalidContactFlowException::SetProblems
void SetProblems(const Aws::Vector< ProblemDetail > &value)
Definition: InvalidContactFlowException.h:54
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::InvalidContactFlowException::GetProblems
const Aws::Vector< ProblemDetail > & GetProblems() const
Definition: InvalidContactFlowException.h:44
Aws::Connect::Model::ProblemDetail
Definition: ProblemDetail.h:32
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::InvalidContactFlowException::WithProblems
InvalidContactFlowException & WithProblems(const Aws::Vector< ProblemDetail > &value)
Definition: InvalidContactFlowException.h:64