AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RefreshSchemasStatus.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/RefreshSchemasStatusTypeValue.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DatabaseMigrationService
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_DATABASEMIGRATIONSERVICE_API RefreshSchemasStatus();
39 AWS_DATABASEMIGRATIONSERVICE_API RefreshSchemasStatus(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATABASEMIGRATIONSERVICE_API RefreshSchemasStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; }
50 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
51 inline void SetEndpointArn(const Aws::String& value) { m_endpointArnHasBeenSet = true; m_endpointArn = value; }
52 inline void SetEndpointArn(Aws::String&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::move(value); }
53 inline void SetEndpointArn(const char* value) { m_endpointArnHasBeenSet = true; m_endpointArn.assign(value); }
54 inline RefreshSchemasStatus& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;}
55 inline RefreshSchemasStatus& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;}
56 inline RefreshSchemasStatus& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;}
58
60
63 inline const Aws::String& GetReplicationInstanceArn() const{ return m_replicationInstanceArn; }
64 inline bool ReplicationInstanceArnHasBeenSet() const { return m_replicationInstanceArnHasBeenSet; }
65 inline void SetReplicationInstanceArn(const Aws::String& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = value; }
66 inline void SetReplicationInstanceArn(Aws::String&& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = std::move(value); }
67 inline void SetReplicationInstanceArn(const char* value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn.assign(value); }
69 inline RefreshSchemasStatus& WithReplicationInstanceArn(Aws::String&& value) { SetReplicationInstanceArn(std::move(value)); return *this;}
70 inline RefreshSchemasStatus& WithReplicationInstanceArn(const char* value) { SetReplicationInstanceArn(value); return *this;}
72
74
77 inline const RefreshSchemasStatusTypeValue& GetStatus() const{ return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(const RefreshSchemasStatusTypeValue& value) { m_statusHasBeenSet = true; m_status = value; }
80 inline void SetStatus(RefreshSchemasStatusTypeValue&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
81 inline RefreshSchemasStatus& WithStatus(const RefreshSchemasStatusTypeValue& value) { SetStatus(value); return *this;}
82 inline RefreshSchemasStatus& WithStatus(RefreshSchemasStatusTypeValue&& value) { SetStatus(std::move(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetLastRefreshDate() const{ return m_lastRefreshDate; }
90 inline bool LastRefreshDateHasBeenSet() const { return m_lastRefreshDateHasBeenSet; }
91 inline void SetLastRefreshDate(const Aws::Utils::DateTime& value) { m_lastRefreshDateHasBeenSet = true; m_lastRefreshDate = value; }
92 inline void SetLastRefreshDate(Aws::Utils::DateTime&& value) { m_lastRefreshDateHasBeenSet = true; m_lastRefreshDate = std::move(value); }
94 inline RefreshSchemasStatus& WithLastRefreshDate(Aws::Utils::DateTime&& value) { SetLastRefreshDate(std::move(value)); return *this;}
96
98
101 inline const Aws::String& GetLastFailureMessage() const{ return m_lastFailureMessage; }
102 inline bool LastFailureMessageHasBeenSet() const { return m_lastFailureMessageHasBeenSet; }
103 inline void SetLastFailureMessage(const Aws::String& value) { m_lastFailureMessageHasBeenSet = true; m_lastFailureMessage = value; }
104 inline void SetLastFailureMessage(Aws::String&& value) { m_lastFailureMessageHasBeenSet = true; m_lastFailureMessage = std::move(value); }
105 inline void SetLastFailureMessage(const char* value) { m_lastFailureMessageHasBeenSet = true; m_lastFailureMessage.assign(value); }
107 inline RefreshSchemasStatus& WithLastFailureMessage(Aws::String&& value) { SetLastFailureMessage(std::move(value)); return *this;}
108 inline RefreshSchemasStatus& WithLastFailureMessage(const char* value) { SetLastFailureMessage(value); return *this;}
110 private:
111
112 Aws::String m_endpointArn;
113 bool m_endpointArnHasBeenSet = false;
114
115 Aws::String m_replicationInstanceArn;
116 bool m_replicationInstanceArnHasBeenSet = false;
117
119 bool m_statusHasBeenSet = false;
120
121 Aws::Utils::DateTime m_lastRefreshDate;
122 bool m_lastRefreshDateHasBeenSet = false;
123
124 Aws::String m_lastFailureMessage;
125 bool m_lastFailureMessageHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace DatabaseMigrationService
130} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API RefreshSchemasStatus(Aws::Utils::Json::JsonView jsonValue)
RefreshSchemasStatus & WithReplicationInstanceArn(Aws::String &&value)
RefreshSchemasStatus & WithLastFailureMessage(const Aws::String &value)
RefreshSchemasStatus & WithEndpointArn(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RefreshSchemasStatus & WithEndpointArn(const char *value)
RefreshSchemasStatus & WithLastFailureMessage(const char *value)
RefreshSchemasStatus & WithReplicationInstanceArn(const char *value)
RefreshSchemasStatus & WithLastRefreshDate(Aws::Utils::DateTime &&value)
AWS_DATABASEMIGRATIONSERVICE_API RefreshSchemasStatus()
RefreshSchemasStatus & WithReplicationInstanceArn(const Aws::String &value)
RefreshSchemasStatus & WithStatus(RefreshSchemasStatusTypeValue &&value)
void SetStatus(const RefreshSchemasStatusTypeValue &value)
void SetLastRefreshDate(const Aws::Utils::DateTime &value)
const RefreshSchemasStatusTypeValue & GetStatus() const
RefreshSchemasStatus & WithStatus(const RefreshSchemasStatusTypeValue &value)
void SetStatus(RefreshSchemasStatusTypeValue &&value)
RefreshSchemasStatus & WithLastRefreshDate(const Aws::Utils::DateTime &value)
RefreshSchemasStatus & WithLastFailureMessage(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API RefreshSchemasStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
RefreshSchemasStatus & WithEndpointArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue