AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
AgenticConnectorSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces/WorkSpaces_EXPORTS.h>
10#include <aws/workspaces/model/AgenticConnectorActivationStatus.h>
11#include <aws/workspaces/model/AgenticConnectorAuthType.h>
12#include <aws/workspaces/model/AgenticConnectorServerType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Cbor {
19class CborValue;
20} // namespace Cbor
21} // namespace Utils
22namespace WorkSpaces {
23namespace Model {
24
31 public:
32 AWS_WORKSPACES_API AgenticConnectorSummary() = default;
33 AWS_WORKSPACES_API AgenticConnectorSummary(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_WORKSPACES_API AgenticConnectorSummary& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 template <typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) {
81 m_descriptionHasBeenSet = true;
82 m_description = std::forward<DescriptionT>(value);
83 }
84 template <typename DescriptionT = Aws::String>
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90
92
97 inline AgenticConnectorServerType GetServerType() const { return m_serverType; }
98 inline bool ServerTypeHasBeenSet() const { return m_serverTypeHasBeenSet; }
100 m_serverTypeHasBeenSet = true;
101 m_serverType = value;
102 }
104 SetServerType(value);
105 return *this;
106 }
108
110
116 inline AgenticConnectorAuthType GetAuthType() const { return m_authType; }
117 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
119 m_authTypeHasBeenSet = true;
120 m_authType = value;
121 }
123 SetAuthType(value);
124 return *this;
125 }
127
129
139 inline AgenticConnectorActivationStatus GetActivationStatus() const { return m_activationStatus; }
140 inline bool ActivationStatusHasBeenSet() const { return m_activationStatusHasBeenSet; }
142 m_activationStatusHasBeenSet = true;
143 m_activationStatus = value;
144 }
150 private:
151 Aws::String m_id;
152
153 Aws::String m_name;
154
155 Aws::String m_description;
156
158
160
162 bool m_idHasBeenSet = false;
163 bool m_nameHasBeenSet = false;
164 bool m_descriptionHasBeenSet = false;
165 bool m_serverTypeHasBeenSet = false;
166 bool m_authTypeHasBeenSet = false;
167 bool m_activationStatusHasBeenSet = false;
168};
169
170} // namespace Model
171} // namespace WorkSpaces
172} // namespace Aws
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AgenticConnectorSummary & WithServerType(AgenticConnectorServerType value)
AgenticConnectorActivationStatus GetActivationStatus() const
AgenticConnectorSummary & WithId(IdT &&value)
AgenticConnectorSummary & WithDescription(DescriptionT &&value)
void SetServerType(AgenticConnectorServerType value)
AgenticConnectorSummary & WithName(NameT &&value)
AWS_WORKSPACES_API AgenticConnectorSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_WORKSPACES_API AgenticConnectorSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AgenticConnectorSummary & WithActivationStatus(AgenticConnectorActivationStatus value)
AWS_WORKSPACES_API AgenticConnectorSummary()=default
AgenticConnectorSummary & WithAuthType(AgenticConnectorAuthType value)
void SetActivationStatus(AgenticConnectorActivationStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String