AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataCollectionDetails.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/migrationhubstrategy/model/AssessmentStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.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 MigrationHubStrategyRecommendations
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DataCollectionDetails();
37 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DataCollectionDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DataCollectionDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
47 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
48 inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
49 inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); }
51 inline DataCollectionDetails& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;}
53
55
58 inline int GetFailed() const{ return m_failed; }
59 inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
60 inline void SetFailed(int value) { m_failedHasBeenSet = true; m_failed = value; }
61 inline DataCollectionDetails& WithFailed(int value) { SetFailed(value); return *this;}
63
65
69 inline int GetInProgress() const{ return m_inProgress; }
70 inline bool InProgressHasBeenSet() const { return m_inProgressHasBeenSet; }
71 inline void SetInProgress(int value) { m_inProgressHasBeenSet = true; m_inProgress = value; }
72 inline DataCollectionDetails& WithInProgress(int value) { SetInProgress(value); return *this;}
74
76
79 inline int GetServers() const{ return m_servers; }
80 inline bool ServersHasBeenSet() const { return m_serversHasBeenSet; }
81 inline void SetServers(int value) { m_serversHasBeenSet = true; m_servers = value; }
82 inline DataCollectionDetails& WithServers(int value) { SetServers(value); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
90 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
91 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
92 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
93 inline DataCollectionDetails& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
94 inline DataCollectionDetails& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
96
98
101 inline const AssessmentStatus& GetStatus() const{ return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 inline void SetStatus(const AssessmentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
104 inline void SetStatus(AssessmentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
105 inline DataCollectionDetails& WithStatus(const AssessmentStatus& value) { SetStatus(value); return *this;}
106 inline DataCollectionDetails& WithStatus(AssessmentStatus&& value) { SetStatus(std::move(value)); return *this;}
108
110
113 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
114 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
115 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
116 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
117 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
118 inline DataCollectionDetails& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
119 inline DataCollectionDetails& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
120 inline DataCollectionDetails& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
122
124
127 inline int GetSuccess() const{ return m_success; }
128 inline bool SuccessHasBeenSet() const { return m_successHasBeenSet; }
129 inline void SetSuccess(int value) { m_successHasBeenSet = true; m_success = value; }
130 inline DataCollectionDetails& WithSuccess(int value) { SetSuccess(value); return *this;}
132 private:
133
134 Aws::Utils::DateTime m_completionTime;
135 bool m_completionTimeHasBeenSet = false;
136
137 int m_failed;
138 bool m_failedHasBeenSet = false;
139
140 int m_inProgress;
141 bool m_inProgressHasBeenSet = false;
142
143 int m_servers;
144 bool m_serversHasBeenSet = false;
145
146 Aws::Utils::DateTime m_startTime;
147 bool m_startTimeHasBeenSet = false;
148
149 AssessmentStatus m_status;
150 bool m_statusHasBeenSet = false;
151
152 Aws::String m_statusMessage;
153 bool m_statusMessageHasBeenSet = false;
154
155 int m_success;
156 bool m_successHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace MigrationHubStrategyRecommendations
161} // namespace Aws
DataCollectionDetails & WithCompletionTime(Aws::Utils::DateTime &&value)
DataCollectionDetails & WithStartTime(const Aws::Utils::DateTime &value)
DataCollectionDetails & WithStartTime(Aws::Utils::DateTime &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DataCollectionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
DataCollectionDetails & WithStatusMessage(const Aws::String &value)
DataCollectionDetails & WithCompletionTime(const Aws::Utils::DateTime &value)
DataCollectionDetails & WithStatus(const AssessmentStatus &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DataCollectionDetails()
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DataCollectionDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue