AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAssessmentStatusRequest.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/AuditManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/auditmanager/model/AssessmentStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AuditManager
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_AUDITMANAGER_API UpdateAssessmentStatusRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateAssessmentStatus"; }
32
33 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAssessmentId() const{ return m_assessmentId; }
41 inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; }
42 inline void SetAssessmentId(const Aws::String& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = value; }
43 inline void SetAssessmentId(Aws::String&& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = std::move(value); }
44 inline void SetAssessmentId(const char* value) { m_assessmentIdHasBeenSet = true; m_assessmentId.assign(value); }
45 inline UpdateAssessmentStatusRequest& WithAssessmentId(const Aws::String& value) { SetAssessmentId(value); return *this;}
46 inline UpdateAssessmentStatusRequest& WithAssessmentId(Aws::String&& value) { SetAssessmentId(std::move(value)); return *this;}
47 inline UpdateAssessmentStatusRequest& WithAssessmentId(const char* value) { SetAssessmentId(value); return *this;}
49
51
54 inline const AssessmentStatus& GetStatus() const{ return m_status; }
55 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
56 inline void SetStatus(const AssessmentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
57 inline void SetStatus(AssessmentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
58 inline UpdateAssessmentStatusRequest& WithStatus(const AssessmentStatus& value) { SetStatus(value); return *this;}
59 inline UpdateAssessmentStatusRequest& WithStatus(AssessmentStatus&& value) { SetStatus(std::move(value)); return *this;}
61 private:
62
63 Aws::String m_assessmentId;
64 bool m_assessmentIdHasBeenSet = false;
65
66 AssessmentStatus m_status;
67 bool m_statusHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace AuditManager
72} // namespace Aws
UpdateAssessmentStatusRequest & WithStatus(AssessmentStatus &&value)
UpdateAssessmentStatusRequest & WithAssessmentId(const char *value)
UpdateAssessmentStatusRequest & WithAssessmentId(Aws::String &&value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
UpdateAssessmentStatusRequest & WithAssessmentId(const Aws::String &value)
UpdateAssessmentStatusRequest & WithStatus(const AssessmentStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String