AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RunPipelineActivityRequest.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/IoTAnalyticsRequest.h>
9#include <aws/iotanalytics/model/PipelineActivity.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/Array.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoTAnalytics
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTANALYTICS_API RunPipelineActivityRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "RunPipelineActivity"; }
33
34 AWS_IOTANALYTICS_API Aws::String SerializePayload() const override;
35
36
38
45 inline const PipelineActivity& GetPipelineActivity() const{ return m_pipelineActivity; }
46 inline bool PipelineActivityHasBeenSet() const { return m_pipelineActivityHasBeenSet; }
47 inline void SetPipelineActivity(const PipelineActivity& value) { m_pipelineActivityHasBeenSet = true; m_pipelineActivity = value; }
48 inline void SetPipelineActivity(PipelineActivity&& value) { m_pipelineActivityHasBeenSet = true; m_pipelineActivity = std::move(value); }
50 inline RunPipelineActivityRequest& WithPipelineActivity(PipelineActivity&& value) { SetPipelineActivity(std::move(value)); return *this;}
52
54
57 inline const Aws::Vector<Aws::Utils::ByteBuffer>& GetPayloads() const{ return m_payloads; }
58 inline bool PayloadsHasBeenSet() const { return m_payloadsHasBeenSet; }
59 inline void SetPayloads(const Aws::Vector<Aws::Utils::ByteBuffer>& value) { m_payloadsHasBeenSet = true; m_payloads = value; }
60 inline void SetPayloads(Aws::Vector<Aws::Utils::ByteBuffer>&& value) { m_payloadsHasBeenSet = true; m_payloads = std::move(value); }
63 inline RunPipelineActivityRequest& AddPayloads(const Aws::Utils::ByteBuffer& value) { m_payloadsHasBeenSet = true; m_payloads.push_back(value); return *this; }
64 inline RunPipelineActivityRequest& AddPayloads(Aws::Utils::ByteBuffer&& value) { m_payloadsHasBeenSet = true; m_payloads.push_back(std::move(value)); return *this; }
66 private:
67
68 PipelineActivity m_pipelineActivity;
69 bool m_pipelineActivityHasBeenSet = false;
70
72 bool m_payloadsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace IoTAnalytics
77} // namespace Aws
const Aws::Vector< Aws::Utils::ByteBuffer > & GetPayloads() const
RunPipelineActivityRequest & WithPipelineActivity(PipelineActivity &&value)
void SetPayloads(Aws::Vector< Aws::Utils::ByteBuffer > &&value)
RunPipelineActivityRequest & WithPayloads(Aws::Vector< Aws::Utils::ByteBuffer > &&value)
void SetPayloads(const Aws::Vector< Aws::Utils::ByteBuffer > &value)
AWS_IOTANALYTICS_API Aws::String SerializePayload() const override
RunPipelineActivityRequest & AddPayloads(Aws::Utils::ByteBuffer &&value)
RunPipelineActivityRequest & WithPayloads(const Aws::Vector< Aws::Utils::ByteBuffer > &value)
RunPipelineActivityRequest & AddPayloads(const Aws::Utils::ByteBuffer &value)
RunPipelineActivityRequest & WithPipelineActivity(const PipelineActivity &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector