AWS SDK for C++  1.9.71
AWS SDK for C++
DataflowDetail.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace GroundStation
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
43 
44  inline const Destination& GetDestination() const{ return m_destination; }
45 
46 
47  inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
48 
49 
50  inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; }
51 
52 
53  inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
54 
55 
56  inline DataflowDetail& WithDestination(const Destination& value) { SetDestination(value); return *this;}
57 
58 
59  inline DataflowDetail& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;}
60 
61 
65  inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
66 
70  inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
71 
75  inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
76 
80  inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
81 
85  inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
86 
90  inline DataflowDetail& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
91 
95  inline DataflowDetail& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
96 
100  inline DataflowDetail& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
101 
102 
103 
104  inline const Source& GetSource() const{ return m_source; }
105 
106 
107  inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
108 
109 
110  inline void SetSource(const Source& value) { m_sourceHasBeenSet = true; m_source = value; }
111 
112 
113  inline void SetSource(Source&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
114 
115 
116  inline DataflowDetail& WithSource(const Source& value) { SetSource(value); return *this;}
117 
118 
119  inline DataflowDetail& WithSource(Source&& value) { SetSource(std::move(value)); return *this;}
120 
121  private:
122 
123  Destination m_destination;
124  bool m_destinationHasBeenSet;
125 
126  Aws::String m_errorMessage;
127  bool m_errorMessageHasBeenSet;
128 
129  Source m_source;
130  bool m_sourceHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace GroundStation
135 } // namespace Aws
Aws::GroundStation::Model::DataflowDetail::WithSource
DataflowDetail & WithSource(const Source &value)
Definition: DataflowDetail.h:116
Aws::GroundStation::Model::DataflowDetail::DataflowDetail
DataflowDetail()
Destination.h
Aws::GroundStation::Model::DataflowDetail::SetDestination
void SetDestination(Destination &&value)
Definition: DataflowDetail.h:53
Aws::GroundStation::Model::Source
Definition: Source.h:34
Aws::GroundStation::Model::DataflowDetail::GetDestination
const Destination & GetDestination() const
Definition: DataflowDetail.h:44
Aws::GroundStation::Model::DataflowDetail
Definition: DataflowDetail.h:35
Aws::GroundStation::Model::DataflowDetail::SetErrorMessage
void SetErrorMessage(const char *value)
Definition: DataflowDetail.h:85
Aws::GroundStation::Model::DataflowDetail::WithDestination
DataflowDetail & WithDestination(const Destination &value)
Definition: DataflowDetail.h:56
Aws::GroundStation::Model::DataflowDetail::DataflowDetail
DataflowDetail(Aws::Utils::Json::JsonView jsonValue)
Aws::GroundStation::Model::DataflowDetail::SourceHasBeenSet
bool SourceHasBeenSet() const
Definition: DataflowDetail.h:107
Aws::GroundStation::Model::DataflowDetail::WithErrorMessage
DataflowDetail & WithErrorMessage(const Aws::String &value)
Definition: DataflowDetail.h:90
Aws::GroundStation::Model::DataflowDetail::GetSource
const Source & GetSource() const
Definition: DataflowDetail.h:104
Aws::GroundStation::Model::DataflowDetail::WithSource
DataflowDetail & WithSource(Source &&value)
Definition: DataflowDetail.h:119
Aws::GroundStation::Model::DataflowDetail::ErrorMessageHasBeenSet
bool ErrorMessageHasBeenSet() const
Definition: DataflowDetail.h:70
Aws::GroundStation::Model::DataflowDetail::WithErrorMessage
DataflowDetail & WithErrorMessage(const char *value)
Definition: DataflowDetail.h:100
GroundStation_EXPORTS.h
Aws::GroundStation::Model::DataflowDetail::DestinationHasBeenSet
bool DestinationHasBeenSet() const
Definition: DataflowDetail.h:47
Aws::GroundStation::Model::DataflowDetail::SetErrorMessage
void SetErrorMessage(Aws::String &&value)
Definition: DataflowDetail.h:80
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::GroundStation::Model::DataflowDetail::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Source.h
Aws::GroundStation::Model::Destination
Definition: Destination.h:34
Aws::GroundStation::Model::DataflowDetail::WithDestination
DataflowDetail & WithDestination(Destination &&value)
Definition: DataflowDetail.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::DataflowDetail::SetErrorMessage
void SetErrorMessage(const Aws::String &value)
Definition: DataflowDetail.h:75
Aws::GroundStation::Model::DataflowDetail::GetErrorMessage
const Aws::String & GetErrorMessage() const
Definition: DataflowDetail.h:65
Aws::GroundStation::Model::DataflowDetail::SetSource
void SetSource(Source &&value)
Definition: DataflowDetail.h:113
Aws::GroundStation::Model::DataflowDetail::WithErrorMessage
DataflowDetail & WithErrorMessage(Aws::String &&value)
Definition: DataflowDetail.h:95
Aws::GroundStation::Model::DataflowDetail::operator=
DataflowDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::DataflowDetail::SetSource
void SetSource(const Source &value)
Definition: DataflowDetail.h:110
Aws::GroundStation::Model::DataflowDetail::SetDestination
void SetDestination(const Destination &value)
Definition: DataflowDetail.h:50