AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ViewBillingRequest.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/route53domains/Route53DomainsRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Route53Domains
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_ROUTE53DOMAINS_API ViewBillingRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ViewBilling"; }
36
37 AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override;
38
39 AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
48 inline const Aws::Utils::DateTime& GetStart() const { return m_start; }
49 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
50 template<typename StartT = Aws::Utils::DateTime>
51 void SetStart(StartT&& value) { m_startHasBeenSet = true; m_start = std::forward<StartT>(value); }
52 template<typename StartT = Aws::Utils::DateTime>
53 ViewBillingRequest& WithStart(StartT&& value) { SetStart(std::forward<StartT>(value)); return *this;}
55
57
62 inline const Aws::Utils::DateTime& GetEnd() const { return m_end; }
63 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
64 template<typename EndT = Aws::Utils::DateTime>
65 void SetEnd(EndT&& value) { m_endHasBeenSet = true; m_end = std::forward<EndT>(value); }
66 template<typename EndT = Aws::Utils::DateTime>
67 ViewBillingRequest& WithEnd(EndT&& value) { SetEnd(std::forward<EndT>(value)); return *this;}
69
71
82 inline const Aws::String& GetMarker() const { return m_marker; }
83 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
84 template<typename MarkerT = Aws::String>
85 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
86 template<typename MarkerT = Aws::String>
87 ViewBillingRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
89
91
94 inline int GetMaxItems() const { return m_maxItems; }
95 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
96 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
97 inline ViewBillingRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
99 private:
100
101 Aws::Utils::DateTime m_start{};
102 bool m_startHasBeenSet = false;
103
104 Aws::Utils::DateTime m_end{};
105 bool m_endHasBeenSet = false;
106
107 Aws::String m_marker;
108 bool m_markerHasBeenSet = false;
109
110 int m_maxItems{0};
111 bool m_maxItemsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Route53Domains
116} // namespace Aws
ViewBillingRequest & WithEnd(EndT &&value)
const Aws::Utils::DateTime & GetStart() const
AWS_ROUTE53DOMAINS_API ViewBillingRequest()=default
AWS_ROUTE53DOMAINS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ROUTE53DOMAINS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::Utils::DateTime & GetEnd() const
ViewBillingRequest & WithStart(StartT &&value)
ViewBillingRequest & WithMarker(MarkerT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String