AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
GetChangeLogsRequest.h
1
6#pragma once
7#include <aws/auditmanager/AuditManagerRequest.h>
8#include <aws/auditmanager/AuditManager_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace AuditManager {
18namespace Model {
19
23 public:
24 AWS_AUDITMANAGER_API GetChangeLogsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetChangeLogs"; }
31
32 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
33
34 AWS_AUDITMANAGER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetAssessmentId() const { return m_assessmentId; }
41 inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; }
42 template <typename AssessmentIdT = Aws::String>
43 void SetAssessmentId(AssessmentIdT&& value) {
44 m_assessmentIdHasBeenSet = true;
45 m_assessmentId = std::forward<AssessmentIdT>(value);
46 }
47 template <typename AssessmentIdT = Aws::String>
48 GetChangeLogsRequest& WithAssessmentId(AssessmentIdT&& value) {
49 SetAssessmentId(std::forward<AssessmentIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetControlSetId() const { return m_controlSetId; }
59 inline bool ControlSetIdHasBeenSet() const { return m_controlSetIdHasBeenSet; }
60 template <typename ControlSetIdT = Aws::String>
61 void SetControlSetId(ControlSetIdT&& value) {
62 m_controlSetIdHasBeenSet = true;
63 m_controlSetId = std::forward<ControlSetIdT>(value);
64 }
65 template <typename ControlSetIdT = Aws::String>
66 GetChangeLogsRequest& WithControlSetId(ControlSetIdT&& value) {
67 SetControlSetId(std::forward<ControlSetIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetControlId() const { return m_controlId; }
77 inline bool ControlIdHasBeenSet() const { return m_controlIdHasBeenSet; }
78 template <typename ControlIdT = Aws::String>
79 void SetControlId(ControlIdT&& value) {
80 m_controlIdHasBeenSet = true;
81 m_controlId = std::forward<ControlIdT>(value);
82 }
83 template <typename ControlIdT = Aws::String>
84 GetChangeLogsRequest& WithControlId(ControlIdT&& value) {
85 SetControlId(std::forward<ControlIdT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetNextToken() const { return m_nextToken; }
95 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
96 template <typename NextTokenT = Aws::String>
97 void SetNextToken(NextTokenT&& value) {
98 m_nextTokenHasBeenSet = true;
99 m_nextToken = std::forward<NextTokenT>(value);
100 }
101 template <typename NextTokenT = Aws::String>
102 GetChangeLogsRequest& WithNextToken(NextTokenT&& value) {
103 SetNextToken(std::forward<NextTokenT>(value));
104 return *this;
105 }
107
109
113 inline int GetMaxResults() const { return m_maxResults; }
114 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
115 inline void SetMaxResults(int value) {
116 m_maxResultsHasBeenSet = true;
117 m_maxResults = value;
118 }
120 SetMaxResults(value);
121 return *this;
122 }
124 private:
125 Aws::String m_assessmentId;
126
127 Aws::String m_controlSetId;
128
129 Aws::String m_controlId;
130
131 Aws::String m_nextToken;
132
133 int m_maxResults{0};
134 bool m_assessmentIdHasBeenSet = false;
135 bool m_controlSetIdHasBeenSet = false;
136 bool m_controlIdHasBeenSet = false;
137 bool m_nextTokenHasBeenSet = false;
138 bool m_maxResultsHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace AuditManager
143} // namespace Aws
GetChangeLogsRequest & WithNextToken(NextTokenT &&value)
GetChangeLogsRequest & WithAssessmentId(AssessmentIdT &&value)
AWS_AUDITMANAGER_API GetChangeLogsRequest()=default
GetChangeLogsRequest & WithControlId(ControlIdT &&value)
GetChangeLogsRequest & WithMaxResults(int value)
AWS_AUDITMANAGER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetChangeLogsRequest & WithControlSetId(ControlSetIdT &&value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String