AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
StartContinuousExportResult.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
12#include <aws/discovery/model/DataSource.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ApplicationDiscoveryService {
26namespace Model {
28 public:
29 AWS_APPLICATIONDISCOVERYSERVICE_API StartContinuousExportResult() = default;
31 AWS_APPLICATIONDISCOVERYSERVICE_API StartContinuousExportResult& operator=(
33
35
38 inline const Aws::String& GetExportId() const { return m_exportId; }
39 template <typename ExportIdT = Aws::String>
40 void SetExportId(ExportIdT&& value) {
41 m_exportIdHasBeenSet = true;
42 m_exportId = std::forward<ExportIdT>(value);
43 }
44 template <typename ExportIdT = Aws::String>
46 SetExportId(std::forward<ExportIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetS3Bucket() const { return m_s3Bucket; }
56 template <typename S3BucketT = Aws::String>
57 void SetS3Bucket(S3BucketT&& value) {
58 m_s3BucketHasBeenSet = true;
59 m_s3Bucket = std::forward<S3BucketT>(value);
60 }
61 template <typename S3BucketT = Aws::String>
63 SetS3Bucket(std::forward<S3BucketT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
73 template <typename StartTimeT = Aws::Utils::DateTime>
74 void SetStartTime(StartTimeT&& value) {
75 m_startTimeHasBeenSet = true;
76 m_startTime = std::forward<StartTimeT>(value);
77 }
78 template <typename StartTimeT = Aws::Utils::DateTime>
80 SetStartTime(std::forward<StartTimeT>(value));
81 return *this;
82 }
84
86
90 inline DataSource GetDataSource() const { return m_dataSource; }
91 inline void SetDataSource(DataSource value) {
92 m_dataSourceHasBeenSet = true;
93 m_dataSource = value;
94 }
96 SetDataSource(value);
97 return *this;
98 }
100
102
107 inline const Aws::Map<Aws::String, Aws::String>& GetSchemaStorageConfig() const { return m_schemaStorageConfig; }
108 template <typename SchemaStorageConfigT = Aws::Map<Aws::String, Aws::String>>
109 void SetSchemaStorageConfig(SchemaStorageConfigT&& value) {
110 m_schemaStorageConfigHasBeenSet = true;
111 m_schemaStorageConfig = std::forward<SchemaStorageConfigT>(value);
112 }
113 template <typename SchemaStorageConfigT = Aws::Map<Aws::String, Aws::String>>
115 SetSchemaStorageConfig(std::forward<SchemaStorageConfigT>(value));
116 return *this;
117 }
118 template <typename SchemaStorageConfigKeyT = Aws::String, typename SchemaStorageConfigValueT = Aws::String>
119 StartContinuousExportResult& AddSchemaStorageConfig(SchemaStorageConfigKeyT&& key, SchemaStorageConfigValueT&& value) {
120 m_schemaStorageConfigHasBeenSet = true;
121 m_schemaStorageConfig.emplace(std::forward<SchemaStorageConfigKeyT>(key), std::forward<SchemaStorageConfigValueT>(value));
122 return *this;
123 }
125
127
128 inline const Aws::String& GetRequestId() const { return m_requestId; }
129 template <typename RequestIdT = Aws::String>
130 void SetRequestId(RequestIdT&& value) {
131 m_requestIdHasBeenSet = true;
132 m_requestId = std::forward<RequestIdT>(value);
133 }
134 template <typename RequestIdT = Aws::String>
136 SetRequestId(std::forward<RequestIdT>(value));
137 return *this;
138 }
140 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
141
142 private:
143 Aws::String m_exportId;
144
145 Aws::String m_s3Bucket;
146
147 Aws::Utils::DateTime m_startTime{};
148
149 DataSource m_dataSource{DataSource::NOT_SET};
150
151 Aws::Map<Aws::String, Aws::String> m_schemaStorageConfig;
152
153 Aws::String m_requestId;
154 Aws::Http::HttpResponseCode m_HttpResponseCode;
155 bool m_exportIdHasBeenSet = false;
156 bool m_s3BucketHasBeenSet = false;
157 bool m_startTimeHasBeenSet = false;
158 bool m_dataSourceHasBeenSet = false;
159 bool m_schemaStorageConfigHasBeenSet = false;
160 bool m_requestIdHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace ApplicationDiscoveryService
165} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API StartContinuousExportResult()=default
AWS_APPLICATIONDISCOVERYSERVICE_API StartContinuousExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartContinuousExportResult & AddSchemaStorageConfig(SchemaStorageConfigKeyT &&key, SchemaStorageConfigValueT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API StartContinuousExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetSchemaStorageConfig() const
StartContinuousExportResult & WithSchemaStorageConfig(SchemaStorageConfigT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue