/** * 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 CloudFront { namespace Model { /** */ class GetMonitoringSubscription2020_05_31Request : public CloudFrontRequest { public: AWS_CLOUDFRONT_API GetMonitoringSubscription2020_05_31Request(); // 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 "GetMonitoringSubscription"; } AWS_CLOUDFRONT_API Aws::String SerializePayload() const override; /** *

The ID of the distribution that you are getting metrics information for.

*/ inline const Aws::String& GetDistributionId() const{ return m_distributionId; } /** *

The ID of the distribution that you are getting metrics information for.

*/ inline bool DistributionIdHasBeenSet() const { return m_distributionIdHasBeenSet; } /** *

The ID of the distribution that you are getting metrics information for.

*/ inline void SetDistributionId(const Aws::String& value) { m_distributionIdHasBeenSet = true; m_distributionId = value; } /** *

The ID of the distribution that you are getting metrics information for.

*/ inline void SetDistributionId(Aws::String&& value) { m_distributionIdHasBeenSet = true; m_distributionId = std::move(value); } /** *

The ID of the distribution that you are getting metrics information for.

*/ inline void SetDistributionId(const char* value) { m_distributionIdHasBeenSet = true; m_distributionId.assign(value); } /** *

The ID of the distribution that you are getting metrics information for.

*/ inline GetMonitoringSubscription2020_05_31Request& WithDistributionId(const Aws::String& value) { SetDistributionId(value); return *this;} /** *

The ID of the distribution that you are getting metrics information for.

*/ inline GetMonitoringSubscription2020_05_31Request& WithDistributionId(Aws::String&& value) { SetDistributionId(std::move(value)); return *this;} /** *

The ID of the distribution that you are getting metrics information for.

*/ inline GetMonitoringSubscription2020_05_31Request& WithDistributionId(const char* value) { SetDistributionId(value); return *this;} private: Aws::String m_distributionId; bool m_distributionIdHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws