AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
UpdatePublishingDestinationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDutyRequest.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/DestinationProperties.h>
11
12#include <utility>
13
14namespace Aws {
15namespace GuardDuty {
16namespace Model {
17
21 public:
22 AWS_GUARDDUTY_API UpdatePublishingDestinationRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdatePublishingDestination"; }
29
30 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
31
33
40 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
41 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
42 template <typename DetectorIdT = Aws::String>
43 void SetDetectorId(DetectorIdT&& value) {
44 m_detectorIdHasBeenSet = true;
45 m_detectorId = std::forward<DetectorIdT>(value);
46 }
47 template <typename DetectorIdT = Aws::String>
49 SetDetectorId(std::forward<DetectorIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDestinationId() const { return m_destinationId; }
59 inline bool DestinationIdHasBeenSet() const { return m_destinationIdHasBeenSet; }
60 template <typename DestinationIdT = Aws::String>
61 void SetDestinationId(DestinationIdT&& value) {
62 m_destinationIdHasBeenSet = true;
63 m_destinationId = std::forward<DestinationIdT>(value);
64 }
65 template <typename DestinationIdT = Aws::String>
67 SetDestinationId(std::forward<DestinationIdT>(value));
68 return *this;
69 }
71
73
78 inline const DestinationProperties& GetDestinationProperties() const { return m_destinationProperties; }
79 inline bool DestinationPropertiesHasBeenSet() const { return m_destinationPropertiesHasBeenSet; }
80 template <typename DestinationPropertiesT = DestinationProperties>
81 void SetDestinationProperties(DestinationPropertiesT&& value) {
82 m_destinationPropertiesHasBeenSet = true;
83 m_destinationProperties = std::forward<DestinationPropertiesT>(value);
84 }
85 template <typename DestinationPropertiesT = DestinationProperties>
87 SetDestinationProperties(std::forward<DestinationPropertiesT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_detectorId;
93
94 Aws::String m_destinationId;
95
96 DestinationProperties m_destinationProperties;
97 bool m_detectorIdHasBeenSet = false;
98 bool m_destinationIdHasBeenSet = false;
99 bool m_destinationPropertiesHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace GuardDuty
104} // namespace Aws
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
AWS_GUARDDUTY_API UpdatePublishingDestinationRequest()=default
UpdatePublishingDestinationRequest & WithDestinationProperties(DestinationPropertiesT &&value)
UpdatePublishingDestinationRequest & WithDetectorId(DetectorIdT &&value)
UpdatePublishingDestinationRequest & WithDestinationId(DestinationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String