AWS SDK for C++

AWS SDK for C++ Version 1.11.791

Loading...
Searching...
No Matches
RemoteAccountIdentifier.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/interconnect/Interconnect_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace Interconnect {
20namespace Model {
21
29 public:
30 AWS_INTERCONNECT_API RemoteAccountIdentifier() = default;
31 AWS_INTERCONNECT_API RemoteAccountIdentifier(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_INTERCONNECT_API RemoteAccountIdentifier& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_INTERCONNECT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
40 inline const Aws::String& GetIdentifier() const { return m_identifier; }
41 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
42 template <typename IdentifierT = Aws::String>
43 void SetIdentifier(IdentifierT&& value) {
44 m_identifierHasBeenSet = true;
45 m_identifier = std::forward<IdentifierT>(value);
46 }
47 template <typename IdentifierT = Aws::String>
49 SetIdentifier(std::forward<IdentifierT>(value));
50 return *this;
51 }
53 private:
54 Aws::String m_identifier;
55 bool m_identifierHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace Interconnect
60} // namespace Aws
AWS_INTERCONNECT_API RemoteAccountIdentifier()=default
AWS_INTERCONNECT_API RemoteAccountIdentifier & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
RemoteAccountIdentifier & WithIdentifier(IdentifierT &&value)
AWS_INTERCONNECT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_INTERCONNECT_API RemoteAccountIdentifier(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String