AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisionData.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DatabaseMigrationService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATABASEMIGRATIONSERVICE_API ProvisionData();
37 AWS_DATABASEMIGRATIONSERVICE_API ProvisionData(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API ProvisionData& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetProvisionState() const{ return m_provisionState; }
47 inline bool ProvisionStateHasBeenSet() const { return m_provisionStateHasBeenSet; }
48 inline void SetProvisionState(const Aws::String& value) { m_provisionStateHasBeenSet = true; m_provisionState = value; }
49 inline void SetProvisionState(Aws::String&& value) { m_provisionStateHasBeenSet = true; m_provisionState = std::move(value); }
50 inline void SetProvisionState(const char* value) { m_provisionStateHasBeenSet = true; m_provisionState.assign(value); }
51 inline ProvisionData& WithProvisionState(const Aws::String& value) { SetProvisionState(value); return *this;}
52 inline ProvisionData& WithProvisionState(Aws::String&& value) { SetProvisionState(std::move(value)); return *this;}
53 inline ProvisionData& WithProvisionState(const char* value) { SetProvisionState(value); return *this;}
55
57
60 inline int GetProvisionedCapacityUnits() const{ return m_provisionedCapacityUnits; }
61 inline bool ProvisionedCapacityUnitsHasBeenSet() const { return m_provisionedCapacityUnitsHasBeenSet; }
62 inline void SetProvisionedCapacityUnits(int value) { m_provisionedCapacityUnitsHasBeenSet = true; m_provisionedCapacityUnits = value; }
65
67
70 inline const Aws::Utils::DateTime& GetDateProvisioned() const{ return m_dateProvisioned; }
71 inline bool DateProvisionedHasBeenSet() const { return m_dateProvisionedHasBeenSet; }
72 inline void SetDateProvisioned(const Aws::Utils::DateTime& value) { m_dateProvisionedHasBeenSet = true; m_dateProvisioned = value; }
73 inline void SetDateProvisioned(Aws::Utils::DateTime&& value) { m_dateProvisionedHasBeenSet = true; m_dateProvisioned = std::move(value); }
74 inline ProvisionData& WithDateProvisioned(const Aws::Utils::DateTime& value) { SetDateProvisioned(value); return *this;}
75 inline ProvisionData& WithDateProvisioned(Aws::Utils::DateTime&& value) { SetDateProvisioned(std::move(value)); return *this;}
77
79
82 inline bool GetIsNewProvisioningAvailable() const{ return m_isNewProvisioningAvailable; }
83 inline bool IsNewProvisioningAvailableHasBeenSet() const { return m_isNewProvisioningAvailableHasBeenSet; }
84 inline void SetIsNewProvisioningAvailable(bool value) { m_isNewProvisioningAvailableHasBeenSet = true; m_isNewProvisioningAvailable = value; }
87
89
92 inline const Aws::Utils::DateTime& GetDateNewProvisioningDataAvailable() const{ return m_dateNewProvisioningDataAvailable; }
93 inline bool DateNewProvisioningDataAvailableHasBeenSet() const { return m_dateNewProvisioningDataAvailableHasBeenSet; }
94 inline void SetDateNewProvisioningDataAvailable(const Aws::Utils::DateTime& value) { m_dateNewProvisioningDataAvailableHasBeenSet = true; m_dateNewProvisioningDataAvailable = value; }
95 inline void SetDateNewProvisioningDataAvailable(Aws::Utils::DateTime&& value) { m_dateNewProvisioningDataAvailableHasBeenSet = true; m_dateNewProvisioningDataAvailable = std::move(value); }
99
101
105 inline const Aws::String& GetReasonForNewProvisioningData() const{ return m_reasonForNewProvisioningData; }
106 inline bool ReasonForNewProvisioningDataHasBeenSet() const { return m_reasonForNewProvisioningDataHasBeenSet; }
107 inline void SetReasonForNewProvisioningData(const Aws::String& value) { m_reasonForNewProvisioningDataHasBeenSet = true; m_reasonForNewProvisioningData = value; }
108 inline void SetReasonForNewProvisioningData(Aws::String&& value) { m_reasonForNewProvisioningDataHasBeenSet = true; m_reasonForNewProvisioningData = std::move(value); }
109 inline void SetReasonForNewProvisioningData(const char* value) { m_reasonForNewProvisioningDataHasBeenSet = true; m_reasonForNewProvisioningData.assign(value); }
112 inline ProvisionData& WithReasonForNewProvisioningData(const char* value) { SetReasonForNewProvisioningData(value); return *this;}
114 private:
115
116 Aws::String m_provisionState;
117 bool m_provisionStateHasBeenSet = false;
118
119 int m_provisionedCapacityUnits;
120 bool m_provisionedCapacityUnitsHasBeenSet = false;
121
122 Aws::Utils::DateTime m_dateProvisioned;
123 bool m_dateProvisionedHasBeenSet = false;
124
125 bool m_isNewProvisioningAvailable;
126 bool m_isNewProvisioningAvailableHasBeenSet = false;
127
128 Aws::Utils::DateTime m_dateNewProvisioningDataAvailable;
129 bool m_dateNewProvisioningDataAvailableHasBeenSet = false;
130
131 Aws::String m_reasonForNewProvisioningData;
132 bool m_reasonForNewProvisioningDataHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace DatabaseMigrationService
137} // namespace Aws
ProvisionData & WithProvisionState(const char *value)
ProvisionData & WithIsNewProvisioningAvailable(bool value)
void SetDateProvisioned(Aws::Utils::DateTime &&value)
ProvisionData & WithDateNewProvisioningDataAvailable(Aws::Utils::DateTime &&value)
void SetReasonForNewProvisioningData(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API ProvisionData()
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetDateNewProvisioningDataAvailable() const
ProvisionData & WithDateProvisioned(Aws::Utils::DateTime &&value)
ProvisionData & WithDateProvisioned(const Aws::Utils::DateTime &value)
void SetDateProvisioned(const Aws::Utils::DateTime &value)
void SetProvisionState(const Aws::String &value)
ProvisionData & WithDateNewProvisioningDataAvailable(const Aws::Utils::DateTime &value)
ProvisionData & WithProvisionedCapacityUnits(int value)
AWS_DATABASEMIGRATIONSERVICE_API ProvisionData & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisionData & WithProvisionState(const Aws::String &value)
const Aws::Utils::DateTime & GetDateProvisioned() const
ProvisionData & WithReasonForNewProvisioningData(const Aws::String &value)
ProvisionData & WithProvisionState(Aws::String &&value)
const Aws::String & GetReasonForNewProvisioningData() const
ProvisionData & WithReasonForNewProvisioningData(Aws::String &&value)
void SetDateNewProvisioningDataAvailable(const Aws::Utils::DateTime &value)
void SetDateNewProvisioningDataAvailable(Aws::Utils::DateTime &&value)
AWS_DATABASEMIGRATIONSERVICE_API ProvisionData(Aws::Utils::Json::JsonView jsonValue)
ProvisionData & WithReasonForNewProvisioningData(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue