AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
InvocationOutput.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotsitewise/model/Citation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTSiteWise
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTSITEWISE_API InvocationOutput() = default;
38 AWS_IOTSITEWISE_API InvocationOutput(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTSITEWISE_API InvocationOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetMessage() const { return m_message; }
48 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
49 template<typename MessageT = Aws::String>
50 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
51 template<typename MessageT = Aws::String>
52 InvocationOutput& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
54
56
60 inline const Aws::Vector<Citation>& GetCitations() const { return m_citations; }
61 inline bool CitationsHasBeenSet() const { return m_citationsHasBeenSet; }
62 template<typename CitationsT = Aws::Vector<Citation>>
63 void SetCitations(CitationsT&& value) { m_citationsHasBeenSet = true; m_citations = std::forward<CitationsT>(value); }
64 template<typename CitationsT = Aws::Vector<Citation>>
65 InvocationOutput& WithCitations(CitationsT&& value) { SetCitations(std::forward<CitationsT>(value)); return *this;}
66 template<typename CitationsT = Citation>
67 InvocationOutput& AddCitations(CitationsT&& value) { m_citationsHasBeenSet = true; m_citations.emplace_back(std::forward<CitationsT>(value)); return *this; }
69 private:
70
71 Aws::String m_message;
72 bool m_messageHasBeenSet = false;
73
74 Aws::Vector<Citation> m_citations;
75 bool m_citationsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace IoTSiteWise
80} // namespace Aws
AWS_IOTSITEWISE_API InvocationOutput()=default
InvocationOutput & WithCitations(CitationsT &&value)
AWS_IOTSITEWISE_API InvocationOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Citation > & GetCitations() const
InvocationOutput & AddCitations(CitationsT &&value)
AWS_IOTSITEWISE_API InvocationOutput(Aws::Utils::Json::JsonView jsonValue)
InvocationOutput & WithMessage(MessageT &&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