AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
GlueConnectionMapping.h
1
6#pragma once
7#include <aws/context/Context_EXPORTS.h>
8#include <aws/context/model/PathSegment.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/crt/cbor/Cbor.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Cbor {
18class CborValue;
19} // namespace Cbor
20} // namespace Utils
21namespace Context {
22namespace Model {
23
36 public:
37 AWS_CONTEXT_API GlueConnectionMapping() = default;
38 AWS_CONTEXT_API GlueConnectionMapping(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
39 AWS_CONTEXT_API GlueConnectionMapping& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
40 AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
41
43
58 inline const Aws::Vector<PathSegment>& GetPath() const { return m_path; }
59 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
60 template <typename PathT = Aws::Vector<PathSegment>>
61 void SetPath(PathT&& value) {
62 m_pathHasBeenSet = true;
63 m_path = std::forward<PathT>(value);
64 }
65 template <typename PathT = Aws::Vector<PathSegment>>
67 SetPath(std::forward<PathT>(value));
68 return *this;
69 }
70 template <typename PathT = PathSegment>
72 m_pathHasBeenSet = true;
73 m_path.emplace_back(std::forward<PathT>(value));
74 return *this;
75 }
77
79
97 inline const Aws::String& GetGlueConnectionArn() const { return m_glueConnectionArn; }
98 inline bool GlueConnectionArnHasBeenSet() const { return m_glueConnectionArnHasBeenSet; }
99 template <typename GlueConnectionArnT = Aws::String>
100 void SetGlueConnectionArn(GlueConnectionArnT&& value) {
101 m_glueConnectionArnHasBeenSet = true;
102 m_glueConnectionArn = std::forward<GlueConnectionArnT>(value);
103 }
104 template <typename GlueConnectionArnT = Aws::String>
105 GlueConnectionMapping& WithGlueConnectionArn(GlueConnectionArnT&& value) {
106 SetGlueConnectionArn(std::forward<GlueConnectionArnT>(value));
107 return *this;
108 }
110 private:
112
113 Aws::String m_glueConnectionArn;
114 bool m_pathHasBeenSet = false;
115 bool m_glueConnectionArnHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace Context
120} // namespace Aws
GlueConnectionMapping & AddPath(PathT &&value)
void SetGlueConnectionArn(GlueConnectionArnT &&value)
GlueConnectionMapping & WithGlueConnectionArn(GlueConnectionArnT &&value)
AWS_CONTEXT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CONTEXT_API GlueConnectionMapping(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
GlueConnectionMapping & WithPath(PathT &&value)
const Aws::Vector< PathSegment > & GetPath() const
AWS_CONTEXT_API GlueConnectionMapping()=default
AWS_CONTEXT_API GlueConnectionMapping & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector