AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
SendObjectMalwareScanRequest.h
1
6#pragma once
7#include <aws/guardduty/GuardDutyRequest.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/S3ObjectForSendObjectMalwareScan.h>
10
11#include <utility>
12
13namespace Aws {
14namespace GuardDuty {
15namespace Model {
16
20 public:
21 AWS_GUARDDUTY_API SendObjectMalwareScanRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "SendObjectMalwareScan"; }
28
29 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
30
32
36 inline const S3ObjectForSendObjectMalwareScan& GetS3Object() const { return m_s3Object; }
37 inline bool S3ObjectHasBeenSet() const { return m_s3ObjectHasBeenSet; }
38 template <typename S3ObjectT = S3ObjectForSendObjectMalwareScan>
39 void SetS3Object(S3ObjectT&& value) {
40 m_s3ObjectHasBeenSet = true;
41 m_s3Object = std::forward<S3ObjectT>(value);
42 }
43 template <typename S3ObjectT = S3ObjectForSendObjectMalwareScan>
45 SetS3Object(std::forward<S3ObjectT>(value));
46 return *this;
47 }
49 private:
51 bool m_s3ObjectHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace GuardDuty
56} // namespace Aws
AWS_GUARDDUTY_API SendObjectMalwareScanRequest()=default
const S3ObjectForSendObjectMalwareScan & GetS3Object() const
SendObjectMalwareScanRequest & WithS3Object(S3ObjectT &&value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String