AWS SDK for C++  1.9.107
AWS SDK for C++
DeletePublishingDestinationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GuardDuty
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeletePublishingDestination"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
40 
45  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
46 
51  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
52 
57  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
58 
63  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
64 
69  inline DeletePublishingDestinationRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
70 
75  inline DeletePublishingDestinationRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
76 
81  inline DeletePublishingDestinationRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
82 
83 
87  inline const Aws::String& GetDestinationId() const{ return m_destinationId; }
88 
92  inline bool DestinationIdHasBeenSet() const { return m_destinationIdHasBeenSet; }
93 
97  inline void SetDestinationId(const Aws::String& value) { m_destinationIdHasBeenSet = true; m_destinationId = value; }
98 
102  inline void SetDestinationId(Aws::String&& value) { m_destinationIdHasBeenSet = true; m_destinationId = std::move(value); }
103 
107  inline void SetDestinationId(const char* value) { m_destinationIdHasBeenSet = true; m_destinationId.assign(value); }
108 
112  inline DeletePublishingDestinationRequest& WithDestinationId(const Aws::String& value) { SetDestinationId(value); return *this;}
113 
117  inline DeletePublishingDestinationRequest& WithDestinationId(Aws::String&& value) { SetDestinationId(std::move(value)); return *this;}
118 
122  inline DeletePublishingDestinationRequest& WithDestinationId(const char* value) { SetDestinationId(value); return *this;}
123 
124  private:
125 
126  Aws::String m_detectorId;
127  bool m_detectorIdHasBeenSet;
128 
129  Aws::String m_destinationId;
130  bool m_destinationIdHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace GuardDuty
135 } // namespace Aws
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::SetDestinationId
void SetDestinationId(const Aws::String &value)
Definition: DeletePublishingDestinationRequest.h:97
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::WithDestinationId
DeletePublishingDestinationRequest & WithDestinationId(const char *value)
Definition: DeletePublishingDestinationRequest.h:122
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: DeletePublishingDestinationRequest.h:63
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: DeletePublishingDestinationRequest.h:45
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: DeletePublishingDestinationRequest.h:57
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: DeletePublishingDestinationRequest.h:51
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::WithDestinationId
DeletePublishingDestinationRequest & WithDestinationId(const Aws::String &value)
Definition: DeletePublishingDestinationRequest.h:112
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::GetDestinationId
const Aws::String & GetDestinationId() const
Definition: DeletePublishingDestinationRequest.h:87
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::WithDetectorId
DeletePublishingDestinationRequest & WithDetectorId(Aws::String &&value)
Definition: DeletePublishingDestinationRequest.h:75
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::WithDestinationId
DeletePublishingDestinationRequest & WithDestinationId(Aws::String &&value)
Definition: DeletePublishingDestinationRequest.h:117
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::DestinationIdHasBeenSet
bool DestinationIdHasBeenSet() const
Definition: DeletePublishingDestinationRequest.h:92
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
AWSString.h
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::DeletePublishingDestinationRequest
DeletePublishingDestinationRequest()
Aws::GuardDuty::Model::DeletePublishingDestinationRequest
Definition: DeletePublishingDestinationRequest.h:22
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::WithDetectorId
DeletePublishingDestinationRequest & WithDetectorId(const Aws::String &value)
Definition: DeletePublishingDestinationRequest.h:69
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::SetDestinationId
void SetDestinationId(Aws::String &&value)
Definition: DeletePublishingDestinationRequest.h:102
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: DeletePublishingDestinationRequest.h:39
GuardDutyRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::SetDestinationId
void SetDestinationId(const char *value)
Definition: DeletePublishingDestinationRequest.h:107
Aws::GuardDuty::GuardDutyRequest
Definition: GuardDutyRequest.h:17
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeletePublishingDestinationRequest.h:30
Aws::GuardDuty::Model::DeletePublishingDestinationRequest::WithDetectorId
DeletePublishingDestinationRequest & WithDetectorId(const char *value)
Definition: DeletePublishingDestinationRequest.h:81