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/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/Assessment.h>
9#include <aws/auditmanager/model/Role.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace AuditManager
26{
27namespace Model
28{
30 {
31 public:
32 AWS_AUDITMANAGER_API GetAssessmentResult();
35
36
38
39 inline const Assessment& GetAssessment() const{ return m_assessment; }
40 inline void SetAssessment(const Assessment& value) { m_assessment = value; }
41 inline void SetAssessment(Assessment&& value) { m_assessment = std::move(value); }
42 inline GetAssessmentResult& WithAssessment(const Assessment& value) { SetAssessment(value); return *this;}
43 inline GetAssessmentResult& WithAssessment(Assessment&& value) { SetAssessment(std::move(value)); return *this;}
45
47
48 inline const Role& GetUserRole() const{ return m_userRole; }
49 inline void SetUserRole(const Role& value) { m_userRole = value; }
50 inline void SetUserRole(Role&& value) { m_userRole = std::move(value); }
51 inline GetAssessmentResult& WithUserRole(const Role& value) { SetUserRole(value); return *this;}
52 inline GetAssessmentResult& WithUserRole(Role&& value) { SetUserRole(std::move(value)); return *this;}
54
56
57 inline const Aws::String& GetRequestId() const{ return m_requestId; }
58 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
59 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
60 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
61 inline GetAssessmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
62 inline GetAssessmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
63 inline GetAssessmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
65 private:
66
67 Assessment m_assessment;
68
69 Role m_userRole;
70
71 Aws::String m_requestId;
72 };
73
74} // namespace Model
75} // namespace AuditManager
76} // namespace Aws
GetAssessmentResult & WithAssessment(const Assessment &value)
AWS_AUDITMANAGER_API GetAssessmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_AUDITMANAGER_API GetAssessmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAssessmentResult & WithRequestId(const Aws::String &value)
GetAssessmentResult & WithUserRole(Role &&value)
GetAssessmentResult & WithAssessment(Assessment &&value)
GetAssessmentResult & WithUserRole(const Role &value)
GetAssessmentResult & WithRequestId(const char *value)
GetAssessmentResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue