AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RestApiClientException.h
1
6#pragma once
7#include <aws/mwaa/MWAA_EXPORTS.h>
8#include <aws/core/utils/Document.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 MWAA
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MWAA_API RestApiClientException();
39
40
42
45 inline int GetRestApiStatusCode() const{ return m_restApiStatusCode; }
46 inline bool RestApiStatusCodeHasBeenSet() const { return m_restApiStatusCodeHasBeenSet; }
47 inline void SetRestApiStatusCode(int value) { m_restApiStatusCodeHasBeenSet = true; m_restApiStatusCode = value; }
48 inline RestApiClientException& WithRestApiStatusCode(int value) { SetRestApiStatusCode(value); return *this;}
50
52
56 inline Aws::Utils::DocumentView GetRestApiResponse() const{ return m_restApiResponse; }
57 inline bool RestApiResponseHasBeenSet() const { return m_restApiResponseHasBeenSet; }
58 inline void SetRestApiResponse(const Aws::Utils::Document& value) { m_restApiResponseHasBeenSet = true; m_restApiResponse = value; }
59 inline void SetRestApiResponse(Aws::Utils::Document&& value) { m_restApiResponseHasBeenSet = true; m_restApiResponse = std::move(value); }
61 inline RestApiClientException& WithRestApiResponse(Aws::Utils::Document&& value) { SetRestApiResponse(std::move(value)); return *this;}
63 private:
64
65 int m_restApiStatusCode;
66 bool m_restApiStatusCodeHasBeenSet = false;
67
68 Aws::Utils::Document m_restApiResponse;
69 bool m_restApiResponseHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace MWAA
74} // namespace Aws
AWS_MWAA_API RestApiClientException(Aws::Utils::Json::JsonView jsonValue)
void SetRestApiResponse(const Aws::Utils::Document &value)
RestApiClientException & WithRestApiResponse(Aws::Utils::Document &&value)
Aws::Utils::DocumentView GetRestApiResponse() const
AWS_MWAA_API RestApiClientException & operator=(Aws::Utils::Json::JsonView jsonValue)
RestApiClientException & WithRestApiStatusCode(int value)
AWS_MWAA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRestApiResponse(Aws::Utils::Document &&value)
RestApiClientException & WithRestApiResponse(const Aws::Utils::Document &value)
Aws::Utils::Json::JsonValue JsonValue