AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePublishingDestinationRequest.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/DestinationType.h>
11#include <aws/guardduty/model/DestinationProperties.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace GuardDuty
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreatePublishingDestination"; }
34
35 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
44 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
45 inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
46 inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
47 inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
48 inline CreatePublishingDestinationRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
49 inline CreatePublishingDestinationRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
50 inline CreatePublishingDestinationRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
52
54
58 inline const DestinationType& GetDestinationType() const{ return m_destinationType; }
59 inline bool DestinationTypeHasBeenSet() const { return m_destinationTypeHasBeenSet; }
60 inline void SetDestinationType(const DestinationType& value) { m_destinationTypeHasBeenSet = true; m_destinationType = value; }
61 inline void SetDestinationType(DestinationType&& value) { m_destinationTypeHasBeenSet = true; m_destinationType = std::move(value); }
65
67
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
80
83 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
84 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
85 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
86 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
87 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
89 inline CreatePublishingDestinationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
90 inline CreatePublishingDestinationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
92 private:
93
94 Aws::String m_detectorId;
95 bool m_detectorIdHasBeenSet = false;
96
97 DestinationType m_destinationType;
98 bool m_destinationTypeHasBeenSet = false;
99
100 DestinationProperties m_destinationProperties;
101 bool m_destinationPropertiesHasBeenSet = false;
102
103 Aws::String m_clientToken;
104 bool m_clientTokenHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace GuardDuty
109} // namespace Aws
CreatePublishingDestinationRequest & WithClientToken(const Aws::String &value)
CreatePublishingDestinationRequest & WithDetectorId(const Aws::String &value)
CreatePublishingDestinationRequest & WithDetectorId(Aws::String &&value)
CreatePublishingDestinationRequest & WithDestinationProperties(const DestinationProperties &value)
CreatePublishingDestinationRequest & WithClientToken(Aws::String &&value)
CreatePublishingDestinationRequest & WithDestinationType(DestinationType &&value)
CreatePublishingDestinationRequest & WithDetectorId(const char *value)
CreatePublishingDestinationRequest & WithClientToken(const char *value)
CreatePublishingDestinationRequest & WithDestinationProperties(DestinationProperties &&value)
CreatePublishingDestinationRequest & WithDestinationType(const DestinationType &value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String