AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecommendationReportDetails.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/migrationhubstrategy/model/RecommendationReportStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MigrationHubStrategyRecommendations
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API RecommendationReportDetails();
39 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API RecommendationReportDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API RecommendationReportDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
49 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
50 inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
51 inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); }
53 inline RecommendationReportDetails& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; }
61 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
62 inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
63 inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
64 inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); }
65 inline RecommendationReportDetails& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;}
66 inline RecommendationReportDetails& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;}
67 inline RecommendationReportDetails& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;}
69
71
74 inline const Aws::Vector<Aws::String>& GetS3Keys() const{ return m_s3Keys; }
75 inline bool S3KeysHasBeenSet() const { return m_s3KeysHasBeenSet; }
76 inline void SetS3Keys(const Aws::Vector<Aws::String>& value) { m_s3KeysHasBeenSet = true; m_s3Keys = value; }
77 inline void SetS3Keys(Aws::Vector<Aws::String>&& value) { m_s3KeysHasBeenSet = true; m_s3Keys = std::move(value); }
78 inline RecommendationReportDetails& WithS3Keys(const Aws::Vector<Aws::String>& value) { SetS3Keys(value); return *this;}
79 inline RecommendationReportDetails& WithS3Keys(Aws::Vector<Aws::String>&& value) { SetS3Keys(std::move(value)); return *this;}
80 inline RecommendationReportDetails& AddS3Keys(const Aws::String& value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(value); return *this; }
81 inline RecommendationReportDetails& AddS3Keys(Aws::String&& value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(std::move(value)); return *this; }
82 inline RecommendationReportDetails& AddS3Keys(const char* value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(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 RecommendationReportDetails& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
94 inline RecommendationReportDetails& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
96
98
101 inline const RecommendationReportStatus& GetStatus() const{ return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 inline void SetStatus(const RecommendationReportStatus& value) { m_statusHasBeenSet = true; m_status = value; }
104 inline void SetStatus(RecommendationReportStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
105 inline RecommendationReportDetails& WithStatus(const RecommendationReportStatus& value) { SetStatus(value); return *this;}
106 inline RecommendationReportDetails& WithStatus(RecommendationReportStatus&& 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 RecommendationReportDetails& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
119 inline RecommendationReportDetails& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
120 inline RecommendationReportDetails& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
122 private:
123
124 Aws::Utils::DateTime m_completionTime;
125 bool m_completionTimeHasBeenSet = false;
126
127 Aws::String m_s3Bucket;
128 bool m_s3BucketHasBeenSet = false;
129
131 bool m_s3KeysHasBeenSet = false;
132
133 Aws::Utils::DateTime m_startTime;
134 bool m_startTimeHasBeenSet = false;
135
137 bool m_statusHasBeenSet = false;
138
139 Aws::String m_statusMessage;
140 bool m_statusMessageHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace MigrationHubStrategyRecommendations
145} // namespace Aws
RecommendationReportDetails & WithStartTime(const Aws::Utils::DateTime &value)
RecommendationReportDetails & WithCompletionTime(const Aws::Utils::DateTime &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API RecommendationReportDetails()
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API RecommendationReportDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API RecommendationReportDetails(Aws::Utils::Json::JsonView jsonValue)
RecommendationReportDetails & WithS3Keys(Aws::Vector< Aws::String > &&value)
RecommendationReportDetails & WithStatus(const RecommendationReportStatus &value)
RecommendationReportDetails & WithStartTime(Aws::Utils::DateTime &&value)
RecommendationReportDetails & WithStatus(RecommendationReportStatus &&value)
RecommendationReportDetails & WithS3Keys(const Aws::Vector< Aws::String > &value)
RecommendationReportDetails & WithCompletionTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue