AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const AssessmentDataSourceType& GetAssessmentDataSourceType() const{ return m_assessmentDataSourceType; }
43 inline bool AssessmentDataSourceTypeHasBeenSet() const { return m_assessmentDataSourceTypeHasBeenSet; }
44 inline void SetAssessmentDataSourceType(const AssessmentDataSourceType& value) { m_assessmentDataSourceTypeHasBeenSet = true; m_assessmentDataSourceType = value; }
45 inline void SetAssessmentDataSourceType(AssessmentDataSourceType&& value) { m_assessmentDataSourceTypeHasBeenSet = true; m_assessmentDataSourceType = std::move(value); }
49
51
54 inline const Aws::Vector<AssessmentTarget>& GetAssessmentTargets() const{ return m_assessmentTargets; }
55 inline bool AssessmentTargetsHasBeenSet() const { return m_assessmentTargetsHasBeenSet; }
56 inline void SetAssessmentTargets(const Aws::Vector<AssessmentTarget>& value) { m_assessmentTargetsHasBeenSet = true; m_assessmentTargets = value; }
57 inline void SetAssessmentTargets(Aws::Vector<AssessmentTarget>&& value) { m_assessmentTargetsHasBeenSet = true; m_assessmentTargets = std::move(value); }
60 inline StartAssessmentRequest& AddAssessmentTargets(const AssessmentTarget& value) { m_assessmentTargetsHasBeenSet = true; m_assessmentTargets.push_back(value); return *this; }
61 inline StartAssessmentRequest& AddAssessmentTargets(AssessmentTarget&& value) { m_assessmentTargetsHasBeenSet = true; m_assessmentTargets.push_back(std::move(value)); return *this; }
63
65
69 inline const Aws::String& GetS3bucketForAnalysisData() const{ return m_s3bucketForAnalysisData; }
70 inline bool S3bucketForAnalysisDataHasBeenSet() const { return m_s3bucketForAnalysisDataHasBeenSet; }
71 inline void SetS3bucketForAnalysisData(const Aws::String& value) { m_s3bucketForAnalysisDataHasBeenSet = true; m_s3bucketForAnalysisData = value; }
72 inline void SetS3bucketForAnalysisData(Aws::String&& value) { m_s3bucketForAnalysisDataHasBeenSet = true; m_s3bucketForAnalysisData = std::move(value); }
73 inline void SetS3bucketForAnalysisData(const char* value) { m_s3bucketForAnalysisDataHasBeenSet = true; m_s3bucketForAnalysisData.assign(value); }
76 inline StartAssessmentRequest& WithS3bucketForAnalysisData(const char* value) { SetS3bucketForAnalysisData(value); return *this;}
78
80
84 inline const Aws::String& GetS3bucketForReportData() const{ return m_s3bucketForReportData; }
85 inline bool S3bucketForReportDataHasBeenSet() const { return m_s3bucketForReportDataHasBeenSet; }
86 inline void SetS3bucketForReportData(const Aws::String& value) { m_s3bucketForReportDataHasBeenSet = true; m_s3bucketForReportData = value; }
87 inline void SetS3bucketForReportData(Aws::String&& value) { m_s3bucketForReportDataHasBeenSet = true; m_s3bucketForReportData = std::move(value); }
88 inline void SetS3bucketForReportData(const char* value) { m_s3bucketForReportDataHasBeenSet = true; m_s3bucketForReportData.assign(value); }
90 inline StartAssessmentRequest& WithS3bucketForReportData(Aws::String&& value) { SetS3bucketForReportData(std::move(value)); return *this;}
91 inline StartAssessmentRequest& WithS3bucketForReportData(const char* value) { SetS3bucketForReportData(value); return *this;}
93 private:
94
95 AssessmentDataSourceType m_assessmentDataSourceType;
96 bool m_assessmentDataSourceTypeHasBeenSet = false;
97
98 Aws::Vector<AssessmentTarget> m_assessmentTargets;
99 bool m_assessmentTargetsHasBeenSet = false;
100
101 Aws::String m_s3bucketForAnalysisData;
102 bool m_s3bucketForAnalysisDataHasBeenSet = false;
103
104 Aws::String m_s3bucketForReportData;
105 bool m_s3bucketForReportDataHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace MigrationHubStrategyRecommendations
110} // namespace Aws
StartAssessmentRequest & WithS3bucketForReportData(const Aws::String &value)
void SetAssessmentTargets(const Aws::Vector< AssessmentTarget > &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override
StartAssessmentRequest & WithAssessmentTargets(const Aws::Vector< AssessmentTarget > &value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API StartAssessmentRequest()
StartAssessmentRequest & WithAssessmentTargets(Aws::Vector< AssessmentTarget > &&value)
StartAssessmentRequest & AddAssessmentTargets(const AssessmentTarget &value)
StartAssessmentRequest & AddAssessmentTargets(AssessmentTarget &&value)
StartAssessmentRequest & WithAssessmentDataSourceType(AssessmentDataSourceType &&value)
StartAssessmentRequest & WithS3bucketForAnalysisData(const Aws::String &value)
StartAssessmentRequest & WithAssessmentDataSourceType(const AssessmentDataSourceType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector