AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateAssessmentFrameworkShareRequest.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/ShareRequestType.h>
11#include <aws/auditmanager/model/ShareRequestAction.h>
12#include <utility>
13
14namespace Aws
15{
16namespace AuditManager
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_AUDITMANAGER_API UpdateAssessmentFrameworkShareRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateAssessmentFrameworkShare"; }
33
34 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetRequestId() const { return m_requestId; }
42 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
43 template<typename RequestIdT = Aws::String>
44 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
45 template<typename RequestIdT = Aws::String>
46 UpdateAssessmentFrameworkShareRequest& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
48
50
54 inline ShareRequestType GetRequestType() const { return m_requestType; }
55 inline bool RequestTypeHasBeenSet() const { return m_requestTypeHasBeenSet; }
56 inline void SetRequestType(ShareRequestType value) { m_requestTypeHasBeenSet = true; m_requestType = value; }
59
61
64 inline ShareRequestAction GetAction() const { return m_action; }
65 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
66 inline void SetAction(ShareRequestAction value) { m_actionHasBeenSet = true; m_action = value; }
69 private:
70
71 Aws::String m_requestId;
72 bool m_requestIdHasBeenSet = false;
73
75 bool m_requestTypeHasBeenSet = false;
76
78 bool m_actionHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace AuditManager
83} // namespace Aws
UpdateAssessmentFrameworkShareRequest & WithRequestType(ShareRequestType value)
AWS_AUDITMANAGER_API UpdateAssessmentFrameworkShareRequest()=default
UpdateAssessmentFrameworkShareRequest & WithAction(ShareRequestAction value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
UpdateAssessmentFrameworkShareRequest & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String