AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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
41 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
42 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
43 inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
44 inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
45 inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
46 inline UpdatePublishingDestinationRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
47 inline UpdatePublishingDestinationRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
48 inline UpdatePublishingDestinationRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
50
52
55 inline const Aws::String& GetDestinationId() const{ return m_destinationId; }
56 inline bool DestinationIdHasBeenSet() const { return m_destinationIdHasBeenSet; }
57 inline void SetDestinationId(const Aws::String& value) { m_destinationIdHasBeenSet = true; m_destinationId = value; }
58 inline void SetDestinationId(Aws::String&& value) { m_destinationIdHasBeenSet = true; m_destinationId = std::move(value); }
59 inline void SetDestinationId(const char* value) { m_destinationIdHasBeenSet = true; m_destinationId.assign(value); }
61 inline UpdatePublishingDestinationRequest& WithDestinationId(Aws::String&& value) { SetDestinationId(std::move(value)); return *this;}
62 inline UpdatePublishingDestinationRequest& WithDestinationId(const char* value) { SetDestinationId(value); return *this;}
64
66
71 inline const DestinationProperties& GetDestinationProperties() const{ return m_destinationProperties; }
72 inline bool DestinationPropertiesHasBeenSet() const { return m_destinationPropertiesHasBeenSet; }
73 inline void SetDestinationProperties(const DestinationProperties& value) { m_destinationPropertiesHasBeenSet = true; m_destinationProperties = value; }
74 inline void SetDestinationProperties(DestinationProperties&& value) { m_destinationPropertiesHasBeenSet = true; m_destinationProperties = std::move(value); }
78 private:
79
80 Aws::String m_detectorId;
81 bool m_detectorIdHasBeenSet = false;
82
83 Aws::String m_destinationId;
84 bool m_destinationIdHasBeenSet = false;
85
86 DestinationProperties m_destinationProperties;
87 bool m_destinationPropertiesHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace GuardDuty
92} // namespace Aws
UpdatePublishingDestinationRequest & WithDetectorId(const char *value)
UpdatePublishingDestinationRequest & WithDestinationId(const char *value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
UpdatePublishingDestinationRequest & WithDestinationProperties(const DestinationProperties &value)
UpdatePublishingDestinationRequest & WithDetectorId(const Aws::String &value)
UpdatePublishingDestinationRequest & WithDestinationId(const Aws::String &value)
UpdatePublishingDestinationRequest & WithDetectorId(Aws::String &&value)
UpdatePublishingDestinationRequest & WithDestinationProperties(DestinationProperties &&value)
UpdatePublishingDestinationRequest & WithDestinationId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String