AWS SDK for C++  1.8.129
AWS SDK for C++
ActivatePipelineRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace DataPipeline
18 {
19 namespace Model
20 {
21 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "ActivatePipeline"; }
37 
38  Aws::String SerializePayload() const override;
39 
41 
42 
46  inline const Aws::String& GetPipelineId() const{ return m_pipelineId; }
47 
51  inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
52 
56  inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
57 
61  inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
62 
66  inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
67 
71  inline ActivatePipelineRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
72 
76  inline ActivatePipelineRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
77 
81  inline ActivatePipelineRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
82 
83 
87  inline const Aws::Vector<ParameterValue>& GetParameterValues() const{ return m_parameterValues; }
88 
92  inline bool ParameterValuesHasBeenSet() const { return m_parameterValuesHasBeenSet; }
93 
97  inline void SetParameterValues(const Aws::Vector<ParameterValue>& value) { m_parameterValuesHasBeenSet = true; m_parameterValues = value; }
98 
102  inline void SetParameterValues(Aws::Vector<ParameterValue>&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues = std::move(value); }
103 
107  inline ActivatePipelineRequest& WithParameterValues(const Aws::Vector<ParameterValue>& value) { SetParameterValues(value); return *this;}
108 
112  inline ActivatePipelineRequest& WithParameterValues(Aws::Vector<ParameterValue>&& value) { SetParameterValues(std::move(value)); return *this;}
113 
117  inline ActivatePipelineRequest& AddParameterValues(const ParameterValue& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.push_back(value); return *this; }
118 
122  inline ActivatePipelineRequest& AddParameterValues(ParameterValue&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.push_back(std::move(value)); return *this; }
123 
124 
129  inline const Aws::Utils::DateTime& GetStartTimestamp() const{ return m_startTimestamp; }
130 
135  inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
136 
141  inline void SetStartTimestamp(const Aws::Utils::DateTime& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = value; }
142 
147  inline void SetStartTimestamp(Aws::Utils::DateTime&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::move(value); }
148 
153  inline ActivatePipelineRequest& WithStartTimestamp(const Aws::Utils::DateTime& value) { SetStartTimestamp(value); return *this;}
154 
159  inline ActivatePipelineRequest& WithStartTimestamp(Aws::Utils::DateTime&& value) { SetStartTimestamp(std::move(value)); return *this;}
160 
161  private:
162 
163  Aws::String m_pipelineId;
164  bool m_pipelineIdHasBeenSet;
165 
166  Aws::Vector<ParameterValue> m_parameterValues;
167  bool m_parameterValuesHasBeenSet;
168 
169  Aws::Utils::DateTime m_startTimestamp;
170  bool m_startTimestampHasBeenSet;
171  };
172 
173 } // namespace Model
174 } // namespace DataPipeline
175 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::DataPipeline::Model::ActivatePipelineRequest::GetPipelineId
const Aws::String & GetPipelineId() const
Definition: ActivatePipelineRequest.h:46
Aws::DataPipeline::Model::ActivatePipelineRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DataPipeline::Model::ActivatePipelineRequest::WithStartTimestamp
ActivatePipelineRequest & WithStartTimestamp(Aws::Utils::DateTime &&value)
Definition: ActivatePipelineRequest.h:159
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DataPipeline::Model::ActivatePipelineRequest::WithPipelineId
ActivatePipelineRequest & WithPipelineId(Aws::String &&value)
Definition: ActivatePipelineRequest.h:76
Aws::DataPipeline::Model::ActivatePipelineRequest::WithPipelineId
ActivatePipelineRequest & WithPipelineId(const char *value)
Definition: ActivatePipelineRequest.h:81
DateTime.h
Aws::DataPipeline::Model::ActivatePipelineRequest::SetStartTimestamp
void SetStartTimestamp(Aws::Utils::DateTime &&value)
Definition: ActivatePipelineRequest.h:147
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DataPipeline::Model::ActivatePipelineRequest::SetParameterValues
void SetParameterValues(Aws::Vector< ParameterValue > &&value)
Definition: ActivatePipelineRequest.h:102
Aws::DataPipeline::Model::ActivatePipelineRequest::PipelineIdHasBeenSet
bool PipelineIdHasBeenSet() const
Definition: ActivatePipelineRequest.h:51
AWSVector.h
Aws::DataPipeline::Model::ActivatePipelineRequest::GetParameterValues
const Aws::Vector< ParameterValue > & GetParameterValues() const
Definition: ActivatePipelineRequest.h:87
Aws::DataPipeline::Model::ActivatePipelineRequest::SetPipelineId
void SetPipelineId(const char *value)
Definition: ActivatePipelineRequest.h:66
Aws::DataPipeline::Model::ActivatePipelineRequest
Definition: ActivatePipelineRequest.h:28
DataPipeline_EXPORTS.h
Aws::DataPipeline::Model::ActivatePipelineRequest::WithParameterValues
ActivatePipelineRequest & WithParameterValues(Aws::Vector< ParameterValue > &&value)
Definition: ActivatePipelineRequest.h:112
Aws::DataPipeline::Model::ActivatePipelineRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ActivatePipelineRequest.h:36
Aws::DataPipeline::Model::ActivatePipelineRequest::SetParameterValues
void SetParameterValues(const Aws::Vector< ParameterValue > &value)
Definition: ActivatePipelineRequest.h:97
DataPipelineRequest.h
AWSString.h
Aws::DataPipeline::Model::ActivatePipelineRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DataPipeline::Model::ActivatePipelineRequest::SetPipelineId
void SetPipelineId(const Aws::String &value)
Definition: ActivatePipelineRequest.h:56
Aws::DataPipeline::Model::ActivatePipelineRequest::GetStartTimestamp
const Aws::Utils::DateTime & GetStartTimestamp() const
Definition: ActivatePipelineRequest.h:129
Aws::DataPipeline::Model::ParameterValue
Definition: ParameterValue.h:32
ParameterValue.h
Aws::DataPipeline::Model::ActivatePipelineRequest::ParameterValuesHasBeenSet
bool ParameterValuesHasBeenSet() const
Definition: ActivatePipelineRequest.h:92
Aws
Definition: AccessManagementClient.h:15
Aws::DataPipeline::Model::ActivatePipelineRequest::SetPipelineId
void SetPipelineId(Aws::String &&value)
Definition: ActivatePipelineRequest.h:61
Aws::DataPipeline::Model::ActivatePipelineRequest::AddParameterValues
ActivatePipelineRequest & AddParameterValues(ParameterValue &&value)
Definition: ActivatePipelineRequest.h:122
Aws::DataPipeline::Model::ActivatePipelineRequest::StartTimestampHasBeenSet
bool StartTimestampHasBeenSet() const
Definition: ActivatePipelineRequest.h:135
AWS_DATAPIPELINE_API
#define AWS_DATAPIPELINE_API
Definition: DataPipeline_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataPipeline::Model::ActivatePipelineRequest::ActivatePipelineRequest
ActivatePipelineRequest()
Aws::DataPipeline::DataPipelineRequest
Definition: DataPipelineRequest.h:17
Aws::DataPipeline::Model::ActivatePipelineRequest::SetStartTimestamp
void SetStartTimestamp(const Aws::Utils::DateTime &value)
Definition: ActivatePipelineRequest.h:141
Aws::DataPipeline::Model::ActivatePipelineRequest::WithStartTimestamp
ActivatePipelineRequest & WithStartTimestamp(const Aws::Utils::DateTime &value)
Definition: ActivatePipelineRequest.h:153
Aws::DataPipeline::Model::ActivatePipelineRequest::WithParameterValues
ActivatePipelineRequest & WithParameterValues(const Aws::Vector< ParameterValue > &value)
Definition: ActivatePipelineRequest.h:107
Aws::DataPipeline::Model::ActivatePipelineRequest::AddParameterValues
ActivatePipelineRequest & AddParameterValues(const ParameterValue &value)
Definition: ActivatePipelineRequest.h:117
Aws::DataPipeline::Model::ActivatePipelineRequest::WithPipelineId
ActivatePipelineRequest & WithPipelineId(const Aws::String &value)
Definition: ActivatePipelineRequest.h:71