7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/workspaces/WorkSpaces_EXPORTS.h>
11#include <aws/workspaces/model/AgenticContextType.h>
33 AWS_WORKSPACES_API
AgenticContext(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
79 template <
typename DescriptionT = Aws::String>
81 m_descriptionHasBeenSet =
true;
82 m_description = std::forward<DescriptionT>(value);
84 template <
typename DescriptionT = Aws::String>
102 m_contextTypeHasBeenSet =
true;
103 m_contextType = value;
118 template <
typename TargetFilePathT = Aws::String>
120 m_targetFilePathHasBeenSet =
true;
121 m_targetFilePath = std::forward<TargetFilePathT>(value);
123 template <
typename TargetFilePathT = Aws::String>
136 template <
typename ContextBodyT = Aws::String>
138 m_contextBodyHasBeenSet =
true;
139 m_contextBody = std::forward<ContextBodyT>(value);
141 template <
typename ContextBodyT = Aws::String>
155 m_contextBodySizeBytesHasBeenSet =
true;
156 m_contextBodySizeBytes = value;
170 template <
typename CreatedAtT = Aws::Utils::DateTime>
172 m_createdAtHasBeenSet =
true;
173 m_createdAt = std::forward<CreatedAtT>(value);
175 template <
typename CreatedAtT = Aws::Utils::DateTime>
188 template <
typename UpdatedAtT = Aws::Utils::DateTime>
190 m_updatedAtHasBeenSet =
true;
191 m_updatedAt = std::forward<UpdatedAtT>(value);
193 template <
typename UpdatedAtT = Aws::Utils::DateTime>
212 int64_t m_contextBodySizeBytes{0};
217 bool m_idHasBeenSet =
false;
218 bool m_nameHasBeenSet =
false;
219 bool m_descriptionHasBeenSet =
false;
220 bool m_contextTypeHasBeenSet =
false;
221 bool m_targetFilePathHasBeenSet =
false;
222 bool m_contextBodyHasBeenSet =
false;
223 bool m_contextBodySizeBytesHasBeenSet =
false;
224 bool m_createdAtHasBeenSet =
false;
225 bool m_updatedAtHasBeenSet =
false;
int64_t GetContextBodySizeBytes() const
void SetName(NameT &&value)
AgenticContext & WithName(NameT &&value)
const Aws::String & GetTargetFilePath() const
void SetContextType(AgenticContextType value)
void SetContextBody(ContextBodyT &&value)
AgenticContext & WithDescription(DescriptionT &&value)
AWS_WORKSPACES_API AgenticContext & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool CreatedAtHasBeenSet() const
AgenticContext & WithId(IdT &&value)
void SetContextBodySizeBytes(int64_t value)
void SetUpdatedAt(UpdatedAtT &&value)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool ContextBodyHasBeenSet() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetContextBody() const
AgenticContext & WithCreatedAt(CreatedAtT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetDescription() const
AWS_WORKSPACES_API AgenticContext()=default
bool UpdatedAtHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetId() const
bool ContextBodySizeBytesHasBeenSet() const
AgenticContextType GetContextType() const
AgenticContext & WithContextBody(ContextBodyT &&value)
bool TargetFilePathHasBeenSet() const
AgenticContext & WithTargetFilePath(TargetFilePathT &&value)
void SetTargetFilePath(TargetFilePathT &&value)
void SetDescription(DescriptionT &&value)
AgenticContext & WithContextType(AgenticContextType value)
AgenticContext & WithContextBodySizeBytes(int64_t value)
bool IdHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetName() const
bool ContextTypeHasBeenSet() const
AWS_WORKSPACES_API AgenticContext(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AgenticContext & WithUpdatedAt(UpdatedAtT &&value)
bool DescriptionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String