AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPipelineId(const Aws::String& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = value; }
50 inline void SetPipelineId(Aws::String&& value) { m_pipelineIdHasBeenSet = true; m_pipelineId = std::move(value); }
51 inline void SetPipelineId(const char* value) { m_pipelineIdHasBeenSet = true; m_pipelineId.assign(value); }
52 inline ActivatePipelineRequest& WithPipelineId(const Aws::String& value) { SetPipelineId(value); return *this;}
53 inline ActivatePipelineRequest& WithPipelineId(Aws::String&& value) { SetPipelineId(std::move(value)); return *this;}
54 inline ActivatePipelineRequest& WithPipelineId(const char* value) { SetPipelineId(value); return *this;}
56
58
61 inline const Aws::Vector<ParameterValue>& GetParameterValues() const{ return m_parameterValues; }
62 inline bool ParameterValuesHasBeenSet() const { return m_parameterValuesHasBeenSet; }
63 inline void SetParameterValues(const Aws::Vector<ParameterValue>& value) { m_parameterValuesHasBeenSet = true; m_parameterValues = value; }
64 inline void SetParameterValues(Aws::Vector<ParameterValue>&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues = std::move(value); }
67 inline ActivatePipelineRequest& AddParameterValues(const ParameterValue& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.push_back(value); return *this; }
68 inline ActivatePipelineRequest& AddParameterValues(ParameterValue&& value) { m_parameterValuesHasBeenSet = true; m_parameterValues.push_back(std::move(value)); return *this; }
70
72
76 inline const Aws::Utils::DateTime& GetStartTimestamp() const{ return m_startTimestamp; }
77 inline bool StartTimestampHasBeenSet() const { return m_startTimestampHasBeenSet; }
78 inline void SetStartTimestamp(const Aws::Utils::DateTime& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = value; }
79 inline void SetStartTimestamp(Aws::Utils::DateTime&& value) { m_startTimestampHasBeenSet = true; m_startTimestamp = std::move(value); }
81 inline ActivatePipelineRequest& WithStartTimestamp(Aws::Utils::DateTime&& value) { SetStartTimestamp(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_pipelineId;
86 bool m_pipelineIdHasBeenSet = false;
87
88 Aws::Vector<ParameterValue> m_parameterValues;
89 bool m_parameterValuesHasBeenSet = false;
90
91 Aws::Utils::DateTime m_startTimestamp;
92 bool m_startTimestampHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace DataPipeline
97} // namespace Aws
void SetStartTimestamp(const Aws::Utils::DateTime &value)
virtual const char * GetServiceRequestName() const override
void SetParameterValues(Aws::Vector< ParameterValue > &&value)
void SetParameterValues(const Aws::Vector< ParameterValue > &value)
AWS_DATAPIPELINE_API Aws::String SerializePayload() const override
ActivatePipelineRequest & WithParameterValues(const Aws::Vector< ParameterValue > &value)
ActivatePipelineRequest & WithParameterValues(Aws::Vector< ParameterValue > &&value)
ActivatePipelineRequest & WithPipelineId(const char *value)
const Aws::Utils::DateTime & GetStartTimestamp() const
const Aws::Vector< ParameterValue > & GetParameterValues() const
ActivatePipelineRequest & WithPipelineId(Aws::String &&value)
ActivatePipelineRequest & WithStartTimestamp(Aws::Utils::DateTime &&value)
ActivatePipelineRequest & WithPipelineId(const Aws::String &value)
ActivatePipelineRequest & WithStartTimestamp(const Aws::Utils::DateTime &value)
AWS_DATAPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ActivatePipelineRequest & AddParameterValues(ParameterValue &&value)
ActivatePipelineRequest & AddParameterValues(const ParameterValue &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