AWS SDK for C++  1.9.103
AWS SDK for C++
UpdatePublishingDestinationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace GuardDuty
16 {
17 namespace 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::String SerializePayload() const override;
34 
35 
40  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
41 
46  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
47 
52  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
53 
58  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
59 
64  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
65 
70  inline UpdatePublishingDestinationRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
71 
76  inline UpdatePublishingDestinationRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
77 
82  inline UpdatePublishingDestinationRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
83 
84 
88  inline const Aws::String& GetDestinationId() const{ return m_destinationId; }
89 
93  inline bool DestinationIdHasBeenSet() const { return m_destinationIdHasBeenSet; }
94 
98  inline void SetDestinationId(const Aws::String& value) { m_destinationIdHasBeenSet = true; m_destinationId = value; }
99 
103  inline void SetDestinationId(Aws::String&& value) { m_destinationIdHasBeenSet = true; m_destinationId = std::move(value); }
104 
108  inline void SetDestinationId(const char* value) { m_destinationIdHasBeenSet = true; m_destinationId.assign(value); }
109 
113  inline UpdatePublishingDestinationRequest& WithDestinationId(const Aws::String& value) { SetDestinationId(value); return *this;}
114 
118  inline UpdatePublishingDestinationRequest& WithDestinationId(Aws::String&& value) { SetDestinationId(std::move(value)); return *this;}
119 
123  inline UpdatePublishingDestinationRequest& WithDestinationId(const char* value) { SetDestinationId(value); return *this;}
124 
125 
131  inline const DestinationProperties& GetDestinationProperties() const{ return m_destinationProperties; }
132 
138  inline bool DestinationPropertiesHasBeenSet() const { return m_destinationPropertiesHasBeenSet; }
139 
145  inline void SetDestinationProperties(const DestinationProperties& value) { m_destinationPropertiesHasBeenSet = true; m_destinationProperties = value; }
146 
152  inline void SetDestinationProperties(DestinationProperties&& value) { m_destinationPropertiesHasBeenSet = true; m_destinationProperties = std::move(value); }
153 
159  inline UpdatePublishingDestinationRequest& WithDestinationProperties(const DestinationProperties& value) { SetDestinationProperties(value); return *this;}
160 
166  inline UpdatePublishingDestinationRequest& WithDestinationProperties(DestinationProperties&& value) { SetDestinationProperties(std::move(value)); return *this;}
167 
168  private:
169 
170  Aws::String m_detectorId;
171  bool m_detectorIdHasBeenSet;
172 
173  Aws::String m_destinationId;
174  bool m_destinationIdHasBeenSet;
175 
176  DestinationProperties m_destinationProperties;
177  bool m_destinationPropertiesHasBeenSet;
178  };
179 
180 } // namespace Model
181 } // namespace GuardDuty
182 } // namespace Aws
Aws::GuardDuty::Model::DestinationProperties
Definition: DestinationProperties.h:34
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::WithDestinationProperties
UpdatePublishingDestinationRequest & WithDestinationProperties(const DestinationProperties &value)
Definition: UpdatePublishingDestinationRequest.h:159
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::WithDetectorId
UpdatePublishingDestinationRequest & WithDetectorId(const char *value)
Definition: UpdatePublishingDestinationRequest.h:82
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::WithDestinationId
UpdatePublishingDestinationRequest & WithDestinationId(const Aws::String &value)
Definition: UpdatePublishingDestinationRequest.h:113
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: UpdatePublishingDestinationRequest.h:64
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: UpdatePublishingDestinationRequest.h:58
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::WithDestinationId
UpdatePublishingDestinationRequest & WithDestinationId(Aws::String &&value)
Definition: UpdatePublishingDestinationRequest.h:118
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::SetDestinationId
void SetDestinationId(Aws::String &&value)
Definition: UpdatePublishingDestinationRequest.h:103
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdatePublishingDestinationRequest.h:31
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: UpdatePublishingDestinationRequest.h:46
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::GetDestinationId
const Aws::String & GetDestinationId() const
Definition: UpdatePublishingDestinationRequest.h:88
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::WithDestinationProperties
UpdatePublishingDestinationRequest & WithDestinationProperties(DestinationProperties &&value)
Definition: UpdatePublishingDestinationRequest.h:166
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::SetDestinationProperties
void SetDestinationProperties(DestinationProperties &&value)
Definition: UpdatePublishingDestinationRequest.h:152
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest
Definition: UpdatePublishingDestinationRequest.h:23
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::UpdatePublishingDestinationRequest
UpdatePublishingDestinationRequest()
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
AWSString.h
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::WithDestinationId
UpdatePublishingDestinationRequest & WithDestinationId(const char *value)
Definition: UpdatePublishingDestinationRequest.h:123
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: UpdatePublishingDestinationRequest.h:52
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::WithDetectorId
UpdatePublishingDestinationRequest & WithDetectorId(Aws::String &&value)
Definition: UpdatePublishingDestinationRequest.h:76
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::SetDestinationId
void SetDestinationId(const Aws::String &value)
Definition: UpdatePublishingDestinationRequest.h:98
DestinationProperties.h
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::DestinationPropertiesHasBeenSet
bool DestinationPropertiesHasBeenSet() const
Definition: UpdatePublishingDestinationRequest.h:138
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::SetDestinationProperties
void SetDestinationProperties(const DestinationProperties &value)
Definition: UpdatePublishingDestinationRequest.h:145
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::GetDestinationProperties
const DestinationProperties & GetDestinationProperties() const
Definition: UpdatePublishingDestinationRequest.h:131
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::WithDetectorId
UpdatePublishingDestinationRequest & WithDetectorId(const Aws::String &value)
Definition: UpdatePublishingDestinationRequest.h:70
GuardDutyRequest.h
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::DestinationIdHasBeenSet
bool DestinationIdHasBeenSet() const
Definition: UpdatePublishingDestinationRequest.h:93
Aws::GuardDuty::GuardDutyRequest
Definition: GuardDutyRequest.h:17
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::SetDestinationId
void SetDestinationId(const char *value)
Definition: UpdatePublishingDestinationRequest.h:108
Aws::GuardDuty::Model::UpdatePublishingDestinationRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: UpdatePublishingDestinationRequest.h:40