AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceConnection.h
1
6#pragma once
7#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8#include <aws/servicecatalog/model/SourceType.h>
9#include <aws/servicecatalog/model/SourceConnectionParameters.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ServiceCatalog
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_SERVICECATALOG_API SourceConnection();
42 AWS_SERVICECATALOG_API SourceConnection(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SERVICECATALOG_API SourceConnection& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const SourceType& GetType() const{ return m_type; }
52 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
53 inline void SetType(const SourceType& value) { m_typeHasBeenSet = true; m_type = value; }
54 inline void SetType(SourceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
55 inline SourceConnection& WithType(const SourceType& value) { SetType(value); return *this;}
56 inline SourceConnection& WithType(SourceType&& value) { SetType(std::move(value)); return *this;}
58
60
63 inline const SourceConnectionParameters& GetConnectionParameters() const{ return m_connectionParameters; }
64 inline bool ConnectionParametersHasBeenSet() const { return m_connectionParametersHasBeenSet; }
65 inline void SetConnectionParameters(const SourceConnectionParameters& value) { m_connectionParametersHasBeenSet = true; m_connectionParameters = value; }
66 inline void SetConnectionParameters(SourceConnectionParameters&& value) { m_connectionParametersHasBeenSet = true; m_connectionParameters = std::move(value); }
70 private:
71
72 SourceType m_type;
73 bool m_typeHasBeenSet = false;
74
75 SourceConnectionParameters m_connectionParameters;
76 bool m_connectionParametersHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace ServiceCatalog
81} // namespace Aws
void SetConnectionParameters(const SourceConnectionParameters &value)
AWS_SERVICECATALOG_API SourceConnection & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceConnection & WithType(SourceType &&value)
const SourceConnectionParameters & GetConnectionParameters() const
SourceConnection & WithConnectionParameters(SourceConnectionParameters &&value)
SourceConnection & WithConnectionParameters(const SourceConnectionParameters &value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConnectionParameters(SourceConnectionParameters &&value)
SourceConnection & WithType(const SourceType &value)
AWS_SERVICECATALOG_API SourceConnection(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue