AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ParameterGroup.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/memorydb/MemoryDB_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace MemoryDB {
20namespace Model {
21
30 public:
31 AWS_MEMORYDB_API ParameterGroup() = default;
32 AWS_MEMORYDB_API ParameterGroup(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_MEMORYDB_API ParameterGroup& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 ParameterGroup& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetFamily() const { return m_family; }
60 inline bool FamilyHasBeenSet() const { return m_familyHasBeenSet; }
61 template <typename FamilyT = Aws::String>
62 void SetFamily(FamilyT&& value) {
63 m_familyHasBeenSet = true;
64 m_family = std::forward<FamilyT>(value);
65 }
66 template <typename FamilyT = Aws::String>
67 ParameterGroup& WithFamily(FamilyT&& value) {
68 SetFamily(std::forward<FamilyT>(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>
85 ParameterGroup& WithDescription(DescriptionT&& value) {
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetARN() const { return m_aRN; }
96 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
97 template <typename ARNT = Aws::String>
98 void SetARN(ARNT&& value) {
99 m_aRNHasBeenSet = true;
100 m_aRN = std::forward<ARNT>(value);
101 }
102 template <typename ARNT = Aws::String>
103 ParameterGroup& WithARN(ARNT&& value) {
104 SetARN(std::forward<ARNT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_name;
110
111 Aws::String m_family;
112
113 Aws::String m_description;
114
115 Aws::String m_aRN;
116 bool m_nameHasBeenSet = false;
117 bool m_familyHasBeenSet = false;
118 bool m_descriptionHasBeenSet = false;
119 bool m_aRNHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace MemoryDB
124} // namespace Aws
ParameterGroup & WithFamily(FamilyT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
AWS_MEMORYDB_API ParameterGroup & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_MEMORYDB_API ParameterGroup()=default
AWS_MEMORYDB_API ParameterGroup(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetARN() const
ParameterGroup & WithARN(ARNT &&value)
ParameterGroup & WithDescription(DescriptionT &&value)
AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ParameterGroup & WithName(NameT &&value)
const Aws::String & GetFamily() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String