AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
InspectionDataRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/states/SFN_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SFN {
20namespace Model {
21
30 public:
31 AWS_SFN_API InspectionDataRequest() = default;
35
37
40 inline const Aws::String& GetProtocol() const { return m_protocol; }
41 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
42 template <typename ProtocolT = Aws::String>
43 void SetProtocol(ProtocolT&& value) {
44 m_protocolHasBeenSet = true;
45 m_protocol = std::forward<ProtocolT>(value);
46 }
47 template <typename ProtocolT = Aws::String>
48 InspectionDataRequest& WithProtocol(ProtocolT&& value) {
49 SetProtocol(std::forward<ProtocolT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetMethod() const { return m_method; }
59 inline bool MethodHasBeenSet() const { return m_methodHasBeenSet; }
60 template <typename MethodT = Aws::String>
61 void SetMethod(MethodT&& value) {
62 m_methodHasBeenSet = true;
63 m_method = std::forward<MethodT>(value);
64 }
65 template <typename MethodT = Aws::String>
67 SetMethod(std::forward<MethodT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetUrl() const { return m_url; }
77 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
78 template <typename UrlT = Aws::String>
79 void SetUrl(UrlT&& value) {
80 m_urlHasBeenSet = true;
81 m_url = std::forward<UrlT>(value);
82 }
83 template <typename UrlT = Aws::String>
85 SetUrl(std::forward<UrlT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetHeaders() const { return m_headers; }
95 inline bool HeadersHasBeenSet() const { return m_headersHasBeenSet; }
96 template <typename HeadersT = Aws::String>
97 void SetHeaders(HeadersT&& value) {
98 m_headersHasBeenSet = true;
99 m_headers = std::forward<HeadersT>(value);
100 }
101 template <typename HeadersT = Aws::String>
103 SetHeaders(std::forward<HeadersT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetBody() const { return m_body; }
113 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
114 template <typename BodyT = Aws::String>
115 void SetBody(BodyT&& value) {
116 m_bodyHasBeenSet = true;
117 m_body = std::forward<BodyT>(value);
118 }
119 template <typename BodyT = Aws::String>
121 SetBody(std::forward<BodyT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_protocol;
127
128 Aws::String m_method;
129
130 Aws::String m_url;
131
132 Aws::String m_headers;
133
134 Aws::String m_body;
135 bool m_protocolHasBeenSet = false;
136 bool m_methodHasBeenSet = false;
137 bool m_urlHasBeenSet = false;
138 bool m_headersHasBeenSet = false;
139 bool m_bodyHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace SFN
144} // namespace Aws
AWS_SFN_API InspectionDataRequest()=default
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
InspectionDataRequest & WithUrl(UrlT &&value)
InspectionDataRequest & WithMethod(MethodT &&value)
AWS_SFN_API InspectionDataRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
InspectionDataRequest & WithHeaders(HeadersT &&value)
AWS_SFN_API InspectionDataRequest(Aws::Utils::Json::JsonView jsonValue)
InspectionDataRequest & WithBody(BodyT &&value)
InspectionDataRequest & WithProtocol(ProtocolT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue