AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
LogDeliveryDestination.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#include <aws/gamelift/model/LogDeliveryDestinationType.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
34 public:
35 AWS_GAMELIFT_API LogDeliveryDestination() = default;
36 AWS_GAMELIFT_API LogDeliveryDestination(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
37 AWS_GAMELIFT_API LogDeliveryDestination& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
38 AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
39
41
49 inline LogDeliveryDestinationType GetLogDestination() const { return m_logDestination; }
50 inline bool LogDestinationHasBeenSet() const { return m_logDestinationHasBeenSet; }
52 m_logDestinationHasBeenSet = true;
53 m_logDestination = value;
54 }
60
62
70 inline const Aws::String& GetDestinationArn() const { return m_destinationArn; }
71 inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; }
72 template <typename DestinationArnT = Aws::String>
73 void SetDestinationArn(DestinationArnT&& value) {
74 m_destinationArnHasBeenSet = true;
75 m_destinationArn = std::forward<DestinationArnT>(value);
76 }
77 template <typename DestinationArnT = Aws::String>
78 LogDeliveryDestination& WithDestinationArn(DestinationArnT&& value) {
79 SetDestinationArn(std::forward<DestinationArnT>(value));
80 return *this;
81 }
83 private:
85
86 Aws::String m_destinationArn;
87 bool m_logDestinationHasBeenSet = false;
88 bool m_destinationArnHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace GameLift
93} // namespace Aws
LogDeliveryDestinationType GetLogDestination() const
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
LogDeliveryDestination & WithDestinationArn(DestinationArnT &&value)
LogDeliveryDestination & WithLogDestination(LogDeliveryDestinationType value)
AWS_GAMELIFT_API LogDeliveryDestination(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetLogDestination(LogDeliveryDestinationType value)
AWS_GAMELIFT_API LogDeliveryDestination & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API LogDeliveryDestination()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String