AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMinuteUsageRequest.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/GroundStationRequest.h>
9
10namespace Aws
11{
12namespace GroundStation
13{
14namespace Model
15{
16
23 {
24 public:
25 AWS_GROUNDSTATION_API GetMinuteUsageRequest();
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_GROUNDSTATION_API Aws::String SerializePayload() const override;
34
35
37
40 inline int GetMonth() const{ return m_month; }
41 inline bool MonthHasBeenSet() const { return m_monthHasBeenSet; }
42 inline void SetMonth(int value) { m_monthHasBeenSet = true; m_month = value; }
43 inline GetMinuteUsageRequest& WithMonth(int value) { SetMonth(value); return *this;}
45
47
50 inline int GetYear() const{ return m_year; }
51 inline bool YearHasBeenSet() const { return m_yearHasBeenSet; }
52 inline void SetYear(int value) { m_yearHasBeenSet = true; m_year = value; }
53 inline GetMinuteUsageRequest& WithYear(int value) { SetYear(value); return *this;}
55 private:
56
57 int m_month;
58 bool m_monthHasBeenSet = false;
59
60 int m_year;
61 bool m_yearHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace GroundStation
66} // namespace Aws
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String