AWS SDK for C++  0.12.9
AWS SDK for C++
ListOperationsResult.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 
52  inline const Aws::Vector<OperationSummary>& GetOperations() const{ return m_operations; }
53 
59  inline void SetOperations(const Aws::Vector<OperationSummary>& value) { m_operations = value; }
60 
66  inline void SetOperations(Aws::Vector<OperationSummary>&& value) { m_operations = value; }
67 
73  inline ListOperationsResult& WithOperations(const Aws::Vector<OperationSummary>& value) { SetOperations(value); return *this;}
74 
80  inline ListOperationsResult& WithOperations(Aws::Vector<OperationSummary>&& value) { SetOperations(value); return *this;}
81 
87  inline ListOperationsResult& AddOperations(const OperationSummary& value) { m_operations.push_back(value); return *this; }
88 
94  inline ListOperationsResult& AddOperations(OperationSummary&& value) { m_operations.push_back(value); return *this; }
95 
102  inline const Aws::String& GetNextPageMarker() const{ return m_nextPageMarker; }
103 
110  inline void SetNextPageMarker(const Aws::String& value) { m_nextPageMarker = value; }
111 
118  inline void SetNextPageMarker(Aws::String&& value) { m_nextPageMarker = value; }
119 
126  inline void SetNextPageMarker(const char* value) { m_nextPageMarker.assign(value); }
127 
134  inline ListOperationsResult& WithNextPageMarker(const Aws::String& value) { SetNextPageMarker(value); return *this;}
135 
142  inline ListOperationsResult& WithNextPageMarker(Aws::String&& value) { SetNextPageMarker(value); return *this;}
143 
150  inline ListOperationsResult& WithNextPageMarker(const char* value) { SetNextPageMarker(value); return *this;}
151 
152  private:
153  Aws::Vector<OperationSummary> m_operations;
154  Aws::String m_nextPageMarker;
155  };
156 
157 } // namespace Model
158 } // namespace Route53Domains
159 } // namespace Aws
const Aws::Vector< OperationSummary > & GetOperations() const
ListOperationsResult & WithNextPageMarker(Aws::String &&value)
ListOperationsResult & AddOperations(const OperationSummary &value)
void SetOperations(const Aws::Vector< OperationSummary > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
#define AWS_ROUTE53DOMAINS_API
ListOperationsResult & AddOperations(OperationSummary &&value)
ListOperationsResult & WithNextPageMarker(const char *value)
ListOperationsResult & WithOperations(Aws::Vector< OperationSummary > &&value)
void SetOperations(Aws::Vector< OperationSummary > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListOperationsResult & WithOperations(const Aws::Vector< OperationSummary > &value)
ListOperationsResult & WithNextPageMarker(const Aws::String &value)
JSON (JavaScript Object Notation).