AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetSegmentSnapshotResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10#include <aws/customer-profiles/model/DataFormat.h>
11#include <aws/customer-profiles/model/SegmentSnapshotStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CustomerProfiles {
25namespace Model {
27 public:
28 AWS_CUSTOMERPROFILES_API GetSegmentSnapshotResult() = default;
31
33
36 inline const Aws::String& GetSnapshotId() const { return m_snapshotId; }
37 template <typename SnapshotIdT = Aws::String>
38 void SetSnapshotId(SnapshotIdT&& value) {
39 m_snapshotIdHasBeenSet = true;
40 m_snapshotId = std::forward<SnapshotIdT>(value);
41 }
42 template <typename SnapshotIdT = Aws::String>
44 SetSnapshotId(std::forward<SnapshotIdT>(value));
45 return *this;
46 }
48
50
53 inline SegmentSnapshotStatus GetStatus() const { return m_status; }
54 inline void SetStatus(SegmentSnapshotStatus value) {
55 m_statusHasBeenSet = true;
56 m_status = value;
57 }
59 SetStatus(value);
60 return *this;
61 }
63
65
69 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
70 template <typename StatusMessageT = Aws::String>
71 void SetStatusMessage(StatusMessageT&& value) {
72 m_statusMessageHasBeenSet = true;
73 m_statusMessage = std::forward<StatusMessageT>(value);
74 }
75 template <typename StatusMessageT = Aws::String>
77 SetStatusMessage(std::forward<StatusMessageT>(value));
78 return *this;
79 }
81
83
86 inline DataFormat GetDataFormat() const { return m_dataFormat; }
87 inline void SetDataFormat(DataFormat value) {
88 m_dataFormatHasBeenSet = true;
89 m_dataFormat = value;
90 }
92 SetDataFormat(value);
93 return *this;
94 }
96
98
102 inline const Aws::String& GetEncryptionKey() const { return m_encryptionKey; }
103 template <typename EncryptionKeyT = Aws::String>
104 void SetEncryptionKey(EncryptionKeyT&& value) {
105 m_encryptionKeyHasBeenSet = true;
106 m_encryptionKey = std::forward<EncryptionKeyT>(value);
107 }
108 template <typename EncryptionKeyT = Aws::String>
110 SetEncryptionKey(std::forward<EncryptionKeyT>(value));
111 return *this;
112 }
114
116
120 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
121 template <typename RoleArnT = Aws::String>
122 void SetRoleArn(RoleArnT&& value) {
123 m_roleArnHasBeenSet = true;
124 m_roleArn = std::forward<RoleArnT>(value);
125 }
126 template <typename RoleArnT = Aws::String>
128 SetRoleArn(std::forward<RoleArnT>(value));
129 return *this;
130 }
132
134
139 inline const Aws::String& GetDestinationUri() const { return m_destinationUri; }
140 template <typename DestinationUriT = Aws::String>
141 void SetDestinationUri(DestinationUriT&& value) {
142 m_destinationUriHasBeenSet = true;
143 m_destinationUri = std::forward<DestinationUriT>(value);
144 }
145 template <typename DestinationUriT = Aws::String>
147 SetDestinationUri(std::forward<DestinationUriT>(value));
148 return *this;
149 }
151
153
154 inline const Aws::String& GetRequestId() const { return m_requestId; }
155 template <typename RequestIdT = Aws::String>
156 void SetRequestId(RequestIdT&& value) {
157 m_requestIdHasBeenSet = true;
158 m_requestId = std::forward<RequestIdT>(value);
159 }
160 template <typename RequestIdT = Aws::String>
162 SetRequestId(std::forward<RequestIdT>(value));
163 return *this;
164 }
166 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
167
168 private:
169 Aws::String m_snapshotId;
170
172
173 Aws::String m_statusMessage;
174
175 DataFormat m_dataFormat{DataFormat::NOT_SET};
176
177 Aws::String m_encryptionKey;
178
179 Aws::String m_roleArn;
180
181 Aws::String m_destinationUri;
182
183 Aws::String m_requestId;
184 Aws::Http::HttpResponseCode m_HttpResponseCode;
185 bool m_snapshotIdHasBeenSet = false;
186 bool m_statusHasBeenSet = false;
187 bool m_statusMessageHasBeenSet = false;
188 bool m_dataFormatHasBeenSet = false;
189 bool m_encryptionKeyHasBeenSet = false;
190 bool m_roleArnHasBeenSet = false;
191 bool m_destinationUriHasBeenSet = false;
192 bool m_requestIdHasBeenSet = false;
193};
194
195} // namespace Model
196} // namespace CustomerProfiles
197} // namespace Aws
GetSegmentSnapshotResult & WithStatus(SegmentSnapshotStatus value)
AWS_CUSTOMERPROFILES_API GetSegmentSnapshotResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSegmentSnapshotResult & WithRoleArn(RoleArnT &&value)
GetSegmentSnapshotResult & WithDestinationUri(DestinationUriT &&value)
AWS_CUSTOMERPROFILES_API GetSegmentSnapshotResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSegmentSnapshotResult & WithSnapshotId(SnapshotIdT &&value)
GetSegmentSnapshotResult & WithRequestId(RequestIdT &&value)
GetSegmentSnapshotResult & WithStatusMessage(StatusMessageT &&value)
AWS_CUSTOMERPROFILES_API GetSegmentSnapshotResult()=default
GetSegmentSnapshotResult & WithDataFormat(DataFormat value)
GetSegmentSnapshotResult & WithEncryptionKey(EncryptionKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue