AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceConnectionDetail.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 <aws/servicecatalog/model/LastSync.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 ServiceCatalog
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SERVICECATALOG_API SourceConnectionDetail();
38 AWS_SERVICECATALOG_API SourceConnectionDetail(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const SourceType& GetType() const{ return m_type; }
48 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 inline void SetType(const SourceType& value) { m_typeHasBeenSet = true; m_type = value; }
50 inline void SetType(SourceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
51 inline SourceConnectionDetail& WithType(const SourceType& value) { SetType(value); return *this;}
52 inline SourceConnectionDetail& WithType(SourceType&& value) { SetType(std::move(value)); return *this;}
54
56
59 inline const SourceConnectionParameters& GetConnectionParameters() const{ return m_connectionParameters; }
60 inline bool ConnectionParametersHasBeenSet() const { return m_connectionParametersHasBeenSet; }
61 inline void SetConnectionParameters(const SourceConnectionParameters& value) { m_connectionParametersHasBeenSet = true; m_connectionParameters = value; }
62 inline void SetConnectionParameters(SourceConnectionParameters&& value) { m_connectionParametersHasBeenSet = true; m_connectionParameters = std::move(value); }
66
68
76 inline const LastSync& GetLastSync() const{ return m_lastSync; }
77 inline bool LastSyncHasBeenSet() const { return m_lastSyncHasBeenSet; }
78 inline void SetLastSync(const LastSync& value) { m_lastSyncHasBeenSet = true; m_lastSync = value; }
79 inline void SetLastSync(LastSync&& value) { m_lastSyncHasBeenSet = true; m_lastSync = std::move(value); }
80 inline SourceConnectionDetail& WithLastSync(const LastSync& value) { SetLastSync(value); return *this;}
81 inline SourceConnectionDetail& WithLastSync(LastSync&& value) { SetLastSync(std::move(value)); return *this;}
83 private:
84
85 SourceType m_type;
86 bool m_typeHasBeenSet = false;
87
88 SourceConnectionParameters m_connectionParameters;
89 bool m_connectionParametersHasBeenSet = false;
90
91 LastSync m_lastSync;
92 bool m_lastSyncHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ServiceCatalog
97} // namespace Aws
void SetConnectionParameters(SourceConnectionParameters &&value)
SourceConnectionDetail & WithType(const SourceType &value)
AWS_SERVICECATALOG_API SourceConnectionDetail(Aws::Utils::Json::JsonView jsonValue)
void SetConnectionParameters(const SourceConnectionParameters &value)
SourceConnectionDetail & WithConnectionParameters(const SourceConnectionParameters &value)
SourceConnectionDetail & WithLastSync(LastSync &&value)
AWS_SERVICECATALOG_API SourceConnectionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
SourceConnectionDetail & WithLastSync(const LastSync &value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
SourceConnectionDetail & WithType(SourceType &&value)
const SourceConnectionParameters & GetConnectionParameters() const
SourceConnectionDetail & WithConnectionParameters(SourceConnectionParameters &&value)
Aws::Utils::Json::JsonValue JsonValue