AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
44 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
45 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
46 inline UpdateAssessmentFrameworkShareRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
47 inline UpdateAssessmentFrameworkShareRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
48 inline UpdateAssessmentFrameworkShareRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;}
50
52
56 inline const ShareRequestType& GetRequestType() const{ return m_requestType; }
57 inline bool RequestTypeHasBeenSet() const { return m_requestTypeHasBeenSet; }
58 inline void SetRequestType(const ShareRequestType& value) { m_requestTypeHasBeenSet = true; m_requestType = value; }
59 inline void SetRequestType(ShareRequestType&& value) { m_requestTypeHasBeenSet = true; m_requestType = std::move(value); }
61 inline UpdateAssessmentFrameworkShareRequest& WithRequestType(ShareRequestType&& value) { SetRequestType(std::move(value)); return *this;}
63
65
68 inline const ShareRequestAction& GetAction() const{ return m_action; }
69 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
70 inline void SetAction(const ShareRequestAction& value) { m_actionHasBeenSet = true; m_action = value; }
71 inline void SetAction(ShareRequestAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
73 inline UpdateAssessmentFrameworkShareRequest& WithAction(ShareRequestAction&& value) { SetAction(std::move(value)); return *this;}
75 private:
76
77 Aws::String m_requestId;
78 bool m_requestIdHasBeenSet = false;
79
80 ShareRequestType m_requestType;
81 bool m_requestTypeHasBeenSet = false;
82
83 ShareRequestAction m_action;
84 bool m_actionHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace AuditManager
89} // namespace Aws
UpdateAssessmentFrameworkShareRequest & WithRequestType(const ShareRequestType &value)
UpdateAssessmentFrameworkShareRequest & WithAction(ShareRequestAction &&value)
UpdateAssessmentFrameworkShareRequest & WithRequestId(Aws::String &&value)
UpdateAssessmentFrameworkShareRequest & WithRequestId(const Aws::String &value)
UpdateAssessmentFrameworkShareRequest & WithRequestId(const char *value)
UpdateAssessmentFrameworkShareRequest & WithAction(const ShareRequestAction &value)
UpdateAssessmentFrameworkShareRequest & WithRequestType(ShareRequestType &&value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String