AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InspectionDataResponse.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 SFN
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_SFN_API InspectionDataResponse() = default;
41
42
44
47 inline const Aws::String& GetProtocol() const { return m_protocol; }
48 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
49 template<typename ProtocolT = Aws::String>
50 void SetProtocol(ProtocolT&& value) { m_protocolHasBeenSet = true; m_protocol = std::forward<ProtocolT>(value); }
51 template<typename ProtocolT = Aws::String>
52 InspectionDataResponse& WithProtocol(ProtocolT&& value) { SetProtocol(std::forward<ProtocolT>(value)); return *this;}
54
56
59 inline const Aws::String& GetStatusCode() const { return m_statusCode; }
60 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
61 template<typename StatusCodeT = Aws::String>
62 void SetStatusCode(StatusCodeT&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::forward<StatusCodeT>(value); }
63 template<typename StatusCodeT = Aws::String>
64 InspectionDataResponse& WithStatusCode(StatusCodeT&& value) { SetStatusCode(std::forward<StatusCodeT>(value)); return *this;}
66
68
71 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
72 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
73 template<typename StatusMessageT = Aws::String>
74 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
75 template<typename StatusMessageT = Aws::String>
76 InspectionDataResponse& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
78
80
83 inline const Aws::String& GetHeaders() const { return m_headers; }
84 inline bool HeadersHasBeenSet() const { return m_headersHasBeenSet; }
85 template<typename HeadersT = Aws::String>
86 void SetHeaders(HeadersT&& value) { m_headersHasBeenSet = true; m_headers = std::forward<HeadersT>(value); }
87 template<typename HeadersT = Aws::String>
88 InspectionDataResponse& WithHeaders(HeadersT&& value) { SetHeaders(std::forward<HeadersT>(value)); return *this;}
90
92
95 inline const Aws::String& GetBody() const { return m_body; }
96 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
97 template<typename BodyT = Aws::String>
98 void SetBody(BodyT&& value) { m_bodyHasBeenSet = true; m_body = std::forward<BodyT>(value); }
99 template<typename BodyT = Aws::String>
100 InspectionDataResponse& WithBody(BodyT&& value) { SetBody(std::forward<BodyT>(value)); return *this;}
102 private:
103
104 Aws::String m_protocol;
105 bool m_protocolHasBeenSet = false;
106
107 Aws::String m_statusCode;
108 bool m_statusCodeHasBeenSet = false;
109
110 Aws::String m_statusMessage;
111 bool m_statusMessageHasBeenSet = false;
112
113 Aws::String m_headers;
114 bool m_headersHasBeenSet = false;
115
116 Aws::String m_body;
117 bool m_bodyHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace SFN
122} // namespace Aws
InspectionDataResponse & WithProtocol(ProtocolT &&value)
AWS_SFN_API InspectionDataResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
InspectionDataResponse & WithHeaders(HeadersT &&value)
AWS_SFN_API InspectionDataResponse()=default
InspectionDataResponse & WithStatusCode(StatusCodeT &&value)
void SetStatusMessage(StatusMessageT &&value)
InspectionDataResponse & WithStatusMessage(StatusMessageT &&value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
InspectionDataResponse & WithBody(BodyT &&value)
AWS_SFN_API InspectionDataResponse(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue