AWS SDK for C++  1.9.15
AWS SDK for C++
ViewBillingRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Route53Domains
16 {
17 namespace Model
18 {
19 
27  {
28  public:
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::String SerializePayload() const override;
38 
40 
41 
47  inline const Aws::Utils::DateTime& GetStart() const{ return m_start; }
48 
54  inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
55 
61  inline void SetStart(const Aws::Utils::DateTime& value) { m_startHasBeenSet = true; m_start = value; }
62 
68  inline void SetStart(Aws::Utils::DateTime&& value) { m_startHasBeenSet = true; m_start = std::move(value); }
69 
75  inline ViewBillingRequest& WithStart(const Aws::Utils::DateTime& value) { SetStart(value); return *this;}
76 
82  inline ViewBillingRequest& WithStart(Aws::Utils::DateTime&& value) { SetStart(std::move(value)); return *this;}
83 
84 
90  inline const Aws::Utils::DateTime& GetEnd() const{ return m_end; }
91 
97  inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
98 
104  inline void SetEnd(const Aws::Utils::DateTime& value) { m_endHasBeenSet = true; m_end = value; }
105 
111  inline void SetEnd(Aws::Utils::DateTime&& value) { m_endHasBeenSet = true; m_end = std::move(value); }
112 
118  inline ViewBillingRequest& WithEnd(const Aws::Utils::DateTime& value) { SetEnd(value); return *this;}
119 
125  inline ViewBillingRequest& WithEnd(Aws::Utils::DateTime&& value) { SetEnd(std::move(value)); return *this;}
126 
127 
139  inline const Aws::String& GetMarker() const{ return m_marker; }
140 
152  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
153 
165  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
166 
178  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
179 
191  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
192 
204  inline ViewBillingRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
205 
217  inline ViewBillingRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
218 
230  inline ViewBillingRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
231 
232 
236  inline int GetMaxItems() const{ return m_maxItems; }
237 
241  inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
242 
246  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
247 
251  inline ViewBillingRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
252 
253  private:
254 
255  Aws::Utils::DateTime m_start;
256  bool m_startHasBeenSet;
257 
258  Aws::Utils::DateTime m_end;
259  bool m_endHasBeenSet;
260 
261  Aws::String m_marker;
262  bool m_markerHasBeenSet;
263 
264  int m_maxItems;
265  bool m_maxItemsHasBeenSet;
266  };
267 
268 } // namespace Model
269 } // namespace Route53Domains
270 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Route53Domains::Model::ViewBillingRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: ViewBillingRequest.h:152
Aws::Route53Domains::Model::ViewBillingRequest::GetEnd
const Aws::Utils::DateTime & GetEnd() const
Definition: ViewBillingRequest.h:90
Aws::Route53Domains::Model::ViewBillingRequest::WithEnd
ViewBillingRequest & WithEnd(Aws::Utils::DateTime &&value)
Definition: ViewBillingRequest.h:125
Aws::Route53Domains::Model::ViewBillingRequest::WithMarker
ViewBillingRequest & WithMarker(const Aws::String &value)
Definition: ViewBillingRequest.h:204
Aws::Route53Domains::Model::ViewBillingRequest::GetMaxItems
int GetMaxItems() const
Definition: ViewBillingRequest.h:236
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Route53Domains::Model::ViewBillingRequest::MaxItemsHasBeenSet
bool MaxItemsHasBeenSet() const
Definition: ViewBillingRequest.h:241
Aws::Route53Domains::Model::ViewBillingRequest
Definition: ViewBillingRequest.h:27
Aws::Route53Domains::Model::ViewBillingRequest::WithMaxItems
ViewBillingRequest & WithMaxItems(int value)
Definition: ViewBillingRequest.h:251
DateTime.h
Aws::Route53Domains::Model::ViewBillingRequest::WithEnd
ViewBillingRequest & WithEnd(const Aws::Utils::DateTime &value)
Definition: ViewBillingRequest.h:118
Aws::Route53Domains::Model::ViewBillingRequest::WithMarker
ViewBillingRequest & WithMarker(const char *value)
Definition: ViewBillingRequest.h:230
Aws::Route53Domains::Model::ViewBillingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ViewBillingRequest.h:35
AWS_ROUTE53DOMAINS_API
#define AWS_ROUTE53DOMAINS_API
Definition: Route53Domains_EXPORTS.h:28
Aws::Route53Domains::Model::ViewBillingRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: ViewBillingRequest.h:178
Aws::Route53Domains::Model::ViewBillingRequest::StartHasBeenSet
bool StartHasBeenSet() const
Definition: ViewBillingRequest.h:54
Aws::Route53Domains::Model::ViewBillingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Route53Domains::Model::ViewBillingRequest::WithMarker
ViewBillingRequest & WithMarker(Aws::String &&value)
Definition: ViewBillingRequest.h:217
Aws::Route53Domains::Model::ViewBillingRequest::SetMaxItems
void SetMaxItems(int value)
Definition: ViewBillingRequest.h:246
Aws::Route53Domains::Model::ViewBillingRequest::GetMarker
const Aws::String & GetMarker() const
Definition: ViewBillingRequest.h:139
Aws::Route53Domains::Model::ViewBillingRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: ViewBillingRequest.h:165
AWSString.h
Aws::Route53Domains::Model::ViewBillingRequest::WithStart
ViewBillingRequest & WithStart(const Aws::Utils::DateTime &value)
Definition: ViewBillingRequest.h:75
Aws::Route53Domains::Route53DomainsRequest
Definition: Route53DomainsRequest.h:17
Aws::Route53Domains::Model::ViewBillingRequest::GetStart
const Aws::Utils::DateTime & GetStart() const
Definition: ViewBillingRequest.h:47
Route53DomainsRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::Route53Domains::Model::ViewBillingRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Route53Domains_EXPORTS.h
Aws::Route53Domains::Model::ViewBillingRequest::SetStart
void SetStart(Aws::Utils::DateTime &&value)
Definition: ViewBillingRequest.h:68
Aws::Route53Domains::Model::ViewBillingRequest::EndHasBeenSet
bool EndHasBeenSet() const
Definition: ViewBillingRequest.h:97
Aws::Route53Domains::Model::ViewBillingRequest::SetEnd
void SetEnd(Aws::Utils::DateTime &&value)
Definition: ViewBillingRequest.h:111
Aws::Route53Domains::Model::ViewBillingRequest::SetEnd
void SetEnd(const Aws::Utils::DateTime &value)
Definition: ViewBillingRequest.h:104
Aws::Route53Domains::Model::ViewBillingRequest::SetStart
void SetStart(const Aws::Utils::DateTime &value)
Definition: ViewBillingRequest.h:61
Aws::Route53Domains::Model::ViewBillingRequest::WithStart
ViewBillingRequest & WithStart(Aws::Utils::DateTime &&value)
Definition: ViewBillingRequest.h:82
Aws::Route53Domains::Model::ViewBillingRequest::SetMarker
void SetMarker(const char *value)
Definition: ViewBillingRequest.h:191
Aws::Route53Domains::Model::ViewBillingRequest::ViewBillingRequest
ViewBillingRequest()