AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; }
48 inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
49 inline DataflowDetail& WithDestination(const Destination& value) { SetDestination(value); return *this;}
50 inline DataflowDetail& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
58 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
59 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
60 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
61 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
62 inline DataflowDetail& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
63 inline DataflowDetail& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
64 inline DataflowDetail& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
66
68
69 inline const Source& GetSource() const{ return m_source; }
70 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
71 inline void SetSource(const Source& value) { m_sourceHasBeenSet = true; m_source = value; }
72 inline void SetSource(Source&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
73 inline DataflowDetail& WithSource(const Source& value) { SetSource(value); return *this;}
74 inline DataflowDetail& WithSource(Source&& value) { SetSource(std::move(value)); return *this;}
76 private:
77
78 Destination m_destination;
79 bool m_destinationHasBeenSet = false;
80
81 Aws::String m_errorMessage;
82 bool m_errorMessageHasBeenSet = false;
83
84 Source m_source;
85 bool m_sourceHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace GroundStation
90} // namespace Aws
void SetErrorMessage(Aws::String &&value)
const Aws::String & GetErrorMessage() const
void SetDestination(const Destination &value)
AWS_GROUNDSTATION_API DataflowDetail(Aws::Utils::Json::JsonView jsonValue)
DataflowDetail & WithSource(const Source &value)
const Destination & GetDestination() const
AWS_GROUNDSTATION_API DataflowDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDestination(Destination &&value)
DataflowDetail & WithDestination(const Destination &value)
DataflowDetail & WithErrorMessage(const Aws::String &value)
AWS_GROUNDSTATION_API DataflowDetail()
DataflowDetail & WithDestination(Destination &&value)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
DataflowDetail & WithErrorMessage(const char *value)
void SetErrorMessage(const Aws::String &value)
DataflowDetail & WithErrorMessage(Aws::String &&value)
DataflowDetail & WithSource(Source &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue