AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeRecordResult.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
21 
22 namespace Aws
23 {
24 template<typename RESULT_TYPE>
25 class AmazonWebServiceResult;
26 
27 namespace Utils
28 {
29 namespace Json
30 {
31  class JsonValue;
32 } // namespace Json
33 } // namespace Utils
34 namespace ServiceCatalog
35 {
36 namespace Model
37 {
39  {
40  public:
44 
48  inline const RecordDetail& GetRecordDetail() const{ return m_recordDetail; }
49 
53  inline void SetRecordDetail(const RecordDetail& value) { m_recordDetail = value; }
54 
58  inline void SetRecordDetail(RecordDetail&& value) { m_recordDetail = value; }
59 
63  inline DescribeRecordResult& WithRecordDetail(const RecordDetail& value) { SetRecordDetail(value); return *this;}
64 
68  inline DescribeRecordResult& WithRecordDetail(RecordDetail&& value) { SetRecordDetail(value); return *this;}
69 
75  inline const Aws::Vector<RecordOutput>& GetRecordOutputs() const{ return m_recordOutputs; }
76 
82  inline void SetRecordOutputs(const Aws::Vector<RecordOutput>& value) { m_recordOutputs = value; }
83 
89  inline void SetRecordOutputs(Aws::Vector<RecordOutput>&& value) { m_recordOutputs = value; }
90 
96  inline DescribeRecordResult& WithRecordOutputs(const Aws::Vector<RecordOutput>& value) { SetRecordOutputs(value); return *this;}
97 
103  inline DescribeRecordResult& WithRecordOutputs(Aws::Vector<RecordOutput>&& value) { SetRecordOutputs(value); return *this;}
104 
110  inline DescribeRecordResult& AddRecordOutputs(const RecordOutput& value) { m_recordOutputs.push_back(value); return *this; }
111 
117  inline DescribeRecordResult& AddRecordOutputs(RecordOutput&& value) { m_recordOutputs.push_back(value); return *this; }
118 
123  inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
124 
129  inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; }
130 
135  inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = value; }
136 
141  inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); }
142 
147  inline DescribeRecordResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
148 
153  inline DescribeRecordResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(value); return *this;}
154 
159  inline DescribeRecordResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
160 
161  private:
162  RecordDetail m_recordDetail;
163  Aws::Vector<RecordOutput> m_recordOutputs;
164  Aws::String m_nextPageToken;
165  };
166 
167 } // namespace Model
168 } // namespace ServiceCatalog
169 } // namespace Aws
#define AWS_SERVICECATALOG_API
DescribeRecordResult & WithRecordDetail(RecordDetail &&value)
DescribeRecordResult & AddRecordOutputs(RecordOutput &&value)
DescribeRecordResult & WithNextPageToken(Aws::String &&value)
void SetRecordOutputs(const Aws::Vector< RecordOutput > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
void SetRecordOutputs(Aws::Vector< RecordOutput > &&value)
DescribeRecordResult & WithNextPageToken(const char *value)
DescribeRecordResult & WithRecordOutputs(Aws::Vector< RecordOutput > &&value)
const Aws::Vector< RecordOutput > & GetRecordOutputs() const
DescribeRecordResult & AddRecordOutputs(const RecordOutput &value)
DescribeRecordResult & WithNextPageToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeRecordResult & WithRecordOutputs(const Aws::Vector< RecordOutput > &value)
DescribeRecordResult & WithRecordDetail(const RecordDetail &value)
JSON (JavaScript Object Notation).