/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace ApplicationCostProfiler { namespace Model { /** */ class ImportApplicationUsageRequest : public ApplicationCostProfilerRequest { public: AWS_APPLICATIONCOSTPROFILER_API ImportApplicationUsageRequest(); // 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 "ImportApplicationUsage"; } AWS_APPLICATIONCOSTPROFILER_API Aws::String SerializePayload() const override; /** *

Amazon S3 location to import application usage data from.

*/ inline const SourceS3Location& GetSourceS3Location() const{ return m_sourceS3Location; } /** *

Amazon S3 location to import application usage data from.

*/ inline bool SourceS3LocationHasBeenSet() const { return m_sourceS3LocationHasBeenSet; } /** *

Amazon S3 location to import application usage data from.

*/ inline void SetSourceS3Location(const SourceS3Location& value) { m_sourceS3LocationHasBeenSet = true; m_sourceS3Location = value; } /** *

Amazon S3 location to import application usage data from.

*/ inline void SetSourceS3Location(SourceS3Location&& value) { m_sourceS3LocationHasBeenSet = true; m_sourceS3Location = std::move(value); } /** *

Amazon S3 location to import application usage data from.

*/ inline ImportApplicationUsageRequest& WithSourceS3Location(const SourceS3Location& value) { SetSourceS3Location(value); return *this;} /** *

Amazon S3 location to import application usage data from.

*/ inline ImportApplicationUsageRequest& WithSourceS3Location(SourceS3Location&& value) { SetSourceS3Location(std::move(value)); return *this;} private: SourceS3Location m_sourceS3Location; bool m_sourceS3LocationHasBeenSet = false; }; } // namespace Model } // namespace ApplicationCostProfiler } // namespace Aws