AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DataflowDetail.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/model/Destination.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/groundstation/model/Source.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 GroundStation
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_GROUNDSTATION_API DataflowDetail() = default;
38 AWS_GROUNDSTATION_API DataflowDetail(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GROUNDSTATION_API DataflowDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const Destination& GetDestination() const { return m_destination; }
46 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
47 template<typename DestinationT = Destination>
48 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
49 template<typename DestinationT = Destination>
50 DataflowDetail& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
52
54
57 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
58 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
59 template<typename ErrorMessageT = Aws::String>
60 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
61 template<typename ErrorMessageT = Aws::String>
62 DataflowDetail& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
64
66
67 inline const Source& GetSource() const { return m_source; }
68 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
69 template<typename SourceT = Source>
70 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
71 template<typename SourceT = Source>
72 DataflowDetail& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
74 private:
75
76 Destination m_destination;
77 bool m_destinationHasBeenSet = false;
78
79 Aws::String m_errorMessage;
80 bool m_errorMessageHasBeenSet = false;
81
82 Source m_source;
83 bool m_sourceHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace GroundStation
88} // 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