AWS SDK for C++  0.14.3
AWS SDK for C++
ViewBillingRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
20 
21 namespace Aws
22 {
23 namespace Route53Domains
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
44  inline const Aws::Utils::DateTime& GetStart() const{ return m_start; }
45 
51  inline void SetStart(const Aws::Utils::DateTime& value) { m_startHasBeenSet = true; m_start = value; }
52 
58  inline void SetStart(Aws::Utils::DateTime&& value) { m_startHasBeenSet = true; m_start = value; }
59 
65  inline ViewBillingRequest& WithStart(const Aws::Utils::DateTime& value) { SetStart(value); return *this;}
66 
72  inline ViewBillingRequest& WithStart(Aws::Utils::DateTime&& value) { SetStart(value); return *this;}
73 
79  inline const Aws::Utils::DateTime& GetEnd() const{ return m_end; }
80 
86  inline void SetEnd(const Aws::Utils::DateTime& value) { m_endHasBeenSet = true; m_end = value; }
87 
93  inline void SetEnd(Aws::Utils::DateTime&& value) { m_endHasBeenSet = true; m_end = value; }
94 
100  inline ViewBillingRequest& WithEnd(const Aws::Utils::DateTime& value) { SetEnd(value); return *this;}
101 
107  inline ViewBillingRequest& WithEnd(Aws::Utils::DateTime&& value) { SetEnd(value); return *this;}
108 
121  inline const Aws::String& GetMarker() const{ return m_marker; }
122 
135  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
136 
149  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = value; }
150 
163  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
164 
177  inline ViewBillingRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
178 
191  inline ViewBillingRequest& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
192 
205  inline ViewBillingRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
206 
212  inline int GetMaxItems() const{ return m_maxItems; }
213 
219  inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
220 
226  inline ViewBillingRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
227 
228  private:
229  Aws::Utils::DateTime m_start;
230  bool m_startHasBeenSet;
231  Aws::Utils::DateTime m_end;
232  bool m_endHasBeenSet;
233  Aws::String m_marker;
234  bool m_markerHasBeenSet;
235  int m_maxItems;
236  bool m_maxItemsHasBeenSet;
237  };
238 
239 } // namespace Model
240 } // namespace Route53Domains
241 } // namespace Aws
ViewBillingRequest & WithEnd(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEnd() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
ViewBillingRequest & WithMarker(const Aws::String &value)
ViewBillingRequest & WithEnd(Aws::Utils::DateTime &&value)
#define AWS_ROUTE53DOMAINS_API
ViewBillingRequest & WithStart(const Aws::Utils::DateTime &value)
ViewBillingRequest & WithMaxItems(int value)
ViewBillingRequest & WithMarker(const char *value)
ViewBillingRequest & WithStart(Aws::Utils::DateTime &&value)
void SetStart(Aws::Utils::DateTime &&value)
void SetEnd(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetStart(const Aws::Utils::DateTime &value)
ViewBillingRequest & WithMarker(Aws::String &&value)
const Aws::Utils::DateTime & GetStart() const
void SetEnd(const Aws::Utils::DateTime &value)
JSON (JavaScript Object Notation).