AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAssessmentResult.h
1
6#pragma once
7#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/migrationhubstrategy/model/DataCollectionDetails.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/migrationhubstrategy/model/AssessmentTarget.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace MigrationHubStrategyRecommendations
27{
28namespace Model
29{
31 {
32 public:
33 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetAssessmentResult();
34 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetAssessmentResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
35 AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetAssessmentResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
36
37
39
42 inline const Aws::Vector<AssessmentTarget>& GetAssessmentTargets() const{ return m_assessmentTargets; }
43 inline void SetAssessmentTargets(const Aws::Vector<AssessmentTarget>& value) { m_assessmentTargets = value; }
44 inline void SetAssessmentTargets(Aws::Vector<AssessmentTarget>&& value) { m_assessmentTargets = std::move(value); }
47 inline GetAssessmentResult& AddAssessmentTargets(const AssessmentTarget& value) { m_assessmentTargets.push_back(value); return *this; }
48 inline GetAssessmentResult& AddAssessmentTargets(AssessmentTarget&& value) { m_assessmentTargets.push_back(std::move(value)); return *this; }
50
52
55 inline const DataCollectionDetails& GetDataCollectionDetails() const{ return m_dataCollectionDetails; }
56 inline void SetDataCollectionDetails(const DataCollectionDetails& value) { m_dataCollectionDetails = value; }
57 inline void SetDataCollectionDetails(DataCollectionDetails&& value) { m_dataCollectionDetails = std::move(value); }
61
63
66 inline const Aws::String& GetId() const{ return m_id; }
67 inline void SetId(const Aws::String& value) { m_id = value; }
68 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
69 inline void SetId(const char* value) { m_id.assign(value); }
70 inline GetAssessmentResult& WithId(const Aws::String& value) { SetId(value); return *this;}
71 inline GetAssessmentResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
72 inline GetAssessmentResult& WithId(const char* value) { SetId(value); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 inline GetAssessmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline GetAssessmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline GetAssessmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::Vector<AssessmentTarget> m_assessmentTargets;
88
89 DataCollectionDetails m_dataCollectionDetails;
90
91 Aws::String m_id;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace MigrationHubStrategyRecommendations
98} // namespace Aws
GetAssessmentResult & AddAssessmentTargets(AssessmentTarget &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetAssessmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAssessmentTargets(Aws::Vector< AssessmentTarget > &&value)
GetAssessmentResult & WithDataCollectionDetails(const DataCollectionDetails &value)
GetAssessmentResult & WithAssessmentTargets(Aws::Vector< AssessmentTarget > &&value)
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetAssessmentResult()
AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API GetAssessmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAssessmentTargets(const Aws::Vector< AssessmentTarget > &value)
GetAssessmentResult & WithRequestId(const Aws::String &value)
GetAssessmentResult & WithAssessmentTargets(const Aws::Vector< AssessmentTarget > &value)
GetAssessmentResult & AddAssessmentTargets(const AssessmentTarget &value)
const Aws::Vector< AssessmentTarget > & GetAssessmentTargets() const
GetAssessmentResult & WithDataCollectionDetails(DataCollectionDetails &&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