AWS SDK for C++  0.14.3
AWS SDK for C++
DeliveryStreamDescription.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
22 
23 namespace Aws
24 {
25 namespace Utils
26 {
27 namespace Json
28 {
29  class JsonValue;
30 } // namespace Json
31 } // namespace Utils
32 namespace Firehose
33 {
34 namespace Model
35 {
36 
41  {
42  public:
45  DeliveryStreamDescription& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
46  Aws::Utils::Json::JsonValue Jsonize() const;
47 
51  inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; }
52 
56  inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
57 
61  inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
62 
66  inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
67 
71  inline DeliveryStreamDescription& WithDeliveryStreamName(const Aws::String& value) { SetDeliveryStreamName(value); return *this;}
72 
76  inline DeliveryStreamDescription& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(value); return *this;}
77 
81  inline DeliveryStreamDescription& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;}
82 
86  inline const Aws::String& GetDeliveryStreamARN() const{ return m_deliveryStreamARN; }
87 
91  inline void SetDeliveryStreamARN(const Aws::String& value) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN = value; }
92 
96  inline void SetDeliveryStreamARN(Aws::String&& value) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN = value; }
97 
101  inline void SetDeliveryStreamARN(const char* value) { m_deliveryStreamARNHasBeenSet = true; m_deliveryStreamARN.assign(value); }
102 
106  inline DeliveryStreamDescription& WithDeliveryStreamARN(const Aws::String& value) { SetDeliveryStreamARN(value); return *this;}
107 
111  inline DeliveryStreamDescription& WithDeliveryStreamARN(Aws::String&& value) { SetDeliveryStreamARN(value); return *this;}
112 
116  inline DeliveryStreamDescription& WithDeliveryStreamARN(const char* value) { SetDeliveryStreamARN(value); return *this;}
117 
121  inline const DeliveryStreamStatus& GetDeliveryStreamStatus() const{ return m_deliveryStreamStatus; }
122 
126  inline void SetDeliveryStreamStatus(const DeliveryStreamStatus& value) { m_deliveryStreamStatusHasBeenSet = true; m_deliveryStreamStatus = value; }
127 
131  inline void SetDeliveryStreamStatus(DeliveryStreamStatus&& value) { m_deliveryStreamStatusHasBeenSet = true; m_deliveryStreamStatus = value; }
132 
136  inline DeliveryStreamDescription& WithDeliveryStreamStatus(const DeliveryStreamStatus& value) { SetDeliveryStreamStatus(value); return *this;}
137 
141  inline DeliveryStreamDescription& WithDeliveryStreamStatus(DeliveryStreamStatus&& value) { SetDeliveryStreamStatus(value); return *this;}
142 
150  inline const Aws::String& GetVersionId() const{ return m_versionId; }
151 
159  inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
160 
168  inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
169 
177  inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
178 
186  inline DeliveryStreamDescription& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
187 
195  inline DeliveryStreamDescription& WithVersionId(Aws::String&& value) { SetVersionId(value); return *this;}
196 
204  inline DeliveryStreamDescription& WithVersionId(const char* value) { SetVersionId(value); return *this;}
205 
209  inline const Aws::Utils::DateTime& GetCreateTimestamp() const{ return m_createTimestamp; }
210 
214  inline void SetCreateTimestamp(const Aws::Utils::DateTime& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = value; }
215 
219  inline void SetCreateTimestamp(Aws::Utils::DateTime&& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = value; }
220 
224  inline DeliveryStreamDescription& WithCreateTimestamp(const Aws::Utils::DateTime& value) { SetCreateTimestamp(value); return *this;}
225 
229  inline DeliveryStreamDescription& WithCreateTimestamp(Aws::Utils::DateTime&& value) { SetCreateTimestamp(value); return *this;}
230 
234  inline const Aws::Utils::DateTime& GetLastUpdateTimestamp() const{ return m_lastUpdateTimestamp; }
235 
239  inline void SetLastUpdateTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = value; }
240 
244  inline void SetLastUpdateTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = value; }
245 
249  inline DeliveryStreamDescription& WithLastUpdateTimestamp(const Aws::Utils::DateTime& value) { SetLastUpdateTimestamp(value); return *this;}
250 
254  inline DeliveryStreamDescription& WithLastUpdateTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdateTimestamp(value); return *this;}
255 
259  inline const Aws::Vector<DestinationDescription>& GetDestinations() const{ return m_destinations; }
260 
264  inline void SetDestinations(const Aws::Vector<DestinationDescription>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
265 
269  inline void SetDestinations(Aws::Vector<DestinationDescription>&& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
270 
274  inline DeliveryStreamDescription& WithDestinations(const Aws::Vector<DestinationDescription>& value) { SetDestinations(value); return *this;}
275 
279  inline DeliveryStreamDescription& WithDestinations(Aws::Vector<DestinationDescription>&& value) { SetDestinations(value); return *this;}
280 
284  inline DeliveryStreamDescription& AddDestinations(const DestinationDescription& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
285 
289  inline DeliveryStreamDescription& AddDestinations(DestinationDescription&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
290 
294  inline bool GetHasMoreDestinations() const{ return m_hasMoreDestinations; }
295 
299  inline void SetHasMoreDestinations(bool value) { m_hasMoreDestinationsHasBeenSet = true; m_hasMoreDestinations = value; }
300 
304  inline DeliveryStreamDescription& WithHasMoreDestinations(bool value) { SetHasMoreDestinations(value); return *this;}
305 
306  private:
307  Aws::String m_deliveryStreamName;
308  bool m_deliveryStreamNameHasBeenSet;
309  Aws::String m_deliveryStreamARN;
310  bool m_deliveryStreamARNHasBeenSet;
311  DeliveryStreamStatus m_deliveryStreamStatus;
312  bool m_deliveryStreamStatusHasBeenSet;
313  Aws::String m_versionId;
314  bool m_versionIdHasBeenSet;
315  Aws::Utils::DateTime m_createTimestamp;
316  bool m_createTimestampHasBeenSet;
317  Aws::Utils::DateTime m_lastUpdateTimestamp;
318  bool m_lastUpdateTimestampHasBeenSet;
320  bool m_destinationsHasBeenSet;
321  bool m_hasMoreDestinations;
322  bool m_hasMoreDestinationsHasBeenSet;
323  };
324 
325 } // namespace Model
326 } // namespace Firehose
327 } // namespace Aws
DeliveryStreamDescription & WithHasMoreDestinations(bool value)
DeliveryStreamDescription & WithDeliveryStreamStatus(DeliveryStreamStatus &&value)
DeliveryStreamDescription & WithDeliveryStreamName(const char *value)
DeliveryStreamDescription & WithDeliveryStreamARN(const char *value)
const Aws::Utils::DateTime & GetLastUpdateTimestamp() const
void SetDeliveryStreamStatus(const DeliveryStreamStatus &value)
#define AWS_FIREHOSE_API
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DeliveryStreamDescription & WithDestinations(Aws::Vector< DestinationDescription > &&value)
DeliveryStreamDescription & WithVersionId(const char *value)
DeliveryStreamDescription & WithDeliveryStreamName(const Aws::String &value)
void SetLastUpdateTimestamp(Aws::Utils::DateTime &&value)
DeliveryStreamDescription & WithDeliveryStreamName(Aws::String &&value)
DeliveryStreamDescription & WithDeliveryStreamARN(Aws::String &&value)
void SetDestinations(Aws::Vector< DestinationDescription > &&value)
DeliveryStreamDescription & WithDeliveryStreamARN(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateTimestamp() const
const DeliveryStreamStatus & GetDeliveryStreamStatus() const
void SetLastUpdateTimestamp(const Aws::Utils::DateTime &value)
DeliveryStreamDescription & AddDestinations(const DestinationDescription &value)
DeliveryStreamDescription & WithCreateTimestamp(Aws::Utils::DateTime &&value)
DeliveryStreamDescription & WithVersionId(const Aws::String &value)
DeliveryStreamDescription & WithLastUpdateTimestamp(Aws::Utils::DateTime &&value)
void SetDestinations(const Aws::Vector< DestinationDescription > &value)
DeliveryStreamDescription & WithLastUpdateTimestamp(const Aws::Utils::DateTime &value)
DeliveryStreamDescription & WithDestinations(const Aws::Vector< DestinationDescription > &value)
DeliveryStreamDescription & WithCreateTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetDeliveryStreamStatus(DeliveryStreamStatus &&value)
DeliveryStreamDescription & WithDeliveryStreamStatus(const DeliveryStreamStatus &value)
void SetCreateTimestamp(const Aws::Utils::DateTime &value)
const Aws::Vector< DestinationDescription > & GetDestinations() const
DeliveryStreamDescription & WithVersionId(Aws::String &&value)
JSON (JavaScript Object Notation).
DeliveryStreamDescription & AddDestinations(DestinationDescription &&value)