AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InspectionDataRequest.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
34 {
35 public:
36 AWS_SFN_API InspectionDataRequest() = default;
40
41
43
46 inline const Aws::String& GetProtocol() const { return m_protocol; }
47 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
48 template<typename ProtocolT = Aws::String>
49 void SetProtocol(ProtocolT&& value) { m_protocolHasBeenSet = true; m_protocol = std::forward<ProtocolT>(value); }
50 template<typename ProtocolT = Aws::String>
51 InspectionDataRequest& WithProtocol(ProtocolT&& value) { SetProtocol(std::forward<ProtocolT>(value)); return *this;}
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) { m_methodHasBeenSet = true; m_method = std::forward<MethodT>(value); }
62 template<typename MethodT = Aws::String>
63 InspectionDataRequest& WithMethod(MethodT&& value) { SetMethod(std::forward<MethodT>(value)); return *this;}
65
67
70 inline const Aws::String& GetUrl() const { return m_url; }
71 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
72 template<typename UrlT = Aws::String>
73 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
74 template<typename UrlT = Aws::String>
75 InspectionDataRequest& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
77
79
82 inline const Aws::String& GetHeaders() const { return m_headers; }
83 inline bool HeadersHasBeenSet() const { return m_headersHasBeenSet; }
84 template<typename HeadersT = Aws::String>
85 void SetHeaders(HeadersT&& value) { m_headersHasBeenSet = true; m_headers = std::forward<HeadersT>(value); }
86 template<typename HeadersT = Aws::String>
87 InspectionDataRequest& WithHeaders(HeadersT&& value) { SetHeaders(std::forward<HeadersT>(value)); return *this;}
89
91
94 inline const Aws::String& GetBody() const { return m_body; }
95 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
96 template<typename BodyT = Aws::String>
97 void SetBody(BodyT&& value) { m_bodyHasBeenSet = true; m_body = std::forward<BodyT>(value); }
98 template<typename BodyT = Aws::String>
99 InspectionDataRequest& WithBody(BodyT&& value) { SetBody(std::forward<BodyT>(value)); return *this;}
101 private:
102
103 Aws::String m_protocol;
104 bool m_protocolHasBeenSet = false;
105
106 Aws::String m_method;
107 bool m_methodHasBeenSet = false;
108
109 Aws::String m_url;
110 bool m_urlHasBeenSet = false;
111
112 Aws::String m_headers;
113 bool m_headersHasBeenSet = false;
114
115 Aws::String m_body;
116 bool m_bodyHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace SFN
121} // 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