AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
AgenticContextSummary.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/AgenticContextType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace WorkSpaces {
21namespace Model {
22
29 public:
30 AWS_WORKSPACES_API AgenticContextSummary() = default;
31 AWS_WORKSPACES_API AgenticContextSummary(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_WORKSPACES_API AgenticContextSummary& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
83 AgenticContextSummary& WithDescription(DescriptionT&& value) {
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
97 inline AgenticContextType GetContextType() const { return m_contextType; }
98 inline bool ContextTypeHasBeenSet() const { return m_contextTypeHasBeenSet; }
100 m_contextTypeHasBeenSet = true;
101 m_contextType = value;
102 }
104 SetContextType(value);
105 return *this;
106 }
108 private:
109 Aws::String m_id;
110
111 Aws::String m_name;
112
113 Aws::String m_description;
114
116 bool m_idHasBeenSet = false;
117 bool m_nameHasBeenSet = false;
118 bool m_descriptionHasBeenSet = false;
119 bool m_contextTypeHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace WorkSpaces
124} // namespace Aws
AWS_WORKSPACES_API AgenticContextSummary()=default
AgenticContextSummary & WithContextType(AgenticContextType value)
AgenticContextSummary & WithName(NameT &&value)
AWS_WORKSPACES_API AgenticContextSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AgenticContextSummary & WithId(IdT &&value)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AgenticContextSummary & WithDescription(DescriptionT &&value)
AWS_WORKSPACES_API AgenticContextSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String