AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
AgenticPersonaConfigurationSummary.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace WorkSpaces {
20namespace Model {
21
29 public:
30 AWS_WORKSPACES_API AgenticPersonaConfigurationSummary() = default;
31 AWS_WORKSPACES_API AgenticPersonaConfigurationSummary(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_WORKSPACES_API AgenticPersonaConfigurationSummary& 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>
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_id;
90
91 Aws::String m_name;
92
93 Aws::String m_description;
94 bool m_idHasBeenSet = false;
95 bool m_nameHasBeenSet = false;
96 bool m_descriptionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace WorkSpaces
101} // namespace Aws
AWS_WORKSPACES_API AgenticPersonaConfigurationSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AgenticPersonaConfigurationSummary & WithDescription(DescriptionT &&value)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_WORKSPACES_API AgenticPersonaConfigurationSummary()=default
AWS_WORKSPACES_API AgenticPersonaConfigurationSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String