AWS SDK for C++  1.9.71
AWS SDK for C++
GetMinuteUsageRequest.h
Go to the documentation of this file.
1 
6 #pragma once
9 
10 namespace Aws
11 {
12 namespace GroundStation
13 {
14 namespace Model
15 {
16 
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 "GetMinuteUsage"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline int GetMonth() const{ return m_month; }
40 
44  inline bool MonthHasBeenSet() const { return m_monthHasBeenSet; }
45 
49  inline void SetMonth(int value) { m_monthHasBeenSet = true; m_month = value; }
50 
54  inline GetMinuteUsageRequest& WithMonth(int value) { SetMonth(value); return *this;}
55 
56 
60  inline int GetYear() const{ return m_year; }
61 
65  inline bool YearHasBeenSet() const { return m_yearHasBeenSet; }
66 
70  inline void SetYear(int value) { m_yearHasBeenSet = true; m_year = value; }
71 
75  inline GetMinuteUsageRequest& WithYear(int value) { SetYear(value); return *this;}
76 
77  private:
78 
79  int m_month;
80  bool m_monthHasBeenSet;
81 
82  int m_year;
83  bool m_yearHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace GroundStation
88 } // namespace Aws
Aws::GroundStation::Model::GetMinuteUsageRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetMinuteUsageRequest.h:31
Aws::GroundStation::Model::GetMinuteUsageRequest::SetMonth
void SetMonth(int value)
Definition: GetMinuteUsageRequest.h:49
Aws::GroundStation::Model::GetMinuteUsageRequest::MonthHasBeenSet
bool MonthHasBeenSet() const
Definition: GetMinuteUsageRequest.h:44
Aws::GroundStation::Model::GetMinuteUsageRequest::WithYear
GetMinuteUsageRequest & WithYear(int value)
Definition: GetMinuteUsageRequest.h:75
Aws::GroundStation::Model::GetMinuteUsageRequest::GetMonth
int GetMonth() const
Definition: GetMinuteUsageRequest.h:39
Aws::GroundStation::GroundStationRequest
Definition: GroundStationRequest.h:17
Aws::GroundStation::Model::GetMinuteUsageRequest::WithMonth
GetMinuteUsageRequest & WithMonth(int value)
Definition: GetMinuteUsageRequest.h:54
Aws::GroundStation::Model::GetMinuteUsageRequest::YearHasBeenSet
bool YearHasBeenSet() const
Definition: GetMinuteUsageRequest.h:65
Aws::GroundStation::Model::GetMinuteUsageRequest
Definition: GetMinuteUsageRequest.h:23
GroundStationRequest.h
GroundStation_EXPORTS.h
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::GroundStation::Model::GetMinuteUsageRequest::GetMinuteUsageRequest
GetMinuteUsageRequest()
Aws::GroundStation::Model::GetMinuteUsageRequest::SetYear
void SetYear(int value)
Definition: GetMinuteUsageRequest.h:70
Aws::GroundStation::Model::GetMinuteUsageRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GroundStation::Model::GetMinuteUsageRequest::GetYear
int GetYear() const
Definition: GetMinuteUsageRequest.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97