/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTAnalytics { namespace Model { class RunPipelineActivityResult { public: AWS_IOTANALYTICS_API RunPipelineActivityResult(); AWS_IOTANALYTICS_API RunPipelineActivityResult(const Aws::AmazonWebServiceResult& result); AWS_IOTANALYTICS_API RunPipelineActivityResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The enriched or transformed sample message payloads as base64-encoded * strings. (The results of running the pipeline activity on each input sample * message payload, encoded in base64.)

*/ inline const Aws::Vector& GetPayloads() const{ return m_payloads; } /** *

The enriched or transformed sample message payloads as base64-encoded * strings. (The results of running the pipeline activity on each input sample * message payload, encoded in base64.)

*/ inline void SetPayloads(const Aws::Vector& value) { m_payloads = value; } /** *

The enriched or transformed sample message payloads as base64-encoded * strings. (The results of running the pipeline activity on each input sample * message payload, encoded in base64.)

*/ inline void SetPayloads(Aws::Vector&& value) { m_payloads = std::move(value); } /** *

The enriched or transformed sample message payloads as base64-encoded * strings. (The results of running the pipeline activity on each input sample * message payload, encoded in base64.)

*/ inline RunPipelineActivityResult& WithPayloads(const Aws::Vector& value) { SetPayloads(value); return *this;} /** *

The enriched or transformed sample message payloads as base64-encoded * strings. (The results of running the pipeline activity on each input sample * message payload, encoded in base64.)

*/ inline RunPipelineActivityResult& WithPayloads(Aws::Vector&& value) { SetPayloads(std::move(value)); return *this;} /** *

The enriched or transformed sample message payloads as base64-encoded * strings. (The results of running the pipeline activity on each input sample * message payload, encoded in base64.)

*/ inline RunPipelineActivityResult& AddPayloads(const Aws::Utils::ByteBuffer& value) { m_payloads.push_back(value); return *this; } /** *

The enriched or transformed sample message payloads as base64-encoded * strings. (The results of running the pipeline activity on each input sample * message payload, encoded in base64.)

*/ inline RunPipelineActivityResult& AddPayloads(Aws::Utils::ByteBuffer&& value) { m_payloads.push_back(std::move(value)); return *this; } /** *

In case the pipeline activity fails, the log message that is generated.

*/ inline const Aws::String& GetLogResult() const{ return m_logResult; } /** *

In case the pipeline activity fails, the log message that is generated.

*/ inline void SetLogResult(const Aws::String& value) { m_logResult = value; } /** *

In case the pipeline activity fails, the log message that is generated.

*/ inline void SetLogResult(Aws::String&& value) { m_logResult = std::move(value); } /** *

In case the pipeline activity fails, the log message that is generated.

*/ inline void SetLogResult(const char* value) { m_logResult.assign(value); } /** *

In case the pipeline activity fails, the log message that is generated.

*/ inline RunPipelineActivityResult& WithLogResult(const Aws::String& value) { SetLogResult(value); return *this;} /** *

In case the pipeline activity fails, the log message that is generated.

*/ inline RunPipelineActivityResult& WithLogResult(Aws::String&& value) { SetLogResult(std::move(value)); return *this;} /** *

In case the pipeline activity fails, the log message that is generated.

*/ inline RunPipelineActivityResult& WithLogResult(const char* value) { SetLogResult(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline RunPipelineActivityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline RunPipelineActivityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline RunPipelineActivityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_payloads; Aws::String m_logResult; Aws::String m_requestId; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws