AWS SDK for C++

AWS SDK for C++ Version 1.11.817

Loading...
Searching...
No Matches
GameSessionQueueDestination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace GameLift {
20namespace Model {
21
30 public:
31 AWS_GAMELIFT_API GameSessionQueueDestination() = default;
32 AWS_GAMELIFT_API GameSessionQueueDestination(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_GAMELIFT_API GameSessionQueueDestination& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
42 inline const Aws::String& GetDestinationArn() const { return m_destinationArn; }
43 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
44 template <typename DestinationArnT = Aws::String>
45 void SetDestinationArn(DestinationArnT&& value) {
46 m_destinationArnHasBeenSet = true;
47 m_destinationArn = std::forward<DestinationArnT>(value);
48 }
49 template <typename DestinationArnT = Aws::String>
51 SetDestinationArn(std::forward<DestinationArnT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_destinationArn;
57 bool m_destinationArnHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace GameLift
62} // namespace Aws
AWS_GAMELIFT_API GameSessionQueueDestination & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API GameSessionQueueDestination()=default
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
GameSessionQueueDestination & WithDestinationArn(DestinationArnT &&value)
AWS_GAMELIFT_API GameSessionQueueDestination(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String