AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
SessionDetail.h
1
6#pragma once
7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace Assurance {
20namespace Model {
21
29 public:
30 AWS_ASSURANCE_API SessionDetail() = default;
31 AWS_ASSURANCE_API SessionDetail(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_ASSURANCE_API SessionDetail& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
39 inline const Aws::String& GetSessionId() const { return m_sessionId; }
40 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
41 template <typename SessionIdT = Aws::String>
42 void SetSessionId(SessionIdT&& value) {
43 m_sessionIdHasBeenSet = true;
44 m_sessionId = std::forward<SessionIdT>(value);
45 }
46 template <typename SessionIdT = Aws::String>
47 SessionDetail& WithSessionId(SessionIdT&& value) {
48 SetSessionId(std::forward<SessionIdT>(value));
49 return *this;
50 }
52 private:
53 Aws::String m_sessionId;
54 bool m_sessionIdHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace Assurance
59} // namespace Aws
AWS_ASSURANCE_API SessionDetail()=default
SessionDetail & WithSessionId(SessionIdT &&value)
void SetSessionId(SessionIdT &&value)
const Aws::String & GetSessionId() const
AWS_ASSURANCE_API SessionDetail & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_ASSURANCE_API SessionDetail(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String