AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteAssessmentFrameworkShareRequest.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 <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace AuditManager
20{
21namespace Model
22{
23
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteAssessmentFrameworkShare"; }
36
37 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
38
39 AWS_AUDITMANAGER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetRequestId() const{ return m_requestId; }
47 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
48 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
49 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
50 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
51 inline DeleteAssessmentFrameworkShareRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
52 inline DeleteAssessmentFrameworkShareRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
53 inline DeleteAssessmentFrameworkShareRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;}
55
57
61 inline const ShareRequestType& GetRequestType() const{ return m_requestType; }
62 inline bool RequestTypeHasBeenSet() const { return m_requestTypeHasBeenSet; }
63 inline void SetRequestType(const ShareRequestType& value) { m_requestTypeHasBeenSet = true; m_requestType = value; }
64 inline void SetRequestType(ShareRequestType&& value) { m_requestTypeHasBeenSet = true; m_requestType = std::move(value); }
66 inline DeleteAssessmentFrameworkShareRequest& WithRequestType(ShareRequestType&& value) { SetRequestType(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_requestId;
71 bool m_requestIdHasBeenSet = false;
72
73 ShareRequestType m_requestType;
74 bool m_requestTypeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AuditManager
79} // namespace Aws
DeleteAssessmentFrameworkShareRequest & WithRequestId(Aws::String &&value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
DeleteAssessmentFrameworkShareRequest & WithRequestType(const ShareRequestType &value)
DeleteAssessmentFrameworkShareRequest & WithRequestId(const Aws::String &value)
DeleteAssessmentFrameworkShareRequest & WithRequestId(const char *value)
DeleteAssessmentFrameworkShareRequest & WithRequestType(ShareRequestType &&value)
AWS_AUDITMANAGER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String