AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ServiceActionSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
10#include <aws/servicecatalog/model/ServiceActionDefinitionType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace ServiceCatalog {
21namespace Model {
22
30 public:
31 AWS_SERVICECATALOG_API ServiceActionSummary() = default;
32 AWS_SERVICECATALOG_API ServiceActionSummary(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_SERVICECATALOG_API ServiceActionSummary& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
84 ServiceActionSummary& WithDescription(DescriptionT&& value) {
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
95 inline ServiceActionDefinitionType GetDefinitionType() const { return m_definitionType; }
96 inline bool DefinitionTypeHasBeenSet() const { return m_definitionTypeHasBeenSet; }
98 m_definitionTypeHasBeenSet = true;
99 m_definitionType = value;
100 }
102 SetDefinitionType(value);
103 return *this;
104 }
106 private:
107 Aws::String m_id;
108
109 Aws::String m_name;
110
111 Aws::String m_description;
112
114 bool m_idHasBeenSet = false;
115 bool m_nameHasBeenSet = false;
116 bool m_descriptionHasBeenSet = false;
117 bool m_definitionTypeHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace ServiceCatalog
122} // namespace Aws
AWS_SERVICECATALOG_API ServiceActionSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ServiceActionSummary & WithDescription(DescriptionT &&value)
ServiceActionDefinitionType GetDefinitionType() const
void SetDefinitionType(ServiceActionDefinitionType value)
AWS_SERVICECATALOG_API ServiceActionSummary()=default
AWS_SERVICECATALOG_API ServiceActionSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ServiceActionSummary & WithDefinitionType(ServiceActionDefinitionType value)
ServiceActionSummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String