AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvalidRequestDetail.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/InvalidRequestDetailReason.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Comprehend
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_COMPREHEND_API InvalidRequestDetail();
36 AWS_COMPREHEND_API InvalidRequestDetail(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
57 inline const InvalidRequestDetailReason& GetReason() const{ return m_reason; }
58 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
59 inline void SetReason(const InvalidRequestDetailReason& value) { m_reasonHasBeenSet = true; m_reason = value; }
60 inline void SetReason(InvalidRequestDetailReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
61 inline InvalidRequestDetail& WithReason(const InvalidRequestDetailReason& value) { SetReason(value); return *this;}
62 inline InvalidRequestDetail& WithReason(InvalidRequestDetailReason&& value) { SetReason(std::move(value)); return *this;}
64 private:
65
67 bool m_reasonHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Comprehend
72} // namespace Aws
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReason(InvalidRequestDetailReason &&value)
InvalidRequestDetail & WithReason(const InvalidRequestDetailReason &value)
AWS_COMPREHEND_API InvalidRequestDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COMPREHEND_API InvalidRequestDetail(Aws::Utils::Json::JsonView jsonValue)
const InvalidRequestDetailReason & GetReason() const
void SetReason(const InvalidRequestDetailReason &value)
InvalidRequestDetail & WithReason(InvalidRequestDetailReason &&value)
Aws::Utils::Json::JsonValue JsonValue