AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ActivatePipelineRequest.h
1
6#pragma once
7#include <aws/datapipeline/DataPipeline_EXPORTS.h>
8#include <aws/datapipeline/DataPipelineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/datapipeline/model/ParameterValue.h>
13#include <utility>
14
15namespace Aws
16{
17namespace DataPipeline
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_DATAPIPELINE_API ActivatePipelineRequest() = default;
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_DATAPIPELINE_API Aws::String SerializePayload() const override;
39
40 AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
41
42
44
47 inline const Aws::String& GetPipelineId() const { return m_pipelineId; }
48 inline bool PipelineIdHasBeenSet() const { return m_pipelineIdHasBeenSet; }
49 template<typename PipelineIdT = Aws::String>
50 void SetPipelineId(PipelineIdT&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::forward<PipelineIdT>(value); }
51 template<typename PipelineIdT = Aws::String>
52 ActivatePipelineRequest& WithPipelineId(PipelineIdT&& value) { SetPipelineId(std::forward<PipelineIdT>(value)); return *this;}
54
56
59 inline const Aws::Vector<ParameterValue>& GetParameterValues() const { return m_parameterValues; }
60 inline bool ParameterValuesHasBeenSet() const { return m_parameterValuesHasBeenSet; }
61 template<typename ParameterValuesT = Aws::Vector<ParameterValue>>
62 void SetParameterValues(ParameterValuesT&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues = std::forward<ParameterValuesT>(value); }
63 template<typename ParameterValuesT = Aws::Vector<ParameterValue>>
64 ActivatePipelineRequest& WithParameterValues(ParameterValuesT&& value) { SetParameterValues(std::forward<ParameterValuesT>(value)); return *this;}
65 template<typename ParameterValuesT = ParameterValue>
66 ActivatePipelineRequest& AddParameterValues(ParameterValuesT&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.emplace_back(std::forward<ParameterValuesT>(value)); return *this; }
68
70
74 inline const Aws::Utils::DateTime& GetStartTimestamp() const { return m_startTimestamp; }
75 inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
76 template<typename StartTimestampT = Aws::Utils::DateTime>
77 void SetStartTimestamp(StartTimestampT&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::forward<StartTimestampT>(value); }
78 template<typename StartTimestampT = Aws::Utils::DateTime>
79 ActivatePipelineRequest& WithStartTimestamp(StartTimestampT&& value) { SetStartTimestamp(std::forward<StartTimestampT>(value)); return *this;}
81 private:
82
83 Aws::String m_pipelineId;
84 bool m_pipelineIdHasBeenSet = false;
85
86 Aws::Vector<ParameterValue> m_parameterValues;
87 bool m_parameterValuesHasBeenSet = false;
88
89 Aws::Utils::DateTime m_startTimestamp{};
90 bool m_startTimestampHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace DataPipeline
95} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
ActivatePipelineRequest & WithParameterValues(ParameterValuesT &&value)
ActivatePipelineRequest & AddParameterValues(ParameterValuesT &&value)
const Aws::Utils::DateTime & GetStartTimestamp() const
ActivatePipelineRequest & WithPipelineId(PipelineIdT &&value)
AWS_DATAPIPELINE_API ActivatePipelineRequest()=default
const Aws::Vector< ParameterValue > & GetParameterValues() const
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ActivatePipelineRequest & WithStartTimestamp(StartTimestampT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector