AWS SDK for C++  1.9.71
AWS SDK for C++
GetFlowLogsIntegrationTemplateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace EC2
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 "GetFlowLogsIntegrationTemplate"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
46  inline bool GetDryRun() const{ return m_dryRun; }
47 
54  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
55 
62  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
63 
70  inline GetFlowLogsIntegrationTemplateRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
71 
72 
76  inline const Aws::String& GetFlowLogId() const{ return m_flowLogId; }
77 
81  inline bool FlowLogIdHasBeenSet() const { return m_flowLogIdHasBeenSet; }
82 
86  inline void SetFlowLogId(const Aws::String& value) { m_flowLogIdHasBeenSet = true; m_flowLogId = value; }
87 
91  inline void SetFlowLogId(Aws::String&& value) { m_flowLogIdHasBeenSet = true; m_flowLogId = std::move(value); }
92 
96  inline void SetFlowLogId(const char* value) { m_flowLogIdHasBeenSet = true; m_flowLogId.assign(value); }
97 
101  inline GetFlowLogsIntegrationTemplateRequest& WithFlowLogId(const Aws::String& value) { SetFlowLogId(value); return *this;}
102 
106  inline GetFlowLogsIntegrationTemplateRequest& WithFlowLogId(Aws::String&& value) { SetFlowLogId(std::move(value)); return *this;}
107 
111  inline GetFlowLogsIntegrationTemplateRequest& WithFlowLogId(const char* value) { SetFlowLogId(value); return *this;}
112 
113 
118  inline const Aws::String& GetConfigDeliveryS3DestinationArn() const{ return m_configDeliveryS3DestinationArn; }
119 
124  inline bool ConfigDeliveryS3DestinationArnHasBeenSet() const { return m_configDeliveryS3DestinationArnHasBeenSet; }
125 
130  inline void SetConfigDeliveryS3DestinationArn(const Aws::String& value) { m_configDeliveryS3DestinationArnHasBeenSet = true; m_configDeliveryS3DestinationArn = value; }
131 
136  inline void SetConfigDeliveryS3DestinationArn(Aws::String&& value) { m_configDeliveryS3DestinationArnHasBeenSet = true; m_configDeliveryS3DestinationArn = std::move(value); }
137 
142  inline void SetConfigDeliveryS3DestinationArn(const char* value) { m_configDeliveryS3DestinationArnHasBeenSet = true; m_configDeliveryS3DestinationArn.assign(value); }
143 
148  inline GetFlowLogsIntegrationTemplateRequest& WithConfigDeliveryS3DestinationArn(const Aws::String& value) { SetConfigDeliveryS3DestinationArn(value); return *this;}
149 
154  inline GetFlowLogsIntegrationTemplateRequest& WithConfigDeliveryS3DestinationArn(Aws::String&& value) { SetConfigDeliveryS3DestinationArn(std::move(value)); return *this;}
155 
160  inline GetFlowLogsIntegrationTemplateRequest& WithConfigDeliveryS3DestinationArn(const char* value) { SetConfigDeliveryS3DestinationArn(value); return *this;}
161 
162 
166  inline const IntegrateServices& GetIntegrateServices() const{ return m_integrateServices; }
167 
171  inline bool IntegrateServicesHasBeenSet() const { return m_integrateServicesHasBeenSet; }
172 
176  inline void SetIntegrateServices(const IntegrateServices& value) { m_integrateServicesHasBeenSet = true; m_integrateServices = value; }
177 
181  inline void SetIntegrateServices(IntegrateServices&& value) { m_integrateServicesHasBeenSet = true; m_integrateServices = std::move(value); }
182 
186  inline GetFlowLogsIntegrationTemplateRequest& WithIntegrateServices(const IntegrateServices& value) { SetIntegrateServices(value); return *this;}
187 
191  inline GetFlowLogsIntegrationTemplateRequest& WithIntegrateServices(IntegrateServices&& value) { SetIntegrateServices(std::move(value)); return *this;}
192 
193  private:
194 
195  bool m_dryRun;
196  bool m_dryRunHasBeenSet;
197 
198  Aws::String m_flowLogId;
199  bool m_flowLogIdHasBeenSet;
200 
201  Aws::String m_configDeliveryS3DestinationArn;
202  bool m_configDeliveryS3DestinationArnHasBeenSet;
203 
204  IntegrateServices m_integrateServices;
205  bool m_integrateServicesHasBeenSet;
206  };
207 
208 } // namespace Model
209 } // namespace EC2
210 } // namespace Aws
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: GetFlowLogsIntegrationTemplateRequest.h:54
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::IntegrateServices
Definition: IntegrateServices.h:34
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::ConfigDeliveryS3DestinationArnHasBeenSet
bool ConfigDeliveryS3DestinationArnHasBeenSet() const
Definition: GetFlowLogsIntegrationTemplateRequest.h:124
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::WithIntegrateServices
GetFlowLogsIntegrationTemplateRequest & WithIntegrateServices(IntegrateServices &&value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:191
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::SetConfigDeliveryS3DestinationArn
void SetConfigDeliveryS3DestinationArn(Aws::String &&value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:136
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::GetDryRun
bool GetDryRun() const
Definition: GetFlowLogsIntegrationTemplateRequest.h:46
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::SetConfigDeliveryS3DestinationArn
void SetConfigDeliveryS3DestinationArn(const Aws::String &value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:130
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::WithConfigDeliveryS3DestinationArn
GetFlowLogsIntegrationTemplateRequest & WithConfigDeliveryS3DestinationArn(const char *value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:160
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::WithConfigDeliveryS3DestinationArn
GetFlowLogsIntegrationTemplateRequest & WithConfigDeliveryS3DestinationArn(Aws::String &&value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:154
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::WithFlowLogId
GetFlowLogsIntegrationTemplateRequest & WithFlowLogId(const Aws::String &value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:101
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::GetConfigDeliveryS3DestinationArn
const Aws::String & GetConfigDeliveryS3DestinationArn() const
Definition: GetFlowLogsIntegrationTemplateRequest.h:118
IntegrateServices.h
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::WithIntegrateServices
GetFlowLogsIntegrationTemplateRequest & WithIntegrateServices(const IntegrateServices &value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:186
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::SetFlowLogId
void SetFlowLogId(const char *value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:96
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::IntegrateServicesHasBeenSet
bool IntegrateServicesHasBeenSet() const
Definition: GetFlowLogsIntegrationTemplateRequest.h:171
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::WithConfigDeliveryS3DestinationArn
GetFlowLogsIntegrationTemplateRequest & WithConfigDeliveryS3DestinationArn(const Aws::String &value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:148
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::SetFlowLogId
void SetFlowLogId(const Aws::String &value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:86
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::SetIntegrateServices
void SetIntegrateServices(const IntegrateServices &value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:176
EC2Request.h
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::WithFlowLogId
GetFlowLogsIntegrationTemplateRequest & WithFlowLogId(const char *value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:111
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::SetDryRun
void SetDryRun(bool value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:62
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::FlowLogIdHasBeenSet
bool FlowLogIdHasBeenSet() const
Definition: GetFlowLogsIntegrationTemplateRequest.h:81
AWSString.h
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::GetFlowLogsIntegrationTemplateRequest
GetFlowLogsIntegrationTemplateRequest()
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::WithFlowLogId
GetFlowLogsIntegrationTemplateRequest & WithFlowLogId(Aws::String &&value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:106
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::SetIntegrateServices
void SetIntegrateServices(IntegrateServices &&value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:181
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetFlowLogsIntegrationTemplateRequest.h:31
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::SetFlowLogId
void SetFlowLogId(Aws::String &&value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:91
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::GetFlowLogId
const Aws::String & GetFlowLogId() const
Definition: GetFlowLogsIntegrationTemplateRequest.h:76
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::GetIntegrateServices
const IntegrateServices & GetIntegrateServices() const
Definition: GetFlowLogsIntegrationTemplateRequest.h:166
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest
Definition: GetFlowLogsIntegrationTemplateRequest.h:23
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::SetConfigDeliveryS3DestinationArn
void SetConfigDeliveryS3DestinationArn(const char *value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:142
EC2_EXPORTS.h
Aws::EC2::Model::GetFlowLogsIntegrationTemplateRequest::WithDryRun
GetFlowLogsIntegrationTemplateRequest & WithDryRun(bool value)
Definition: GetFlowLogsIntegrationTemplateRequest.h:70