AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartAssessmentRequest.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendationsRequest.h>
9#include <aws/migrationhubstrategy/model/AssessmentDataSourceType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/migrationhubstrategy/model/AssessmentTarget.h>
13#include <utility>
14
15namespace Aws
16{
17namespace MigrationHubStrategyRecommendations
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API StartAssessmentRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "StartAssessment"; }
34
35 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override;
36
37
39
42 inline AssessmentDataSourceType GetAssessmentDataSourceType() const { return m_assessmentDataSourceType; }
43 inline bool AssessmentDataSourceTypeHasBeenSet() const { return m_assessmentDataSourceTypeHasBeenSet; }
44 inline void SetAssessmentDataSourceType(AssessmentDataSourceType value) { m_assessmentDataSourceTypeHasBeenSet = true; m_assessmentDataSourceType = value; }
47
49
52 inline const Aws::Vector<AssessmentTarget>& GetAssessmentTargets() const { return m_assessmentTargets; }
53 inline bool AssessmentTargetsHasBeenSet() const { return m_assessmentTargetsHasBeenSet; }
54 template<typename AssessmentTargetsT = Aws::Vector<AssessmentTarget>>
55 void SetAssessmentTargets(AssessmentTargetsT&& value) { m_assessmentTargetsHasBeenSet = true; m_assessmentTargets = std::forward<AssessmentTargetsT>(value); }
56 template<typename AssessmentTargetsT = Aws::Vector<AssessmentTarget>>
57 StartAssessmentRequest& WithAssessmentTargets(AssessmentTargetsT&& value) { SetAssessmentTargets(std::forward<AssessmentTargetsT>(value)); return *this;}
58 template<typename AssessmentTargetsT = AssessmentTarget>
59 StartAssessmentRequest& AddAssessmentTargets(AssessmentTargetsT&& value) { m_assessmentTargetsHasBeenSet = true; m_assessmentTargets.emplace_back(std::forward<AssessmentTargetsT>(value)); return *this; }
61
63
67 inline const Aws::String& GetS3bucketForAnalysisData() const { return m_s3bucketForAnalysisData; }
68 inline bool S3bucketForAnalysisDataHasBeenSet() const { return m_s3bucketForAnalysisDataHasBeenSet; }
69 template<typename S3bucketForAnalysisDataT = Aws::String>
70 void SetS3bucketForAnalysisData(S3bucketForAnalysisDataT&& value) { m_s3bucketForAnalysisDataHasBeenSet = true; m_s3bucketForAnalysisData = std::forward<S3bucketForAnalysisDataT>(value); }
71 template<typename S3bucketForAnalysisDataT = Aws::String>
72 StartAssessmentRequest& WithS3bucketForAnalysisData(S3bucketForAnalysisDataT&& value) { SetS3bucketForAnalysisData(std::forward<S3bucketForAnalysisDataT>(value)); return *this;}
74
76
80 inline const Aws::String& GetS3bucketForReportData() const { return m_s3bucketForReportData; }
81 inline bool S3bucketForReportDataHasBeenSet() const { return m_s3bucketForReportDataHasBeenSet; }
82 template<typename S3bucketForReportDataT = Aws::String>
83 void SetS3bucketForReportData(S3bucketForReportDataT&& value) { m_s3bucketForReportDataHasBeenSet = true; m_s3bucketForReportData = std::forward<S3bucketForReportDataT>(value); }
84 template<typename S3bucketForReportDataT = Aws::String>
85 StartAssessmentRequest& WithS3bucketForReportData(S3bucketForReportDataT&& value) { SetS3bucketForReportData(std::forward<S3bucketForReportDataT>(value)); return *this;}
87 private:
88
90 bool m_assessmentDataSourceTypeHasBeenSet = false;
91
92 Aws::Vector<AssessmentTarget> m_assessmentTargets;
93 bool m_assessmentTargetsHasBeenSet = false;
94
95 Aws::String m_s3bucketForAnalysisData;
96 bool m_s3bucketForAnalysisDataHasBeenSet = false;
97
98 Aws::String m_s3bucketForReportData;
99 bool m_s3bucketForReportDataHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace MigrationHubStrategyRecommendations
104} // namespace Aws
StartAssessmentRequest & WithS3bucketForReportData(S3bucketForReportDataT &&value)
StartAssessmentRequest & WithAssessmentDataSourceType(AssessmentDataSourceType value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override
StartAssessmentRequest & WithS3bucketForAnalysisData(S3bucketForAnalysisDataT &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API StartAssessmentRequest()=default
StartAssessmentRequest & AddAssessmentTargets(AssessmentTargetsT &&value)
StartAssessmentRequest & WithAssessmentTargets(AssessmentTargetsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector