AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const Aws::String& GetProtocol() const{ return m_protocol; }
47 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
48 inline void SetProtocol(const Aws::String& value) { m_protocolHasBeenSet = true; m_protocol = value; }
49 inline void SetProtocol(Aws::String&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
50 inline void SetProtocol(const char* value) { m_protocolHasBeenSet = true; m_protocol.assign(value); }
51 inline InspectionDataRequest& WithProtocol(const Aws::String& value) { SetProtocol(value); return *this;}
52 inline InspectionDataRequest& WithProtocol(Aws::String&& value) { SetProtocol(std::move(value)); return *this;}
53 inline InspectionDataRequest& WithProtocol(const char* value) { SetProtocol(value); return *this;}
55
57
60 inline const Aws::String& GetMethod() const{ return m_method; }
61 inline bool MethodHasBeenSet() const { return m_methodHasBeenSet; }
62 inline void SetMethod(const Aws::String& value) { m_methodHasBeenSet = true; m_method = value; }
63 inline void SetMethod(Aws::String&& value) { m_methodHasBeenSet = true; m_method = std::move(value); }
64 inline void SetMethod(const char* value) { m_methodHasBeenSet = true; m_method.assign(value); }
65 inline InspectionDataRequest& WithMethod(const Aws::String& value) { SetMethod(value); return *this;}
66 inline InspectionDataRequest& WithMethod(Aws::String&& value) { SetMethod(std::move(value)); return *this;}
67 inline InspectionDataRequest& WithMethod(const char* value) { SetMethod(value); return *this;}
69
71
74 inline const Aws::String& GetUrl() const{ return m_url; }
75 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
76 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
77 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
78 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
79 inline InspectionDataRequest& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
80 inline InspectionDataRequest& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
81 inline InspectionDataRequest& WithUrl(const char* value) { SetUrl(value); return *this;}
83
85
88 inline const Aws::String& GetHeaders() const{ return m_headers; }
89 inline bool HeadersHasBeenSet() const { return m_headersHasBeenSet; }
90 inline void SetHeaders(const Aws::String& value) { m_headersHasBeenSet = true; m_headers = value; }
91 inline void SetHeaders(Aws::String&& value) { m_headersHasBeenSet = true; m_headers = std::move(value); }
92 inline void SetHeaders(const char* value) { m_headersHasBeenSet = true; m_headers.assign(value); }
93 inline InspectionDataRequest& WithHeaders(const Aws::String& value) { SetHeaders(value); return *this;}
94 inline InspectionDataRequest& WithHeaders(Aws::String&& value) { SetHeaders(std::move(value)); return *this;}
95 inline InspectionDataRequest& WithHeaders(const char* value) { SetHeaders(value); return *this;}
97
99
102 inline const Aws::String& GetBody() const{ return m_body; }
103 inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; }
104 inline void SetBody(const Aws::String& value) { m_bodyHasBeenSet = true; m_body = value; }
105 inline void SetBody(Aws::String&& value) { m_bodyHasBeenSet = true; m_body = std::move(value); }
106 inline void SetBody(const char* value) { m_bodyHasBeenSet = true; m_body.assign(value); }
107 inline InspectionDataRequest& WithBody(const Aws::String& value) { SetBody(value); return *this;}
108 inline InspectionDataRequest& WithBody(Aws::String&& value) { SetBody(std::move(value)); return *this;}
109 inline InspectionDataRequest& WithBody(const char* value) { SetBody(value); return *this;}
111 private:
112
113 Aws::String m_protocol;
114 bool m_protocolHasBeenSet = false;
115
116 Aws::String m_method;
117 bool m_methodHasBeenSet = false;
118
119 Aws::String m_url;
120 bool m_urlHasBeenSet = false;
121
122 Aws::String m_headers;
123 bool m_headersHasBeenSet = false;
124
125 Aws::String m_body;
126 bool m_bodyHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace SFN
131} // namespace Aws
InspectionDataRequest & WithMethod(Aws::String &&value)
InspectionDataRequest & WithProtocol(Aws::String &&value)
void SetHeaders(const Aws::String &value)
InspectionDataRequest & WithUrl(const char *value)
InspectionDataRequest & WithHeaders(const char *value)
InspectionDataRequest & WithBody(const Aws::String &value)
InspectionDataRequest & WithMethod(const Aws::String &value)
void SetMethod(const Aws::String &value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
InspectionDataRequest & WithHeaders(Aws::String &&value)
InspectionDataRequest & WithProtocol(const Aws::String &value)
InspectionDataRequest & WithUrl(Aws::String &&value)
void SetProtocol(const Aws::String &value)
InspectionDataRequest & WithHeaders(const Aws::String &value)
void SetUrl(const Aws::String &value)
InspectionDataRequest & WithProtocol(const char *value)
InspectionDataRequest & WithMethod(const char *value)
AWS_SFN_API InspectionDataRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
InspectionDataRequest & WithBody(Aws::String &&value)
AWS_SFN_API InspectionDataRequest(Aws::Utils::Json::JsonView jsonValue)
InspectionDataRequest & WithBody(const char *value)
InspectionDataRequest & WithUrl(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue