AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Source.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/model/ConfigDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/groundstation/model/ConfigCapabilityType.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
33 class Source
34 {
35 public:
36 AWS_GROUNDSTATION_API Source() = default;
37 AWS_GROUNDSTATION_API Source(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GROUNDSTATION_API Source& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const ConfigDetails& GetConfigDetails() const { return m_configDetails; }
49 inline bool ConfigDetailsHasBeenSet() const { return m_configDetailsHasBeenSet; }
50 template<typename ConfigDetailsT = ConfigDetails>
51 void SetConfigDetails(ConfigDetailsT&& value) { m_configDetailsHasBeenSet = true; m_configDetails = std::forward<ConfigDetailsT>(value); }
52 template<typename ConfigDetailsT = ConfigDetails>
53 Source& WithConfigDetails(ConfigDetailsT&& value) { SetConfigDetails(std::forward<ConfigDetailsT>(value)); return *this;}
55
57
60 inline const Aws::String& GetConfigId() const { return m_configId; }
61 inline bool ConfigIdHasBeenSet() const { return m_configIdHasBeenSet; }
62 template<typename ConfigIdT = Aws::String>
63 void SetConfigId(ConfigIdT&& value) { m_configIdHasBeenSet = true; m_configId = std::forward<ConfigIdT>(value); }
64 template<typename ConfigIdT = Aws::String>
65 Source& WithConfigId(ConfigIdT&& value) { SetConfigId(std::forward<ConfigIdT>(value)); return *this;}
67
69
72 inline ConfigCapabilityType GetConfigType() const { return m_configType; }
73 inline bool ConfigTypeHasBeenSet() const { return m_configTypeHasBeenSet; }
74 inline void SetConfigType(ConfigCapabilityType value) { m_configTypeHasBeenSet = true; m_configType = value; }
75 inline Source& WithConfigType(ConfigCapabilityType value) { SetConfigType(value); return *this;}
77
79
82 inline const Aws::String& GetDataflowSourceRegion() const { return m_dataflowSourceRegion; }
83 inline bool DataflowSourceRegionHasBeenSet() const { return m_dataflowSourceRegionHasBeenSet; }
84 template<typename DataflowSourceRegionT = Aws::String>
85 void SetDataflowSourceRegion(DataflowSourceRegionT&& value) { m_dataflowSourceRegionHasBeenSet = true; m_dataflowSourceRegion = std::forward<DataflowSourceRegionT>(value); }
86 template<typename DataflowSourceRegionT = Aws::String>
87 Source& WithDataflowSourceRegion(DataflowSourceRegionT&& value) { SetDataflowSourceRegion(std::forward<DataflowSourceRegionT>(value)); return *this;}
89 private:
90
91 ConfigDetails m_configDetails;
92 bool m_configDetailsHasBeenSet = false;
93
94 Aws::String m_configId;
95 bool m_configIdHasBeenSet = false;
96
98 bool m_configTypeHasBeenSet = false;
99
100 Aws::String m_dataflowSourceRegion;
101 bool m_dataflowSourceRegionHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace GroundStation
106} // namespace Aws
AWS_GROUNDSTATION_API Source()=default
ConfigCapabilityType GetConfigType() const
Definition Source.h:72
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConfigDetails(ConfigDetailsT &&value)
Definition Source.h:51
void SetDataflowSourceRegion(DataflowSourceRegionT &&value)
Definition Source.h:85
void SetConfigType(ConfigCapabilityType value)
Definition Source.h:74
bool DataflowSourceRegionHasBeenSet() const
Definition Source.h:83
void SetConfigId(ConfigIdT &&value)
Definition Source.h:63
const Aws::String & GetDataflowSourceRegion() const
Definition Source.h:82
bool ConfigDetailsHasBeenSet() const
Definition Source.h:49
bool ConfigTypeHasBeenSet() const
Definition Source.h:73
AWS_GROUNDSTATION_API Source & operator=(Aws::Utils::Json::JsonView jsonValue)
Source & WithConfigId(ConfigIdT &&value)
Definition Source.h:65
const ConfigDetails & GetConfigDetails() const
Definition Source.h:48
AWS_GROUNDSTATION_API Source(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConfigId() const
Definition Source.h:60
Source & WithConfigType(ConfigCapabilityType value)
Definition Source.h:75
Source & WithConfigDetails(ConfigDetailsT &&value)
Definition Source.h:53
Source & WithDataflowSourceRegion(DataflowSourceRegionT &&value)
Definition Source.h:87
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue