AWS SDK for C++  0.14.3
AWS SDK for C++
SetStatusRequest.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 namespace DataPipeline
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
42  inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
43 
47  inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
48 
52  inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
53 
57  inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
58 
62  inline SetStatusRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
63 
67  inline SetStatusRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(value); return *this;}
68 
72  inline SetStatusRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
73 
78  inline const Aws::Vector<Aws::String>& GetObjectIds() const{ return m_objectIds; }
79 
84  inline void SetObjectIds(const Aws::Vector<Aws::String>& value) { m_objectIdsHasBeenSet = true; m_objectIds = value; }
85 
90  inline void SetObjectIds(Aws::Vector<Aws::String>&& value) { m_objectIdsHasBeenSet = true; m_objectIds = value; }
91 
96  inline SetStatusRequest& WithObjectIds(const Aws::Vector<Aws::String>& value) { SetObjectIds(value); return *this;}
97 
102  inline SetStatusRequest& WithObjectIds(Aws::Vector<Aws::String>&& value) { SetObjectIds(value); return *this;}
103 
108  inline SetStatusRequest& AddObjectIds(const Aws::String& value) { m_objectIdsHasBeenSet = true; m_objectIds.push_back(value); return *this; }
109 
114  inline SetStatusRequest& AddObjectIds(Aws::String&& value) { m_objectIdsHasBeenSet = true; m_objectIds.push_back(value); return *this; }
115 
120  inline SetStatusRequest& AddObjectIds(const char* value) { m_objectIdsHasBeenSet = true; m_objectIds.push_back(value); return *this; }
121 
128  inline const Aws::String& GetStatus() const{ return m_status; }
129 
136  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
137 
144  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = value; }
145 
152  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
153 
160  inline SetStatusRequest& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
161 
168  inline SetStatusRequest& WithStatus(Aws::String&& value) { SetStatus(value); return *this;}
169 
176  inline SetStatusRequest& WithStatus(const char* value) { SetStatus(value); return *this;}
177 
178  private:
179  Aws::String m_pipelineId;
180  bool m_pipelineIdHasBeenSet;
181  Aws::Vector<Aws::String> m_objectIds;
182  bool m_objectIdsHasBeenSet;
183  Aws::String m_status;
184  bool m_statusHasBeenSet;
185  };
186 
187 } // namespace Model
188 } // namespace DataPipeline
189 } // namespace Aws
void SetStatus(const Aws::String &value)
SetStatusRequest & WithPipelineId(Aws::String &&value)
SetStatusRequest & WithObjectIds(const Aws::Vector< Aws::String > &value)
SetStatusRequest & WithStatus(Aws::String &&value)
SetStatusRequest & AddObjectIds(const Aws::String &value)
const Aws::Vector< Aws::String > & GetObjectIds() const
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
SetStatusRequest & WithPipelineId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
void SetObjectIds(Aws::Vector< Aws::String > &&value)
#define AWS_DATAPIPELINE_API
SetStatusRequest & AddObjectIds(const char *value)
SetStatusRequest & WithObjectIds(Aws::Vector< Aws::String > &&value)
SetStatusRequest & WithPipelineId(const Aws::String &value)
SetStatusRequest & WithStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SetStatusRequest & WithStatus(const char *value)
void SetPipelineId(const Aws::String &value)
SetStatusRequest & AddObjectIds(Aws::String &&value)
void SetObjectIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetPipelineId() const
JSON (JavaScript Object Notation).
const Aws::String & GetStatus() const