AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeDeliveryStreamRequest.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
19 
20 namespace Aws
21 {
22 namespace Firehose
23 {
24 namespace Model
25 {
26 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
36  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37 
41  inline const Aws::String& GetDeliveryStreamName() const{ return m_deliveryStreamName; }
42 
46  inline void SetDeliveryStreamName(const Aws::String& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
47 
51  inline void SetDeliveryStreamName(Aws::String&& value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName = value; }
52 
56  inline void SetDeliveryStreamName(const char* value) { m_deliveryStreamNameHasBeenSet = true; m_deliveryStreamName.assign(value); }
57 
61  inline DescribeDeliveryStreamRequest& WithDeliveryStreamName(const Aws::String& value) { SetDeliveryStreamName(value); return *this;}
62 
66  inline DescribeDeliveryStreamRequest& WithDeliveryStreamName(Aws::String&& value) { SetDeliveryStreamName(value); return *this;}
67 
71  inline DescribeDeliveryStreamRequest& WithDeliveryStreamName(const char* value) { SetDeliveryStreamName(value); return *this;}
72 
77  inline int GetLimit() const{ return m_limit; }
78 
83  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
84 
89  inline DescribeDeliveryStreamRequest& WithLimit(int value) { SetLimit(value); return *this;}
90 
95  inline const Aws::String& GetExclusiveStartDestinationId() const{ return m_exclusiveStartDestinationId; }
96 
101  inline void SetExclusiveStartDestinationId(const Aws::String& value) { m_exclusiveStartDestinationIdHasBeenSet = true; m_exclusiveStartDestinationId = value; }
102 
107  inline void SetExclusiveStartDestinationId(Aws::String&& value) { m_exclusiveStartDestinationIdHasBeenSet = true; m_exclusiveStartDestinationId = value; }
108 
113  inline void SetExclusiveStartDestinationId(const char* value) { m_exclusiveStartDestinationIdHasBeenSet = true; m_exclusiveStartDestinationId.assign(value); }
114 
119  inline DescribeDeliveryStreamRequest& WithExclusiveStartDestinationId(const Aws::String& value) { SetExclusiveStartDestinationId(value); return *this;}
120 
125  inline DescribeDeliveryStreamRequest& WithExclusiveStartDestinationId(Aws::String&& value) { SetExclusiveStartDestinationId(value); return *this;}
126 
131  inline DescribeDeliveryStreamRequest& WithExclusiveStartDestinationId(const char* value) { SetExclusiveStartDestinationId(value); return *this;}
132 
133  private:
134  Aws::String m_deliveryStreamName;
135  bool m_deliveryStreamNameHasBeenSet;
136  int m_limit;
137  bool m_limitHasBeenSet;
138  Aws::String m_exclusiveStartDestinationId;
139  bool m_exclusiveStartDestinationIdHasBeenSet;
140  };
141 
142 } // namespace Model
143 } // namespace Firehose
144 } // namespace Aws
DescribeDeliveryStreamRequest & WithDeliveryStreamName(const char *value)
#define AWS_FIREHOSE_API
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
DescribeDeliveryStreamRequest & WithExclusiveStartDestinationId(Aws::String &&value)
DescribeDeliveryStreamRequest & WithExclusiveStartDestinationId(const char *value)
DescribeDeliveryStreamRequest & WithDeliveryStreamName(Aws::String &&value)
DescribeDeliveryStreamRequest & WithExclusiveStartDestinationId(const Aws::String &value)
DescribeDeliveryStreamRequest & WithDeliveryStreamName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeDeliveryStreamRequest & WithLimit(int value)
JSON (JavaScript Object Notation).