AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
GameSessionQueueLogConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/LogDeliveryDestination.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace GameLift {
21namespace Model {
22
30 public:
31 AWS_GAMELIFT_API GameSessionQueueLogConfiguration() = default;
32 AWS_GAMELIFT_API GameSessionQueueLogConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_GAMELIFT_API GameSessionQueueLogConfiguration& 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::Vector<LogDeliveryDestination>& GetDeliveryDestinations() const { return m_deliveryDestinations; }
43 inline bool DeliveryDestinationsHasBeenSet() const { return m_deliveryDestinationsHasBeenSet; }
44 template <typename DeliveryDestinationsT = Aws::Vector<LogDeliveryDestination>>
45 void SetDeliveryDestinations(DeliveryDestinationsT&& value) {
46 m_deliveryDestinationsHasBeenSet = true;
47 m_deliveryDestinations = std::forward<DeliveryDestinationsT>(value);
48 }
49 template <typename DeliveryDestinationsT = Aws::Vector<LogDeliveryDestination>>
51 SetDeliveryDestinations(std::forward<DeliveryDestinationsT>(value));
52 return *this;
53 }
54 template <typename DeliveryDestinationsT = LogDeliveryDestination>
56 m_deliveryDestinationsHasBeenSet = true;
57 m_deliveryDestinations.emplace_back(std::forward<DeliveryDestinationsT>(value));
58 return *this;
59 }
61 private:
62 Aws::Vector<LogDeliveryDestination> m_deliveryDestinations;
63 bool m_deliveryDestinationsHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace GameLift
68} // namespace Aws
AWS_GAMELIFT_API GameSessionQueueLogConfiguration()=default
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_GAMELIFT_API GameSessionQueueLogConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
GameSessionQueueLogConfiguration & WithDeliveryDestinations(DeliveryDestinationsT &&value)
GameSessionQueueLogConfiguration & AddDeliveryDestinations(DeliveryDestinationsT &&value)
AWS_GAMELIFT_API GameSessionQueueLogConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Vector< LogDeliveryDestination > & GetDeliveryDestinations() const
std::vector< T, Aws::Allocator< T > > Vector