/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include namespace Aws { namespace GroundStation { namespace Model { /** *

See Also:

AWS * API Reference

*/ class AWS_GROUNDSTATION_API GetMinuteUsageRequest : public GroundStationRequest { public: GetMinuteUsageRequest(); // 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 "GetMinuteUsage"; } Aws::String SerializePayload() const override; /** *

The month being requested, with a value of 1-12.

*/ inline int GetMonth() const{ return m_month; } /** *

The month being requested, with a value of 1-12.

*/ inline bool MonthHasBeenSet() const { return m_monthHasBeenSet; } /** *

The month being requested, with a value of 1-12.

*/ inline void SetMonth(int value) { m_monthHasBeenSet = true; m_month = value; } /** *

The month being requested, with a value of 1-12.

*/ inline GetMinuteUsageRequest& WithMonth(int value) { SetMonth(value); return *this;} /** *

The year being requested, in the format of YYYY.

*/ inline int GetYear() const{ return m_year; } /** *

The year being requested, in the format of YYYY.

*/ inline bool YearHasBeenSet() const { return m_yearHasBeenSet; } /** *

The year being requested, in the format of YYYY.

*/ inline void SetYear(int value) { m_yearHasBeenSet = true; m_year = value; } /** *

The year being requested, in the format of YYYY.

*/ inline GetMinuteUsageRequest& WithYear(int value) { SetYear(value); return *this;} private: int m_month; bool m_monthHasBeenSet; int m_year; bool m_yearHasBeenSet; }; } // namespace Model } // namespace GroundStation } // namespace Aws