AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetFlowLogsIntegrationTemplateRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/IntegrateServices.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EC2
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 "GetFlowLogsIntegrationTemplate"; }
32
33 AWS_EC2_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
47 inline bool GetDryRun() const { return m_dryRun; }
48 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
49 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
50 inline GetFlowLogsIntegrationTemplateRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
52
54
57 inline const Aws::String& GetFlowLogId() const { return m_flowLogId; }
58 inline bool FlowLogIdHasBeenSet() const { return m_flowLogIdHasBeenSet; }
59 template<typename FlowLogIdT = Aws::String>
60 void SetFlowLogId(FlowLogIdT&& value) { m_flowLogIdHasBeenSet = true; m_flowLogId = std::forward<FlowLogIdT>(value); }
61 template<typename FlowLogIdT = Aws::String>
62 GetFlowLogsIntegrationTemplateRequest& WithFlowLogId(FlowLogIdT&& value) { SetFlowLogId(std::forward<FlowLogIdT>(value)); return *this;}
64
66
70 inline const Aws::String& GetConfigDeliveryS3DestinationArn() const { return m_configDeliveryS3DestinationArn; }
71 inline bool ConfigDeliveryS3DestinationArnHasBeenSet() const { return m_configDeliveryS3DestinationArnHasBeenSet; }
72 template<typename ConfigDeliveryS3DestinationArnT = Aws::String>
73 void SetConfigDeliveryS3DestinationArn(ConfigDeliveryS3DestinationArnT&& value) { m_configDeliveryS3DestinationArnHasBeenSet = true; m_configDeliveryS3DestinationArn = std::forward<ConfigDeliveryS3DestinationArnT>(value); }
74 template<typename ConfigDeliveryS3DestinationArnT = Aws::String>
75 GetFlowLogsIntegrationTemplateRequest& WithConfigDeliveryS3DestinationArn(ConfigDeliveryS3DestinationArnT&& value) { SetConfigDeliveryS3DestinationArn(std::forward<ConfigDeliveryS3DestinationArnT>(value)); return *this;}
77
79
82 inline const IntegrateServices& GetIntegrateServices() const { return m_integrateServices; }
83 inline bool IntegrateServicesHasBeenSet() const { return m_integrateServicesHasBeenSet; }
84 template<typename IntegrateServicesT = IntegrateServices>
85 void SetIntegrateServices(IntegrateServicesT&& value) { m_integrateServicesHasBeenSet = true; m_integrateServices = std::forward<IntegrateServicesT>(value); }
86 template<typename IntegrateServicesT = IntegrateServices>
87 GetFlowLogsIntegrationTemplateRequest& WithIntegrateServices(IntegrateServicesT&& value) { SetIntegrateServices(std::forward<IntegrateServicesT>(value)); return *this;}
89 private:
90
91 bool m_dryRun{false};
92 bool m_dryRunHasBeenSet = false;
93
94 Aws::String m_flowLogId;
95 bool m_flowLogIdHasBeenSet = false;
96
97 Aws::String m_configDeliveryS3DestinationArn;
98 bool m_configDeliveryS3DestinationArnHasBeenSet = false;
99
100 IntegrateServices m_integrateServices;
101 bool m_integrateServicesHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace EC2
106} // namespace Aws
void SetConfigDeliveryS3DestinationArn(ConfigDeliveryS3DestinationArnT &&value)
GetFlowLogsIntegrationTemplateRequest & WithFlowLogId(FlowLogIdT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
GetFlowLogsIntegrationTemplateRequest & WithDryRun(bool value)
GetFlowLogsIntegrationTemplateRequest & WithIntegrateServices(IntegrateServicesT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetFlowLogsIntegrationTemplateRequest & WithConfigDeliveryS3DestinationArn(ConfigDeliveryS3DestinationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String