AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 inline void SetFlowLogId(const Aws::String& value) { m_flowLogIdHasBeenSet = true; m_flowLogId = value; }
60 inline void SetFlowLogId(Aws::String&& value) { m_flowLogIdHasBeenSet = true; m_flowLogId = std::move(value); }
61 inline void SetFlowLogId(const char* value) { m_flowLogIdHasBeenSet = true; m_flowLogId.assign(value); }
62 inline GetFlowLogsIntegrationTemplateRequest& WithFlowLogId(const Aws::String& value) { SetFlowLogId(value); return *this;}
63 inline GetFlowLogsIntegrationTemplateRequest& WithFlowLogId(Aws::String&& value) { SetFlowLogId(std::move(value)); return *this;}
64 inline GetFlowLogsIntegrationTemplateRequest& WithFlowLogId(const char* value) { SetFlowLogId(value); return *this;}
66
68
72 inline const Aws::String& GetConfigDeliveryS3DestinationArn() const{ return m_configDeliveryS3DestinationArn; }
73 inline bool ConfigDeliveryS3DestinationArnHasBeenSet() const { return m_configDeliveryS3DestinationArnHasBeenSet; }
74 inline void SetConfigDeliveryS3DestinationArn(const Aws::String& value) { m_configDeliveryS3DestinationArnHasBeenSet = true; m_configDeliveryS3DestinationArn = value; }
75 inline void SetConfigDeliveryS3DestinationArn(Aws::String&& value) { m_configDeliveryS3DestinationArnHasBeenSet = true; m_configDeliveryS3DestinationArn = std::move(value); }
76 inline void SetConfigDeliveryS3DestinationArn(const char* value) { m_configDeliveryS3DestinationArnHasBeenSet = true; m_configDeliveryS3DestinationArn.assign(value); }
81
83
86 inline const IntegrateServices& GetIntegrateServices() const{ return m_integrateServices; }
87 inline bool IntegrateServicesHasBeenSet() const { return m_integrateServicesHasBeenSet; }
88 inline void SetIntegrateServices(const IntegrateServices& value) { m_integrateServicesHasBeenSet = true; m_integrateServices = value; }
89 inline void SetIntegrateServices(IntegrateServices&& value) { m_integrateServicesHasBeenSet = true; m_integrateServices = std::move(value); }
93 private:
94
95 bool m_dryRun;
96 bool m_dryRunHasBeenSet = false;
97
98 Aws::String m_flowLogId;
99 bool m_flowLogIdHasBeenSet = false;
100
101 Aws::String m_configDeliveryS3DestinationArn;
102 bool m_configDeliveryS3DestinationArnHasBeenSet = false;
103
104 IntegrateServices m_integrateServices;
105 bool m_integrateServicesHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace EC2
110} // namespace Aws
GetFlowLogsIntegrationTemplateRequest & WithIntegrateServices(const IntegrateServices &value)
GetFlowLogsIntegrationTemplateRequest & WithConfigDeliveryS3DestinationArn(const char *value)
GetFlowLogsIntegrationTemplateRequest & WithConfigDeliveryS3DestinationArn(Aws::String &&value)
GetFlowLogsIntegrationTemplateRequest & WithIntegrateServices(IntegrateServices &&value)
GetFlowLogsIntegrationTemplateRequest & WithFlowLogId(const Aws::String &value)
GetFlowLogsIntegrationTemplateRequest & WithConfigDeliveryS3DestinationArn(const Aws::String &value)
GetFlowLogsIntegrationTemplateRequest & WithFlowLogId(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
GetFlowLogsIntegrationTemplateRequest & WithDryRun(bool value)
GetFlowLogsIntegrationTemplateRequest & WithFlowLogId(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String