AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
Destination.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/ConfigCapabilityType.h>
10#include <aws/groundstation/model/ConfigDetails.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
30 public:
31 AWS_GROUNDSTATION_API Destination() = default;
32 AWS_GROUNDSTATION_API Destination(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GROUNDSTATION_API Destination& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline ConfigCapabilityType GetConfigType() const { return m_configType; }
41 inline bool ConfigTypeHasBeenSet() const { return m_configTypeHasBeenSet; }
43 m_configTypeHasBeenSet = true;
44 m_configType = value;
45 }
47 SetConfigType(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetConfigId() const { return m_configId; }
57 inline bool ConfigIdHasBeenSet() const { return m_configIdHasBeenSet; }
58 template <typename ConfigIdT = Aws::String>
59 void SetConfigId(ConfigIdT&& value) {
60 m_configIdHasBeenSet = true;
61 m_configId = std::forward<ConfigIdT>(value);
62 }
63 template <typename ConfigIdT = Aws::String>
64 Destination& WithConfigId(ConfigIdT&& value) {
65 SetConfigId(std::forward<ConfigIdT>(value));
66 return *this;
67 }
69
71
75 inline const ConfigDetails& GetConfigDetails() const { return m_configDetails; }
76 inline bool ConfigDetailsHasBeenSet() const { return m_configDetailsHasBeenSet; }
77 template <typename ConfigDetailsT = ConfigDetails>
78 void SetConfigDetails(ConfigDetailsT&& value) {
79 m_configDetailsHasBeenSet = true;
80 m_configDetails = std::forward<ConfigDetailsT>(value);
81 }
82 template <typename ConfigDetailsT = ConfigDetails>
83 Destination& WithConfigDetails(ConfigDetailsT&& value) {
84 SetConfigDetails(std::forward<ConfigDetailsT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDataflowDestinationRegion() const { return m_dataflowDestinationRegion; }
94 inline bool DataflowDestinationRegionHasBeenSet() const { return m_dataflowDestinationRegionHasBeenSet; }
95 template <typename DataflowDestinationRegionT = Aws::String>
96 void SetDataflowDestinationRegion(DataflowDestinationRegionT&& value) {
97 m_dataflowDestinationRegionHasBeenSet = true;
98 m_dataflowDestinationRegion = std::forward<DataflowDestinationRegionT>(value);
99 }
100 template <typename DataflowDestinationRegionT = Aws::String>
101 Destination& WithDataflowDestinationRegion(DataflowDestinationRegionT&& value) {
102 SetDataflowDestinationRegion(std::forward<DataflowDestinationRegionT>(value));
103 return *this;
104 }
106 private:
108 bool m_configTypeHasBeenSet = false;
109
110 Aws::String m_configId;
111 bool m_configIdHasBeenSet = false;
112
113 ConfigDetails m_configDetails;
114 bool m_configDetailsHasBeenSet = false;
115
116 Aws::String m_dataflowDestinationRegion;
117 bool m_dataflowDestinationRegionHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace GroundStation
122} // namespace Aws
void SetConfigDetails(ConfigDetailsT &&value)
Definition Destination.h:78
const Aws::String & GetConfigId() const
Definition Destination.h:56
ConfigCapabilityType GetConfigType() const
Definition Destination.h:40
void SetConfigId(ConfigIdT &&value)
Definition Destination.h:59
Destination & WithDataflowDestinationRegion(DataflowDestinationRegionT &&value)
void SetConfigType(ConfigCapabilityType value)
Definition Destination.h:42
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDataflowDestinationRegion() const
Definition Destination.h:93
Destination & WithConfigId(ConfigIdT &&value)
Definition Destination.h:64
Destination & WithConfigDetails(ConfigDetailsT &&value)
Definition Destination.h:83
AWS_GROUNDSTATION_API Destination(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
const ConfigDetails & GetConfigDetails() const
Definition Destination.h:75
void SetDataflowDestinationRegion(DataflowDestinationRegionT &&value)
Definition Destination.h:96
Destination & WithConfigType(ConfigCapabilityType value)
Definition Destination.h:46
AWS_GROUNDSTATION_API Destination()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue