AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
RefreshSchemasResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9#include <aws/dms/model/RefreshSchemasStatus.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace DatabaseMigrationService {
23namespace Model {
30 public:
31 AWS_DATABASEMIGRATIONSERVICE_API RefreshSchemasResult() = default;
34
36
39 inline const RefreshSchemasStatus& GetRefreshSchemasStatus() const { return m_refreshSchemasStatus; }
40 template <typename RefreshSchemasStatusT = RefreshSchemasStatus>
41 void SetRefreshSchemasStatus(RefreshSchemasStatusT&& value) {
42 m_refreshSchemasStatusHasBeenSet = true;
43 m_refreshSchemasStatus = std::forward<RefreshSchemasStatusT>(value);
44 }
45 template <typename RefreshSchemasStatusT = RefreshSchemasStatus>
46 RefreshSchemasResult& WithRefreshSchemasStatus(RefreshSchemasStatusT&& value) {
47 SetRefreshSchemasStatus(std::forward<RefreshSchemasStatusT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetRequestId() const { return m_requestId; }
55 template <typename RequestIdT = Aws::String>
56 void SetRequestId(RequestIdT&& value) {
57 m_requestIdHasBeenSet = true;
58 m_requestId = std::forward<RequestIdT>(value);
59 }
60 template <typename RequestIdT = Aws::String>
61 RefreshSchemasResult& WithRequestId(RequestIdT&& value) {
62 SetRequestId(std::forward<RequestIdT>(value));
63 return *this;
64 }
66 private:
67 RefreshSchemasStatus m_refreshSchemasStatus;
68
69 Aws::String m_requestId;
70 bool m_refreshSchemasStatusHasBeenSet = false;
71 bool m_requestIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace DatabaseMigrationService
76} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API RefreshSchemasResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATABASEMIGRATIONSERVICE_API RefreshSchemasResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATABASEMIGRATIONSERVICE_API RefreshSchemasResult()=default
RefreshSchemasResult & WithRequestId(RequestIdT &&value)
RefreshSchemasResult & WithRefreshSchemasStatus(RefreshSchemasStatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue