AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
GetDestinationResult.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 <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoTManagedIntegrations
26{
27namespace Model
28{
30 {
31 public:
32 AWS_IOTMANAGEDINTEGRATIONS_API GetDestinationResult() = default;
35
36
38
41 inline const Aws::String& GetDescription() const { return m_description; }
42 template<typename DescriptionT = Aws::String>
43 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
44 template<typename DescriptionT = Aws::String>
45 GetDestinationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDeliveryDestinationArn() const { return m_deliveryDestinationArn; }
53 template<typename DeliveryDestinationArnT = Aws::String>
54 void SetDeliveryDestinationArn(DeliveryDestinationArnT&& value) { m_deliveryDestinationArnHasBeenSet = true; m_deliveryDestinationArn = std::forward<DeliveryDestinationArnT>(value); }
55 template<typename DeliveryDestinationArnT = Aws::String>
56 GetDestinationResult& WithDeliveryDestinationArn(DeliveryDestinationArnT&& value) { SetDeliveryDestinationArn(std::forward<DeliveryDestinationArnT>(value)); return *this;}
58
60
63 inline DeliveryDestinationType GetDeliveryDestinationType() const { return m_deliveryDestinationType; }
64 inline void SetDeliveryDestinationType(DeliveryDestinationType value) { m_deliveryDestinationTypeHasBeenSet = true; m_deliveryDestinationType = value; }
67
69
72 inline const Aws::String& GetName() const { return m_name; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 GetDestinationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
83 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
84 template<typename RoleArnT = Aws::String>
85 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
86 template<typename RoleArnT = Aws::String>
87 GetDestinationResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
95 template<typename CreatedAtT = Aws::Utils::DateTime>
96 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
97 template<typename CreatedAtT = Aws::Utils::DateTime>
98 GetDestinationResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
106 template<typename UpdatedAtT = Aws::Utils::DateTime>
107 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
108 template<typename UpdatedAtT = Aws::Utils::DateTime>
109 GetDestinationResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
111
113
114 inline const Aws::String& GetRequestId() const { return m_requestId; }
115 template<typename RequestIdT = Aws::String>
116 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
117 template<typename RequestIdT = Aws::String>
118 GetDestinationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
120 private:
121
122 Aws::String m_description;
123 bool m_descriptionHasBeenSet = false;
124
125 Aws::String m_deliveryDestinationArn;
126 bool m_deliveryDestinationArnHasBeenSet = false;
127
129 bool m_deliveryDestinationTypeHasBeenSet = false;
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 Aws::String m_roleArn;
135 bool m_roleArnHasBeenSet = false;
136
137 Aws::Utils::DateTime m_createdAt{};
138 bool m_createdAtHasBeenSet = false;
139
140 Aws::Utils::DateTime m_updatedAt{};
141 bool m_updatedAtHasBeenSet = false;
142
143 Aws::String m_requestId;
144 bool m_requestIdHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace IoTManagedIntegrations
149} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API GetDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDestinationResult & WithDeliveryDestinationType(DeliveryDestinationType value)
AWS_IOTMANAGEDINTEGRATIONS_API GetDestinationResult()=default
void SetDeliveryDestinationArn(DeliveryDestinationArnT &&value)
GetDestinationResult & WithCreatedAt(CreatedAtT &&value)
GetDestinationResult & WithRoleArn(RoleArnT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDeliveryDestinationType(DeliveryDestinationType value)
GetDestinationResult & WithDescription(DescriptionT &&value)
GetDestinationResult & WithRequestId(RequestIdT &&value)
GetDestinationResult & WithUpdatedAt(UpdatedAtT &&value)
GetDestinationResult & WithDeliveryDestinationArn(DeliveryDestinationArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue