AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetChangeLogsRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace AuditManager
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_AUDITMANAGER_API GetChangeLogsRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetChangeLogs"; }
35
36 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
37
38 AWS_AUDITMANAGER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetAssessmentId() const{ return m_assessmentId; }
46 inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; }
47 inline void SetAssessmentId(const Aws::String& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = value; }
48 inline void SetAssessmentId(Aws::String&& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = std::move(value); }
49 inline void SetAssessmentId(const char* value) { m_assessmentIdHasBeenSet = true; m_assessmentId.assign(value); }
50 inline GetChangeLogsRequest& WithAssessmentId(const Aws::String& value) { SetAssessmentId(value); return *this;}
51 inline GetChangeLogsRequest& WithAssessmentId(Aws::String&& value) { SetAssessmentId(std::move(value)); return *this;}
52 inline GetChangeLogsRequest& WithAssessmentId(const char* value) { SetAssessmentId(value); return *this;}
54
56
59 inline const Aws::String& GetControlSetId() const{ return m_controlSetId; }
60 inline bool ControlSetIdHasBeenSet() const { return m_controlSetIdHasBeenSet; }
61 inline void SetControlSetId(const Aws::String& value) { m_controlSetIdHasBeenSet = true; m_controlSetId = value; }
62 inline void SetControlSetId(Aws::String&& value) { m_controlSetIdHasBeenSet = true; m_controlSetId = std::move(value); }
63 inline void SetControlSetId(const char* value) { m_controlSetIdHasBeenSet = true; m_controlSetId.assign(value); }
64 inline GetChangeLogsRequest& WithControlSetId(const Aws::String& value) { SetControlSetId(value); return *this;}
65 inline GetChangeLogsRequest& WithControlSetId(Aws::String&& value) { SetControlSetId(std::move(value)); return *this;}
66 inline GetChangeLogsRequest& WithControlSetId(const char* value) { SetControlSetId(value); return *this;}
68
70
73 inline const Aws::String& GetControlId() const{ return m_controlId; }
74 inline bool ControlIdHasBeenSet() const { return m_controlIdHasBeenSet; }
75 inline void SetControlId(const Aws::String& value) { m_controlIdHasBeenSet = true; m_controlId = value; }
76 inline void SetControlId(Aws::String&& value) { m_controlIdHasBeenSet = true; m_controlId = std::move(value); }
77 inline void SetControlId(const char* value) { m_controlIdHasBeenSet = true; m_controlId.assign(value); }
78 inline GetChangeLogsRequest& WithControlId(const Aws::String& value) { SetControlId(value); return *this;}
79 inline GetChangeLogsRequest& WithControlId(Aws::String&& value) { SetControlId(std::move(value)); return *this;}
80 inline GetChangeLogsRequest& WithControlId(const char* value) { SetControlId(value); return *this;}
82
84
87 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
88 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
89 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
90 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
91 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
92 inline GetChangeLogsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
93 inline GetChangeLogsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
94 inline GetChangeLogsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
96
98
102 inline int GetMaxResults() const{ return m_maxResults; }
103 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
104 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
105 inline GetChangeLogsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
107 private:
108
109 Aws::String m_assessmentId;
110 bool m_assessmentIdHasBeenSet = false;
111
112 Aws::String m_controlSetId;
113 bool m_controlSetIdHasBeenSet = false;
114
115 Aws::String m_controlId;
116 bool m_controlIdHasBeenSet = false;
117
118 Aws::String m_nextToken;
119 bool m_nextTokenHasBeenSet = false;
120
121 int m_maxResults;
122 bool m_maxResultsHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace AuditManager
127} // namespace Aws
GetChangeLogsRequest & WithNextToken(Aws::String &&value)
GetChangeLogsRequest & WithControlId(const Aws::String &value)
GetChangeLogsRequest & WithControlSetId(const Aws::String &value)
GetChangeLogsRequest & WithControlSetId(Aws::String &&value)
GetChangeLogsRequest & WithControlId(const char *value)
GetChangeLogsRequest & WithControlId(Aws::String &&value)
GetChangeLogsRequest & WithAssessmentId(Aws::String &&value)
GetChangeLogsRequest & WithMaxResults(int value)
GetChangeLogsRequest & WithNextToken(const char *value)
AWS_AUDITMANAGER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
GetChangeLogsRequest & WithAssessmentId(const char *value)
virtual const char * GetServiceRequestName() const override
GetChangeLogsRequest & WithAssessmentId(const Aws::String &value)
GetChangeLogsRequest & WithNextToken(const Aws::String &value)
GetChangeLogsRequest & WithControlSetId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String