AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
Source.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
29class Source {
30 public:
31 AWS_GROUNDSTATION_API Source() = default;
32 AWS_GROUNDSTATION_API Source(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GROUNDSTATION_API Source& 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 Source& WithConfigId(ConfigIdT&& value) {
65 SetConfigId(std::forward<ConfigIdT>(value));
66 return *this;
67 }
69
71
76 inline const ConfigDetails& GetConfigDetails() const { return m_configDetails; }
77 inline bool ConfigDetailsHasBeenSet() const { return m_configDetailsHasBeenSet; }
78 template <typename ConfigDetailsT = ConfigDetails>
79 void SetConfigDetails(ConfigDetailsT&& value) {
80 m_configDetailsHasBeenSet = true;
81 m_configDetails = std::forward<ConfigDetailsT>(value);
82 }
83 template <typename ConfigDetailsT = ConfigDetails>
84 Source& WithConfigDetails(ConfigDetailsT&& value) {
85 SetConfigDetails(std::forward<ConfigDetailsT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetDataflowSourceRegion() const { return m_dataflowSourceRegion; }
95 inline bool DataflowSourceRegionHasBeenSet() const { return m_dataflowSourceRegionHasBeenSet; }
96 template <typename DataflowSourceRegionT = Aws::String>
97 void SetDataflowSourceRegion(DataflowSourceRegionT&& value) {
98 m_dataflowSourceRegionHasBeenSet = true;
99 m_dataflowSourceRegion = std::forward<DataflowSourceRegionT>(value);
100 }
101 template <typename DataflowSourceRegionT = Aws::String>
102 Source& WithDataflowSourceRegion(DataflowSourceRegionT&& value) {
103 SetDataflowSourceRegion(std::forward<DataflowSourceRegionT>(value));
104 return *this;
105 }
107 private:
109
110 Aws::String m_configId;
111
112 ConfigDetails m_configDetails;
113
114 Aws::String m_dataflowSourceRegion;
115 bool m_configTypeHasBeenSet = false;
116 bool m_configIdHasBeenSet = false;
117 bool m_configDetailsHasBeenSet = false;
118 bool m_dataflowSourceRegionHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace GroundStation
123} // namespace Aws
AWS_GROUNDSTATION_API Source()=default
ConfigCapabilityType GetConfigType() const
Definition Source.h:40
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConfigDetails(ConfigDetailsT &&value)
Definition Source.h:79
void SetDataflowSourceRegion(DataflowSourceRegionT &&value)
Definition Source.h:97
void SetConfigType(ConfigCapabilityType value)
Definition Source.h:42
bool DataflowSourceRegionHasBeenSet() const
Definition Source.h:95
void SetConfigId(ConfigIdT &&value)
Definition Source.h:59
const Aws::String & GetDataflowSourceRegion() const
Definition Source.h:94
bool ConfigDetailsHasBeenSet() const
Definition Source.h:77
bool ConfigTypeHasBeenSet() const
Definition Source.h:41
AWS_GROUNDSTATION_API Source & operator=(Aws::Utils::Json::JsonView jsonValue)
Source & WithConfigId(ConfigIdT &&value)
Definition Source.h:64
const ConfigDetails & GetConfigDetails() const
Definition Source.h:76
AWS_GROUNDSTATION_API Source(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConfigId() const
Definition Source.h:56
Source & WithConfigType(ConfigCapabilityType value)
Definition Source.h:46
Source & WithConfigDetails(ConfigDetailsT &&value)
Definition Source.h:84
Source & WithDataflowSourceRegion(DataflowSourceRegionT &&value)
Definition Source.h:102
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue