AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdatePublishingDestinationRequest.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/GuardDutyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/model/DestinationProperties.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GuardDuty
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GUARDDUTY_API UpdatePublishingDestinationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdatePublishingDestination"; }
32
33 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
34
35
37
44 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
45 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
46 template<typename DetectorIdT = Aws::String>
47 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::forward<DetectorIdT>(value); }
48 template<typename DetectorIdT = Aws::String>
49 UpdatePublishingDestinationRequest& WithDetectorId(DetectorIdT&& value) { SetDetectorId(std::forward<DetectorIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDestinationId() const { return m_destinationId; }
57 inline bool DestinationIdHasBeenSet() const { return m_destinationIdHasBeenSet; }
58 template<typename DestinationIdT = Aws::String>
59 void SetDestinationId(DestinationIdT&& value) { m_destinationIdHasBeenSet = true; m_destinationId = std::forward<DestinationIdT>(value); }
60 template<typename DestinationIdT = Aws::String>
61 UpdatePublishingDestinationRequest& WithDestinationId(DestinationIdT&& value) { SetDestinationId(std::forward<DestinationIdT>(value)); return *this;}
63
65
70 inline const DestinationProperties& GetDestinationProperties() const { return m_destinationProperties; }
71 inline bool DestinationPropertiesHasBeenSet() const { return m_destinationPropertiesHasBeenSet; }
72 template<typename DestinationPropertiesT = DestinationProperties>
73 void SetDestinationProperties(DestinationPropertiesT&& value) { m_destinationPropertiesHasBeenSet = true; m_destinationProperties = std::forward<DestinationPropertiesT>(value); }
74 template<typename DestinationPropertiesT = DestinationProperties>
75 UpdatePublishingDestinationRequest& WithDestinationProperties(DestinationPropertiesT&& value) { SetDestinationProperties(std::forward<DestinationPropertiesT>(value)); return *this;}
77 private:
78
79 Aws::String m_detectorId;
80 bool m_detectorIdHasBeenSet = false;
81
82 Aws::String m_destinationId;
83 bool m_destinationIdHasBeenSet = false;
84
85 DestinationProperties m_destinationProperties;
86 bool m_destinationPropertiesHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace GuardDuty
91} // 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