AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DataflowDetail.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/groundstation/GroundStation_EXPORTS.h>
9#include <aws/groundstation/model/Destination.h>
10#include <aws/groundstation/model/Source.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GroundStation {
22namespace Model {
23
31 public:
32 AWS_GROUNDSTATION_API DataflowDetail() = default;
33 AWS_GROUNDSTATION_API DataflowDetail(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GROUNDSTATION_API DataflowDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline const Source& GetSource() const { return m_source; }
40 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
41 template <typename SourceT = Source>
42 void SetSource(SourceT&& value) {
43 m_sourceHasBeenSet = true;
44 m_source = std::forward<SourceT>(value);
45 }
46 template <typename SourceT = Source>
47 DataflowDetail& WithSource(SourceT&& value) {
48 SetSource(std::forward<SourceT>(value));
49 return *this;
50 }
52
54
55 inline const Destination& GetDestination() const { return m_destination; }
56 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
57 template <typename DestinationT = Destination>
58 void SetDestination(DestinationT&& value) {
59 m_destinationHasBeenSet = true;
60 m_destination = std::forward<DestinationT>(value);
61 }
62 template <typename DestinationT = Destination>
63 DataflowDetail& WithDestination(DestinationT&& value) {
64 SetDestination(std::forward<DestinationT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
74 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
75 template <typename ErrorMessageT = Aws::String>
76 void SetErrorMessage(ErrorMessageT&& value) {
77 m_errorMessageHasBeenSet = true;
78 m_errorMessage = std::forward<ErrorMessageT>(value);
79 }
80 template <typename ErrorMessageT = Aws::String>
81 DataflowDetail& WithErrorMessage(ErrorMessageT&& value) {
82 SetErrorMessage(std::forward<ErrorMessageT>(value));
83 return *this;
84 }
86 private:
87 Source m_source;
88 bool m_sourceHasBeenSet = false;
89
90 Destination m_destination;
91 bool m_destinationHasBeenSet = false;
92
93 Aws::String m_errorMessage;
94 bool m_errorMessageHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace GroundStation
99} // namespace Aws
const Aws::String & GetErrorMessage() const
AWS_GROUNDSTATION_API DataflowDetail(Aws::Utils::Json::JsonView jsonValue)
const Destination & GetDestination() const
AWS_GROUNDSTATION_API DataflowDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
DataflowDetail & WithSource(SourceT &&value)
DataflowDetail & WithErrorMessage(ErrorMessageT &&value)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDestination(DestinationT &&value)
AWS_GROUNDSTATION_API DataflowDetail()=default
DataflowDetail & WithDestination(DestinationT &&value)
void SetErrorMessage(ErrorMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue