AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetSegmentSnapshotResult.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/model/SegmentSnapshotStatus.h>
10#include <aws/customer-profiles/model/DataFormat.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 CustomerProfiles
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CUSTOMERPROFILES_API GetSegmentSnapshotResult() = default;
35
36
38
41 inline const Aws::String& GetSnapshotId() const { return m_snapshotId; }
42 template<typename SnapshotIdT = Aws::String>
43 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet = true; m_snapshotId = std::forward<SnapshotIdT>(value); }
44 template<typename SnapshotIdT = Aws::String>
45 GetSegmentSnapshotResult& WithSnapshotId(SnapshotIdT&& value) { SetSnapshotId(std::forward<SnapshotIdT>(value)); return *this;}
47
49
52 inline SegmentSnapshotStatus GetStatus() const { return m_status; }
53 inline void SetStatus(SegmentSnapshotStatus value) { m_statusHasBeenSet = true; m_status = value; }
56
58
62 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
63 template<typename StatusMessageT = Aws::String>
64 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
65 template<typename StatusMessageT = Aws::String>
66 GetSegmentSnapshotResult& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
68
70
73 inline DataFormat GetDataFormat() const { return m_dataFormat; }
74 inline void SetDataFormat(DataFormat value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
75 inline GetSegmentSnapshotResult& WithDataFormat(DataFormat value) { SetDataFormat(value); return *this;}
77
79
83 inline const Aws::String& GetEncryptionKey() const { return m_encryptionKey; }
84 template<typename EncryptionKeyT = Aws::String>
85 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
86 template<typename EncryptionKeyT = Aws::String>
87 GetSegmentSnapshotResult& WithEncryptionKey(EncryptionKeyT&& value) { SetEncryptionKey(std::forward<EncryptionKeyT>(value)); return *this;}
89
91
95 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
96 template<typename RoleArnT = Aws::String>
97 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
98 template<typename RoleArnT = Aws::String>
99 GetSegmentSnapshotResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
101
103
108 inline const Aws::String& GetDestinationUri() const { return m_destinationUri; }
109 template<typename DestinationUriT = Aws::String>
110 void SetDestinationUri(DestinationUriT&& value) { m_destinationUriHasBeenSet = true; m_destinationUri = std::forward<DestinationUriT>(value); }
111 template<typename DestinationUriT = Aws::String>
112 GetSegmentSnapshotResult& WithDestinationUri(DestinationUriT&& value) { SetDestinationUri(std::forward<DestinationUriT>(value)); return *this;}
114
116
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 template<typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
120 template<typename RequestIdT = Aws::String>
121 GetSegmentSnapshotResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
123 private:
124
125 Aws::String m_snapshotId;
126 bool m_snapshotIdHasBeenSet = false;
127
129 bool m_statusHasBeenSet = false;
130
131 Aws::String m_statusMessage;
132 bool m_statusMessageHasBeenSet = false;
133
134 DataFormat m_dataFormat{DataFormat::NOT_SET};
135 bool m_dataFormatHasBeenSet = false;
136
137 Aws::String m_encryptionKey;
138 bool m_encryptionKeyHasBeenSet = false;
139
140 Aws::String m_roleArn;
141 bool m_roleArnHasBeenSet = false;
142
143 Aws::String m_destinationUri;
144 bool m_destinationUriHasBeenSet = false;
145
146 Aws::String m_requestId;
147 bool m_requestIdHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace CustomerProfiles
152} // 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