AWS SDK for C++  0.14.3
AWS SDK for C++
DownloadDBLogFilePortionResult.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
16 #include <aws/rds/RDS_EXPORTS.h>
19 
20 namespace Aws
21 {
22 template<typename RESULT_TYPE>
23 class AmazonWebServiceResult;
24 
25 namespace Utils
26 {
27 namespace Xml
28 {
29  class XmlDocument;
30 } // namespace Xml
31 } // namespace Utils
32 namespace RDS
33 {
34 namespace Model
35 {
41  {
42  public:
46 
50  inline const Aws::String& GetLogFileData() const{ return m_logFileData; }
51 
55  inline void SetLogFileData(const Aws::String& value) { m_logFileData = value; }
56 
60  inline void SetLogFileData(Aws::String&& value) { m_logFileData = value; }
61 
65  inline void SetLogFileData(const char* value) { m_logFileData.assign(value); }
66 
70  inline DownloadDBLogFilePortionResult& WithLogFileData(const Aws::String& value) { SetLogFileData(value); return *this;}
71 
75  inline DownloadDBLogFilePortionResult& WithLogFileData(Aws::String&& value) { SetLogFileData(value); return *this;}
76 
80  inline DownloadDBLogFilePortionResult& WithLogFileData(const char* value) { SetLogFileData(value); return *this;}
81 
86  inline const Aws::String& GetMarker() const{ return m_marker; }
87 
92  inline void SetMarker(const Aws::String& value) { m_marker = value; }
93 
98  inline void SetMarker(Aws::String&& value) { m_marker = value; }
99 
104  inline void SetMarker(const char* value) { m_marker.assign(value); }
105 
110  inline DownloadDBLogFilePortionResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
111 
116  inline DownloadDBLogFilePortionResult& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
117 
122  inline DownloadDBLogFilePortionResult& WithMarker(const char* value) { SetMarker(value); return *this;}
123 
128  inline bool GetAdditionalDataPending() const{ return m_additionalDataPending; }
129 
134  inline void SetAdditionalDataPending(bool value) { m_additionalDataPending = value; }
135 
140  inline DownloadDBLogFilePortionResult& WithAdditionalDataPending(bool value) { SetAdditionalDataPending(value); return *this;}
141 
142 
143  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
144 
145 
146  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
147 
148 
149  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
150 
151 
152  inline DownloadDBLogFilePortionResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
153 
154 
155  inline DownloadDBLogFilePortionResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
156 
157  private:
158  Aws::String m_logFileData;
159  Aws::String m_marker;
160  bool m_additionalDataPending;
161  ResponseMetadata m_responseMetadata;
162  };
163 
164 } // namespace Model
165 } // namespace RDS
166 } // namespace Aws
DownloadDBLogFilePortionResult & WithLogFileData(const char *value)
DownloadDBLogFilePortionResult & WithMarker(const Aws::String &value)
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:37
DownloadDBLogFilePortionResult & WithMarker(const char *value)
DownloadDBLogFilePortionResult & WithResponseMetadata(const ResponseMetadata &value)
DownloadDBLogFilePortionResult & WithLogFileData(const Aws::String &value)
DownloadDBLogFilePortionResult & WithLogFileData(Aws::String &&value)
DownloadDBLogFilePortionResult & WithResponseMetadata(ResponseMetadata &&value)
DownloadDBLogFilePortionResult & WithMarker(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DownloadDBLogFilePortionResult & WithAdditionalDataPending(bool value)
JSON (JavaScript Object Notation).