AWS SDK for C++

AWS SDK for C++ Version 1.11.911

Loading...
Searching...
No Matches
GetDatasetIntegrationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ObservabilityAdmin {
24namespace Model {
26 public:
27 AWS_OBSERVABILITYADMIN_API GetDatasetIntegrationResult() = default;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
54 template <typename RoleArnT = Aws::String>
55 void SetRoleArn(RoleArnT&& value) {
56 m_roleArnHasBeenSet = true;
57 m_roleArn = std::forward<RoleArnT>(value);
58 }
59 template <typename RoleArnT = Aws::String>
61 SetRoleArn(std::forward<RoleArnT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
71 template <typename CreatedAtT = Aws::Utils::DateTime>
72 void SetCreatedAt(CreatedAtT&& value) {
73 m_createdAtHasBeenSet = true;
74 m_createdAt = std::forward<CreatedAtT>(value);
75 }
76 template <typename CreatedAtT = Aws::Utils::DateTime>
78 SetCreatedAt(std::forward<CreatedAtT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
88 template <typename UpdatedAtT = Aws::Utils::DateTime>
89 void SetUpdatedAt(UpdatedAtT&& value) {
90 m_updatedAtHasBeenSet = true;
91 m_updatedAt = std::forward<UpdatedAtT>(value);
92 }
93 template <typename UpdatedAtT = Aws::Utils::DateTime>
95 SetUpdatedAt(std::forward<UpdatedAtT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template <typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) {
105 m_requestIdHasBeenSet = true;
106 m_requestId = std::forward<RequestIdT>(value);
107 }
108 template <typename RequestIdT = Aws::String>
110 SetRequestId(std::forward<RequestIdT>(value));
111 return *this;
112 }
114 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
115
116 private:
117 Aws::String m_arn;
118
119 Aws::String m_roleArn;
120
121 Aws::Utils::DateTime m_createdAt{};
122
123 Aws::Utils::DateTime m_updatedAt{};
124
125 Aws::String m_requestId;
126 Aws::Http::HttpResponseCode m_HttpResponseCode;
127 bool m_arnHasBeenSet = false;
128 bool m_roleArnHasBeenSet = false;
129 bool m_createdAtHasBeenSet = false;
130 bool m_updatedAtHasBeenSet = false;
131 bool m_requestIdHasBeenSet = false;
132};
133
134} // namespace Model
135} // namespace ObservabilityAdmin
136} // namespace Aws
GetDatasetIntegrationResult & WithCreatedAt(CreatedAtT &&value)
GetDatasetIntegrationResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_OBSERVABILITYADMIN_API GetDatasetIntegrationResult()=default
AWS_OBSERVABILITYADMIN_API GetDatasetIntegrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OBSERVABILITYADMIN_API GetDatasetIntegrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDatasetIntegrationResult & WithRequestId(RequestIdT &&value)
GetDatasetIntegrationResult & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue