AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStart(const Aws::Utils::DateTime& value) { m_startHasBeenSet = true; m_start = value; }
51 inline void SetStart(Aws::Utils::DateTime&& value) { m_startHasBeenSet = true; m_start = std::move(value); }
52 inline ViewBillingRequest& WithStart(const Aws::Utils::DateTime& value) { SetStart(value); return *this;}
53 inline ViewBillingRequest& WithStart(Aws::Utils::DateTime&& value) { SetStart(std::move(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 inline void SetEnd(const Aws::Utils::DateTime& value) { m_endHasBeenSet = true; m_end = value; }
65 inline void SetEnd(Aws::Utils::DateTime&& value) { m_endHasBeenSet = true; m_end = std::move(value); }
66 inline ViewBillingRequest& WithEnd(const Aws::Utils::DateTime& value) { SetEnd(value); return *this;}
67 inline ViewBillingRequest& WithEnd(Aws::Utils::DateTime&& value) { SetEnd(std::move(value)); return *this;}
69
71
82 inline const Aws::String& GetMarker() const{ return m_marker; }
83 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
84 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
85 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
86 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
87 inline ViewBillingRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
88 inline ViewBillingRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
89 inline ViewBillingRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
91
93
96 inline int GetMaxItems() const{ return m_maxItems; }
97 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
98 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
99 inline ViewBillingRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
101 private:
102
103 Aws::Utils::DateTime m_start;
104 bool m_startHasBeenSet = false;
105
107 bool m_endHasBeenSet = false;
108
109 Aws::String m_marker;
110 bool m_markerHasBeenSet = false;
111
112 int m_maxItems;
113 bool m_maxItemsHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Route53Domains
118} // namespace Aws
ViewBillingRequest & WithStart(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStart() const
void SetStart(const Aws::Utils::DateTime &value)
void SetStart(Aws::Utils::DateTime &&value)
ViewBillingRequest & WithMarker(const Aws::String &value)
ViewBillingRequest & WithEnd(const Aws::Utils::DateTime &value)
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
void SetEnd(Aws::Utils::DateTime &&value)
ViewBillingRequest & WithEnd(Aws::Utils::DateTime &&value)
ViewBillingRequest & WithMarker(const char *value)
void SetEnd(const Aws::Utils::DateTime &value)
ViewBillingRequest & WithStart(Aws::Utils::DateTime &&value)
ViewBillingRequest & WithMarker(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String