AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
GetMinuteUsageRequest.h
1
6#pragma once
7#include <aws/groundstation/GroundStationRequest.h>
8#include <aws/groundstation/GroundStation_EXPORTS.h>
9
10namespace Aws {
11namespace GroundStation {
12namespace Model {
13
20 public:
21 AWS_GROUNDSTATION_API GetMinuteUsageRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetMinuteUsage"; }
28
29 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
30
32
35 inline int GetMonth() const { return m_month; }
36 inline bool MonthHasBeenSet() const { return m_monthHasBeenSet; }
37 inline void SetMonth(int value) {
38 m_monthHasBeenSet = true;
39 m_month = value;
40 }
41 inline GetMinuteUsageRequest& WithMonth(int value) {
42 SetMonth(value);
43 return *this;
44 }
46
48
51 inline int GetYear() const { return m_year; }
52 inline bool YearHasBeenSet() const { return m_yearHasBeenSet; }
53 inline void SetYear(int value) {
54 m_yearHasBeenSet = true;
55 m_year = value;
56 }
57 inline GetMinuteUsageRequest& WithYear(int value) {
58 SetYear(value);
59 return *this;
60 }
62 private:
63 int m_month{0};
64 bool m_monthHasBeenSet = false;
65
66 int m_year{0};
67 bool m_yearHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace GroundStation
72} // namespace Aws
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
AWS_GROUNDSTATION_API GetMinuteUsageRequest()=default
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String