AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
DestinationSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
9#include <aws/iot-managed-integrations/model/DeliveryDestinationType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoTManagedIntegrations {
21namespace Model {
22
30 public:
31 AWS_IOTMANAGEDINTEGRATIONS_API DestinationSummary() = default;
32 AWS_IOTMANAGEDINTEGRATIONS_API DestinationSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTMANAGEDINTEGRATIONS_API DestinationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetDescription() const { return m_description; }
41 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
42 template <typename DescriptionT = Aws::String>
43 void SetDescription(DescriptionT&& value) {
44 m_descriptionHasBeenSet = true;
45 m_description = std::forward<DescriptionT>(value);
46 }
47 template <typename DescriptionT = Aws::String>
48 DestinationSummary& WithDescription(DescriptionT&& value) {
49 SetDescription(std::forward<DescriptionT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDeliveryDestinationArn() const { return m_deliveryDestinationArn; }
59 inline bool DeliveryDestinationArnHasBeenSet() const { return m_deliveryDestinationArnHasBeenSet; }
60 template <typename DeliveryDestinationArnT = Aws::String>
61 void SetDeliveryDestinationArn(DeliveryDestinationArnT&& value) {
62 m_deliveryDestinationArnHasBeenSet = true;
63 m_deliveryDestinationArn = std::forward<DeliveryDestinationArnT>(value);
64 }
65 template <typename DeliveryDestinationArnT = Aws::String>
66 DestinationSummary& WithDeliveryDestinationArn(DeliveryDestinationArnT&& value) {
67 SetDeliveryDestinationArn(std::forward<DeliveryDestinationArnT>(value));
68 return *this;
69 }
71
73
76 inline DeliveryDestinationType GetDeliveryDestinationType() const { return m_deliveryDestinationType; }
77 inline bool DeliveryDestinationTypeHasBeenSet() const { return m_deliveryDestinationTypeHasBeenSet; }
79 m_deliveryDestinationTypeHasBeenSet = true;
80 m_deliveryDestinationType = value;
81 }
87
89
92 inline const Aws::String& GetName() const { return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 template <typename NameT = Aws::String>
95 void SetName(NameT&& value) {
96 m_nameHasBeenSet = true;
97 m_name = std::forward<NameT>(value);
98 }
99 template <typename NameT = Aws::String>
100 DestinationSummary& WithName(NameT&& value) {
101 SetName(std::forward<NameT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
111 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
112 template <typename RoleArnT = Aws::String>
113 void SetRoleArn(RoleArnT&& value) {
114 m_roleArnHasBeenSet = true;
115 m_roleArn = std::forward<RoleArnT>(value);
116 }
117 template <typename RoleArnT = Aws::String>
118 DestinationSummary& WithRoleArn(RoleArnT&& value) {
119 SetRoleArn(std::forward<RoleArnT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_description;
125
126 Aws::String m_deliveryDestinationArn;
127
129
130 Aws::String m_name;
131
132 Aws::String m_roleArn;
133 bool m_descriptionHasBeenSet = false;
134 bool m_deliveryDestinationArnHasBeenSet = false;
135 bool m_deliveryDestinationTypeHasBeenSet = false;
136 bool m_nameHasBeenSet = false;
137 bool m_roleArnHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace IoTManagedIntegrations
142} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API DestinationSummary()=default
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeliveryDestinationArn(DeliveryDestinationArnT &&value)
DestinationSummary & WithDescription(DescriptionT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API DestinationSummary(Aws::Utils::Json::JsonView jsonValue)
DestinationSummary & WithDeliveryDestinationType(DeliveryDestinationType value)
AWS_IOTMANAGEDINTEGRATIONS_API DestinationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DestinationSummary & WithRoleArn(RoleArnT &&value)
void SetDeliveryDestinationType(DeliveryDestinationType value)
DestinationSummary & WithDeliveryDestinationArn(DeliveryDestinationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue