AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
DestinationSummary.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/model/DeliveryDestinationType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTManagedIntegrations
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTMANAGEDINTEGRATIONS_API DestinationSummary() = default;
37 AWS_IOTMANAGEDINTEGRATIONS_API DestinationSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API DestinationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDescription() const { return m_description; }
47 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
48 template<typename DescriptionT = Aws::String>
49 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
50 template<typename DescriptionT = Aws::String>
51 DestinationSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
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) { m_deliveryDestinationArnHasBeenSet = true; m_deliveryDestinationArn = std::forward<DeliveryDestinationArnT>(value); }
62 template<typename DeliveryDestinationArnT = Aws::String>
63 DestinationSummary& WithDeliveryDestinationArn(DeliveryDestinationArnT&& value) { SetDeliveryDestinationArn(std::forward<DeliveryDestinationArnT>(value)); return *this;}
65
67
70 inline DeliveryDestinationType GetDeliveryDestinationType() const { return m_deliveryDestinationType; }
71 inline bool DeliveryDestinationTypeHasBeenSet() const { return m_deliveryDestinationTypeHasBeenSet; }
72 inline void SetDeliveryDestinationType(DeliveryDestinationType value) { m_deliveryDestinationTypeHasBeenSet = true; m_deliveryDestinationType = value; }
75
77
80 inline const Aws::String& GetName() const { return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 template<typename NameT = Aws::String>
83 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
84 template<typename NameT = Aws::String>
85 DestinationSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
87
89
92 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
93 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
94 template<typename RoleArnT = Aws::String>
95 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
96 template<typename RoleArnT = Aws::String>
97 DestinationSummary& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
99 private:
100
101 Aws::String m_description;
102 bool m_descriptionHasBeenSet = false;
103
104 Aws::String m_deliveryDestinationArn;
105 bool m_deliveryDestinationArnHasBeenSet = false;
106
108 bool m_deliveryDestinationTypeHasBeenSet = false;
109
110 Aws::String m_name;
111 bool m_nameHasBeenSet = false;
112
113 Aws::String m_roleArn;
114 bool m_roleArnHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace IoTManagedIntegrations
119} // 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