AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
41
42
44
47 inline const Aws::String& GetProtocol() const{ return m_protocol; }
48 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
49 inline void SetProtocol(const Aws::String& value) { m_protocolHasBeenSet = true; m_protocol = value; }
50 inline void SetProtocol(Aws::String&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
51 inline void SetProtocol(const char* value) { m_protocolHasBeenSet = true; m_protocol.assign(value); }
52 inline InspectionDataResponse& WithProtocol(const Aws::String& value) { SetProtocol(value); return *this;}
53 inline InspectionDataResponse& WithProtocol(Aws::String&& value) { SetProtocol(std::move(value)); return *this;}
54 inline InspectionDataResponse& WithProtocol(const char* value) { SetProtocol(value); return *this;}
56
58
61 inline const Aws::String& GetStatusCode() const{ return m_statusCode; }
62 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
63 inline void SetStatusCode(const Aws::String& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
64 inline void SetStatusCode(Aws::String&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
65 inline void SetStatusCode(const char* value) { m_statusCodeHasBeenSet = true; m_statusCode.assign(value); }
66 inline InspectionDataResponse& WithStatusCode(const Aws::String& value) { SetStatusCode(value); return *this;}
67 inline InspectionDataResponse& WithStatusCode(Aws::String&& value) { SetStatusCode(std::move(value)); return *this;}
68 inline InspectionDataResponse& WithStatusCode(const char* value) { SetStatusCode(value); return *this;}
70
72
75 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
76 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
77 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
78 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
79 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
80 inline InspectionDataResponse& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
81 inline InspectionDataResponse& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
82 inline InspectionDataResponse& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
84
86
89 inline const Aws::String& GetHeaders() const{ return m_headers; }
90 inline bool HeadersHasBeenSet() const { return m_headersHasBeenSet; }
91 inline void SetHeaders(const Aws::String& value) { m_headersHasBeenSet = true; m_headers = value; }
92 inline void SetHeaders(Aws::String&& value) { m_headersHasBeenSet = true; m_headers = std::move(value); }
93 inline void SetHeaders(const char* value) { m_headersHasBeenSet = true; m_headers.assign(value); }
94 inline InspectionDataResponse& WithHeaders(const Aws::String& value) { SetHeaders(value); return *this;}
95 inline InspectionDataResponse& WithHeaders(Aws::String&& value) { SetHeaders(std::move(value)); return *this;}
96 inline InspectionDataResponse& WithHeaders(const char* value) { SetHeaders(value); return *this;}
98
100
103 inline const Aws::String& GetBody() const{ return m_body; }
104 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
105 inline void SetBody(const Aws::String& value) { m_bodyHasBeenSet = true; m_body = value; }
106 inline void SetBody(Aws::String&& value) { m_bodyHasBeenSet = true; m_body = std::move(value); }
107 inline void SetBody(const char* value) { m_bodyHasBeenSet = true; m_body.assign(value); }
108 inline InspectionDataResponse& WithBody(const Aws::String& value) { SetBody(value); return *this;}
109 inline InspectionDataResponse& WithBody(Aws::String&& value) { SetBody(std::move(value)); return *this;}
110 inline InspectionDataResponse& WithBody(const char* value) { SetBody(value); return *this;}
112 private:
113
114 Aws::String m_protocol;
115 bool m_protocolHasBeenSet = false;
116
117 Aws::String m_statusCode;
118 bool m_statusCodeHasBeenSet = false;
119
120 Aws::String m_statusMessage;
121 bool m_statusMessageHasBeenSet = false;
122
123 Aws::String m_headers;
124 bool m_headersHasBeenSet = false;
125
126 Aws::String m_body;
127 bool m_bodyHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace SFN
132} // namespace Aws
InspectionDataResponse & WithBody(Aws::String &&value)
InspectionDataResponse & WithStatusMessage(Aws::String &&value)
InspectionDataResponse & WithStatusMessage(const char *value)
InspectionDataResponse & WithHeaders(Aws::String &&value)
void SetStatusCode(const Aws::String &value)
InspectionDataResponse & WithStatusCode(const char *value)
InspectionDataResponse & WithBody(const char *value)
void SetProtocol(const Aws::String &value)
InspectionDataResponse & WithProtocol(Aws::String &&value)
InspectionDataResponse & WithHeaders(const Aws::String &value)
AWS_SFN_API InspectionDataResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
InspectionDataResponse & WithStatusCode(Aws::String &&value)
InspectionDataResponse & WithHeaders(const char *value)
InspectionDataResponse & WithProtocol(const char *value)
InspectionDataResponse & WithStatusCode(const Aws::String &value)
void SetStatusMessage(const Aws::String &value)
void SetHeaders(const Aws::String &value)
InspectionDataResponse & WithBody(const Aws::String &value)
InspectionDataResponse & WithStatusMessage(const Aws::String &value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
InspectionDataResponse & WithProtocol(const Aws::String &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