AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
DestinationConfiguration.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/DestinationType.h>
9#include <aws/qconnect/model/DestinationTypeConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QConnect {
21namespace Model {
22
29 public:
30 AWS_QCONNECT_API DestinationConfiguration() = default;
33 AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline DestinationType GetDestinationType() const { return m_destinationType; }
40 inline bool DestinationTypeHasBeenSet() const { return m_destinationTypeHasBeenSet; }
42 m_destinationTypeHasBeenSet = true;
43 m_destinationType = value;
44 }
46 SetDestinationType(value);
47 return *this;
48 }
50
52
55 inline const DestinationTypeConfiguration& GetDestination() const { return m_destination; }
56 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
57 template <typename DestinationT = DestinationTypeConfiguration>
58 void SetDestination(DestinationT&& value) {
59 m_destinationHasBeenSet = true;
60 m_destination = std::forward<DestinationT>(value);
61 }
62 template <typename DestinationT = DestinationTypeConfiguration>
64 SetDestination(std::forward<DestinationT>(value));
65 return *this;
66 }
68 private:
70
71 DestinationTypeConfiguration m_destination;
72 bool m_destinationTypeHasBeenSet = false;
73 bool m_destinationHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace QConnect
78} // namespace Aws
DestinationConfiguration & WithDestination(DestinationT &&value)
const DestinationTypeConfiguration & GetDestination() const
DestinationConfiguration & WithDestinationType(DestinationType value)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QCONNECT_API DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API DestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API DestinationConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue