AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RunPipelineActivityResult.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTAnalytics
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTANALYTICS_API RunPipelineActivityResult();
35
36
38
43 inline const Aws::Vector<Aws::Utils::ByteBuffer>& GetPayloads() const{ return m_payloads; }
44 inline void SetPayloads(const Aws::Vector<Aws::Utils::ByteBuffer>& value) { m_payloads = value; }
45 inline void SetPayloads(Aws::Vector<Aws::Utils::ByteBuffer>&& value) { m_payloads = std::move(value); }
48 inline RunPipelineActivityResult& AddPayloads(const Aws::Utils::ByteBuffer& value) { m_payloads.push_back(value); return *this; }
49 inline RunPipelineActivityResult& AddPayloads(Aws::Utils::ByteBuffer&& value) { m_payloads.push_back(std::move(value)); return *this; }
51
53
56 inline const Aws::String& GetLogResult() const{ return m_logResult; }
57 inline void SetLogResult(const Aws::String& value) { m_logResult = value; }
58 inline void SetLogResult(Aws::String&& value) { m_logResult = std::move(value); }
59 inline void SetLogResult(const char* value) { m_logResult.assign(value); }
60 inline RunPipelineActivityResult& WithLogResult(const Aws::String& value) { SetLogResult(value); return *this;}
61 inline RunPipelineActivityResult& WithLogResult(Aws::String&& value) { SetLogResult(std::move(value)); return *this;}
62 inline RunPipelineActivityResult& WithLogResult(const char* value) { SetLogResult(value); return *this;}
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline RunPipelineActivityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline RunPipelineActivityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline RunPipelineActivityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
78
79 Aws::String m_logResult;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace IoTAnalytics
86} // namespace Aws
RunPipelineActivityResult & AddPayloads(const Aws::Utils::ByteBuffer &value)
void SetPayloads(const Aws::Vector< Aws::Utils::ByteBuffer > &value)
const Aws::Vector< Aws::Utils::ByteBuffer > & GetPayloads() const
RunPipelineActivityResult & WithRequestId(const char *value)
RunPipelineActivityResult & WithLogResult(const char *value)
void SetPayloads(Aws::Vector< Aws::Utils::ByteBuffer > &&value)
RunPipelineActivityResult & AddPayloads(Aws::Utils::ByteBuffer &&value)
RunPipelineActivityResult & WithLogResult(Aws::String &&value)
RunPipelineActivityResult & WithRequestId(const Aws::String &value)
AWS_IOTANALYTICS_API RunPipelineActivityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RunPipelineActivityResult & WithRequestId(Aws::String &&value)
RunPipelineActivityResult & WithPayloads(const Aws::Vector< Aws::Utils::ByteBuffer > &value)
RunPipelineActivityResult & WithLogResult(const Aws::String &value)
AWS_IOTANALYTICS_API RunPipelineActivityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RunPipelineActivityResult & WithPayloads(Aws::Vector< Aws::Utils::ByteBuffer > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue