AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
SourceConnectionParameters.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
9#include <aws/servicecatalog/model/CodeStarParameters.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace ServiceCatalog {
20namespace Model {
21
28 public:
29 AWS_SERVICECATALOG_API SourceConnectionParameters() = default;
30 AWS_SERVICECATALOG_API SourceConnectionParameters(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_SERVICECATALOG_API SourceConnectionParameters& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
33
35
38 inline const CodeStarParameters& GetCodeStar() const { return m_codeStar; }
39 inline bool CodeStarHasBeenSet() const { return m_codeStarHasBeenSet; }
40 template <typename CodeStarT = CodeStarParameters>
41 void SetCodeStar(CodeStarT&& value) {
42 m_codeStarHasBeenSet = true;
43 m_codeStar = std::forward<CodeStarT>(value);
44 }
45 template <typename CodeStarT = CodeStarParameters>
47 SetCodeStar(std::forward<CodeStarT>(value));
48 return *this;
49 }
51 private:
52 CodeStarParameters m_codeStar;
53 bool m_codeStarHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace ServiceCatalog
58} // namespace Aws
SourceConnectionParameters & WithCodeStar(CodeStarT &&value)
AWS_SERVICECATALOG_API SourceConnectionParameters(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SERVICECATALOG_API SourceConnectionParameters()=default
AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_SERVICECATALOG_API SourceConnectionParameters & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)