AWS SDK for C++  0.14.3
AWS SDK for C++
ViewBillingResult.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 template<typename RESULT_TYPE>
24 class AmazonWebServiceResult;
25 
26 namespace Utils
27 {
28 namespace Json
29 {
30  class JsonValue;
31 } // namespace Json
32 } // namespace Utils
33 namespace Route53Domains
34 {
35 namespace Model
36 {
41  {
42  public:
46 
53  inline const Aws::String& GetNextPageMarker() const{ return m_nextPageMarker; }
54 
61  inline void SetNextPageMarker(const Aws::String& value) { m_nextPageMarker = value; }
62 
69  inline void SetNextPageMarker(Aws::String&& value) { m_nextPageMarker = value; }
70 
77  inline void SetNextPageMarker(const char* value) { m_nextPageMarker.assign(value); }
78 
85  inline ViewBillingResult& WithNextPageMarker(const Aws::String& value) { SetNextPageMarker(value); return *this;}
86 
93  inline ViewBillingResult& WithNextPageMarker(Aws::String&& value) { SetNextPageMarker(value); return *this;}
94 
101  inline ViewBillingResult& WithNextPageMarker(const char* value) { SetNextPageMarker(value); return *this;}
102 
109  inline const Aws::Vector<BillingRecord>& GetBillingRecords() const{ return m_billingRecords; }
110 
117  inline void SetBillingRecords(const Aws::Vector<BillingRecord>& value) { m_billingRecords = value; }
118 
125  inline void SetBillingRecords(Aws::Vector<BillingRecord>&& value) { m_billingRecords = value; }
126 
133  inline ViewBillingResult& WithBillingRecords(const Aws::Vector<BillingRecord>& value) { SetBillingRecords(value); return *this;}
134 
141  inline ViewBillingResult& WithBillingRecords(Aws::Vector<BillingRecord>&& value) { SetBillingRecords(value); return *this;}
142 
149  inline ViewBillingResult& AddBillingRecords(const BillingRecord& value) { m_billingRecords.push_back(value); return *this; }
150 
157  inline ViewBillingResult& AddBillingRecords(BillingRecord&& value) { m_billingRecords.push_back(value); return *this; }
158 
159  private:
160  Aws::String m_nextPageMarker;
161  Aws::Vector<BillingRecord> m_billingRecords;
162  };
163 
164 } // namespace Model
165 } // namespace Route53Domains
166 } // namespace Aws
void SetBillingRecords(const Aws::Vector< BillingRecord > &value)
ViewBillingResult & WithBillingRecords(Aws::Vector< BillingRecord > &&value)
void SetNextPageMarker(const Aws::String &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
ViewBillingResult & WithBillingRecords(const Aws::Vector< BillingRecord > &value)
#define AWS_ROUTE53DOMAINS_API
ViewBillingResult & AddBillingRecords(BillingRecord &&value)
ViewBillingResult & WithNextPageMarker(Aws::String &&value)
void SetBillingRecords(Aws::Vector< BillingRecord > &&value)
ViewBillingResult & WithNextPageMarker(const char *value)
const Aws::String & GetNextPageMarker() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ViewBillingResult & AddBillingRecords(const BillingRecord &value)
const Aws::Vector< BillingRecord > & GetBillingRecords() const
JSON (JavaScript Object Notation).
ViewBillingResult & WithNextPageMarker(const Aws::String &value)