/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace EC2 { namespace Model { /** */ class GetFlowLogsIntegrationTemplateRequest : public EC2Request { public: AWS_EC2_API GetFlowLogsIntegrationTemplateRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetFlowLogsIntegrationTemplate"; } AWS_EC2_API Aws::String SerializePayload() const override; protected: AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

Checks whether you have the required permissions for the action, without * actually making the request, and provides an error response. If you have the * required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

*/ inline bool GetDryRun() const{ return m_dryRun; } /** *

Checks whether you have the required permissions for the action, without * actually making the request, and provides an error response. If you have the * required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

*/ inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; } /** *

Checks whether you have the required permissions for the action, without * actually making the request, and provides an error response. If you have the * required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

*/ inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; } /** *

Checks whether you have the required permissions for the action, without * actually making the request, and provides an error response. If you have the * required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

*/ inline GetFlowLogsIntegrationTemplateRequest& WithDryRun(bool value) { SetDryRun(value); return *this;} /** *

The ID of the flow log.

*/ inline const Aws::String& GetFlowLogId() const{ return m_flowLogId; } /** *

The ID of the flow log.

*/ inline bool FlowLogIdHasBeenSet() const { return m_flowLogIdHasBeenSet; } /** *

The ID of the flow log.

*/ inline void SetFlowLogId(const Aws::String& value) { m_flowLogIdHasBeenSet = true; m_flowLogId = value; } /** *

The ID of the flow log.

*/ inline void SetFlowLogId(Aws::String&& value) { m_flowLogIdHasBeenSet = true; m_flowLogId = std::move(value); } /** *

The ID of the flow log.

*/ inline void SetFlowLogId(const char* value) { m_flowLogIdHasBeenSet = true; m_flowLogId.assign(value); } /** *

The ID of the flow log.

*/ inline GetFlowLogsIntegrationTemplateRequest& WithFlowLogId(const Aws::String& value) { SetFlowLogId(value); return *this;} /** *

The ID of the flow log.

*/ inline GetFlowLogsIntegrationTemplateRequest& WithFlowLogId(Aws::String&& value) { SetFlowLogId(std::move(value)); return *this;} /** *

The ID of the flow log.

*/ inline GetFlowLogsIntegrationTemplateRequest& WithFlowLogId(const char* value) { SetFlowLogId(value); return *this;} /** *

To store the CloudFormation template in Amazon S3, specify the location in * Amazon S3.

*/ inline const Aws::String& GetConfigDeliveryS3DestinationArn() const{ return m_configDeliveryS3DestinationArn; } /** *

To store the CloudFormation template in Amazon S3, specify the location in * Amazon S3.

*/ inline bool ConfigDeliveryS3DestinationArnHasBeenSet() const { return m_configDeliveryS3DestinationArnHasBeenSet; } /** *

To store the CloudFormation template in Amazon S3, specify the location in * Amazon S3.

*/ inline void SetConfigDeliveryS3DestinationArn(const Aws::String& value) { m_configDeliveryS3DestinationArnHasBeenSet = true; m_configDeliveryS3DestinationArn = value; } /** *

To store the CloudFormation template in Amazon S3, specify the location in * Amazon S3.

*/ inline void SetConfigDeliveryS3DestinationArn(Aws::String&& value) { m_configDeliveryS3DestinationArnHasBeenSet = true; m_configDeliveryS3DestinationArn = std::move(value); } /** *

To store the CloudFormation template in Amazon S3, specify the location in * Amazon S3.

*/ inline void SetConfigDeliveryS3DestinationArn(const char* value) { m_configDeliveryS3DestinationArnHasBeenSet = true; m_configDeliveryS3DestinationArn.assign(value); } /** *

To store the CloudFormation template in Amazon S3, specify the location in * Amazon S3.

*/ inline GetFlowLogsIntegrationTemplateRequest& WithConfigDeliveryS3DestinationArn(const Aws::String& value) { SetConfigDeliveryS3DestinationArn(value); return *this;} /** *

To store the CloudFormation template in Amazon S3, specify the location in * Amazon S3.

*/ inline GetFlowLogsIntegrationTemplateRequest& WithConfigDeliveryS3DestinationArn(Aws::String&& value) { SetConfigDeliveryS3DestinationArn(std::move(value)); return *this;} /** *

To store the CloudFormation template in Amazon S3, specify the location in * Amazon S3.

*/ inline GetFlowLogsIntegrationTemplateRequest& WithConfigDeliveryS3DestinationArn(const char* value) { SetConfigDeliveryS3DestinationArn(value); return *this;} /** *

Information about the service integration.

*/ inline const IntegrateServices& GetIntegrateServices() const{ return m_integrateServices; } /** *

Information about the service integration.

*/ inline bool IntegrateServicesHasBeenSet() const { return m_integrateServicesHasBeenSet; } /** *

Information about the service integration.

*/ inline void SetIntegrateServices(const IntegrateServices& value) { m_integrateServicesHasBeenSet = true; m_integrateServices = value; } /** *

Information about the service integration.

*/ inline void SetIntegrateServices(IntegrateServices&& value) { m_integrateServicesHasBeenSet = true; m_integrateServices = std::move(value); } /** *

Information about the service integration.

*/ inline GetFlowLogsIntegrationTemplateRequest& WithIntegrateServices(const IntegrateServices& value) { SetIntegrateServices(value); return *this;} /** *

Information about the service integration.

*/ inline GetFlowLogsIntegrationTemplateRequest& WithIntegrateServices(IntegrateServices&& value) { SetIntegrateServices(std::move(value)); return *this;} private: bool m_dryRun; bool m_dryRunHasBeenSet = false; Aws::String m_flowLogId; bool m_flowLogIdHasBeenSet = false; Aws::String m_configDeliveryS3DestinationArn; bool m_configDeliveryS3DestinationArnHasBeenSet = false; IntegrateServices m_integrateServices; bool m_integrateServicesHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws