AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ServiceUpdateRequest.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
28 public:
29 AWS_MEMORYDB_API ServiceUpdateRequest() = default;
30 AWS_MEMORYDB_API ServiceUpdateRequest(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
31 AWS_MEMORYDB_API ServiceUpdateRequest& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
33
35
38 inline const Aws::String& GetServiceUpdateNameToApply() const { return m_serviceUpdateNameToApply; }
39 inline bool ServiceUpdateNameToApplyHasBeenSet() const { return m_serviceUpdateNameToApplyHasBeenSet; }
40 template <typename ServiceUpdateNameToApplyT = Aws::String>
41 void SetServiceUpdateNameToApply(ServiceUpdateNameToApplyT&& value) {
42 m_serviceUpdateNameToApplyHasBeenSet = true;
43 m_serviceUpdateNameToApply = std::forward<ServiceUpdateNameToApplyT>(value);
44 }
45 template <typename ServiceUpdateNameToApplyT = Aws::String>
46 ServiceUpdateRequest& WithServiceUpdateNameToApply(ServiceUpdateNameToApplyT&& value) {
47 SetServiceUpdateNameToApply(std::forward<ServiceUpdateNameToApplyT>(value));
48 return *this;
49 }
51 private:
52 Aws::String m_serviceUpdateNameToApply;
53 bool m_serviceUpdateNameToApplyHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace MemoryDB
58} // namespace Aws
const Aws::String & GetServiceUpdateNameToApply() const
ServiceUpdateRequest & WithServiceUpdateNameToApply(ServiceUpdateNameToApplyT &&value)
AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_MEMORYDB_API ServiceUpdateRequest & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetServiceUpdateNameToApply(ServiceUpdateNameToApplyT &&value)
AWS_MEMORYDB_API ServiceUpdateRequest()=default
AWS_MEMORYDB_API ServiceUpdateRequest(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String