AWS SDK for C++

AWS SDK for C++ Version 1.11.795

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
21 public:
22 AWS_GROUNDSTATION_API GetMinuteUsageRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetMinuteUsage"; }
29
30 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
31
33
36 inline int GetMonth() const { return m_month; }
37 inline bool MonthHasBeenSet() const { return m_monthHasBeenSet; }
38 inline void SetMonth(int value) {
39 m_monthHasBeenSet = true;
40 m_month = value;
41 }
42 inline GetMinuteUsageRequest& WithMonth(int value) {
43 SetMonth(value);
44 return *this;
45 }
47
49
52 inline int GetYear() const { return m_year; }
53 inline bool YearHasBeenSet() const { return m_yearHasBeenSet; }
54 inline void SetYear(int value) {
55 m_yearHasBeenSet = true;
56 m_year = value;
57 }
58 inline GetMinuteUsageRequest& WithYear(int value) {
59 SetYear(value);
60 return *this;
61 }
63 private:
64 int m_month{0};
65
66 int m_year{0};
67 bool m_monthHasBeenSet = false;
68 bool m_yearHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace GroundStation
73} // 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