AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ExportSqlDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DatabaseMigrationService {
20namespace Model {
21
29 public:
30 AWS_DATABASEMIGRATIONSERVICE_API ExportSqlDetails() = default;
31 AWS_DATABASEMIGRATIONSERVICE_API ExportSqlDetails(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DATABASEMIGRATIONSERVICE_API ExportSqlDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetS3ObjectKey() const { return m_s3ObjectKey; }
41 inline bool S3ObjectKeyHasBeenSet() const { return m_s3ObjectKeyHasBeenSet; }
42 template <typename S3ObjectKeyT = Aws::String>
43 void SetS3ObjectKey(S3ObjectKeyT&& value) {
44 m_s3ObjectKeyHasBeenSet = true;
45 m_s3ObjectKey = std::forward<S3ObjectKeyT>(value);
46 }
47 template <typename S3ObjectKeyT = Aws::String>
48 ExportSqlDetails& WithS3ObjectKey(S3ObjectKeyT&& value) {
49 SetS3ObjectKey(std::forward<S3ObjectKeyT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetObjectURL() const { return m_objectURL; }
59 inline bool ObjectURLHasBeenSet() const { return m_objectURLHasBeenSet; }
60 template <typename ObjectURLT = Aws::String>
61 void SetObjectURL(ObjectURLT&& value) {
62 m_objectURLHasBeenSet = true;
63 m_objectURL = std::forward<ObjectURLT>(value);
64 }
65 template <typename ObjectURLT = Aws::String>
66 ExportSqlDetails& WithObjectURL(ObjectURLT&& value) {
67 SetObjectURL(std::forward<ObjectURLT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_s3ObjectKey;
73
74 Aws::String m_objectURL;
75 bool m_s3ObjectKeyHasBeenSet = false;
76 bool m_objectURLHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace DatabaseMigrationService
81} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API ExportSqlDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API ExportSqlDetails()=default
AWS_DATABASEMIGRATIONSERVICE_API ExportSqlDetails(Aws::Utils::Json::JsonView jsonValue)
ExportSqlDetails & WithS3ObjectKey(S3ObjectKeyT &&value)
ExportSqlDetails & WithObjectURL(ObjectURLT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue