AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListControlsRequest.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/AuditManagerRequest.h>
9#include <aws/auditmanager/model/ControlType.h>
10#include <aws/core/utils/memory/stl/AWSString.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:
29 AWS_AUDITMANAGER_API ListControlsRequest();
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 "ListControls"; }
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 ControlType& GetControlType() const{ return m_controlType; }
47 inline bool ControlTypeHasBeenSet() const { return m_controlTypeHasBeenSet; }
48 inline void SetControlType(const ControlType& value) { m_controlTypeHasBeenSet = true; m_controlType = value; }
49 inline void SetControlType(ControlType&& value) { m_controlTypeHasBeenSet = true; m_controlType = std::move(value); }
50 inline ListControlsRequest& WithControlType(const ControlType& value) { SetControlType(value); return *this;}
51 inline ListControlsRequest& WithControlType(ControlType&& value) { SetControlType(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
59 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
60 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
61 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
62 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
63 inline ListControlsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
64 inline ListControlsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
65 inline ListControlsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
67
69
72 inline int GetMaxResults() const{ return m_maxResults; }
73 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
74 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
75 inline ListControlsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
77
79
99 inline const Aws::String& GetControlCatalogId() const{ return m_controlCatalogId; }
100 inline bool ControlCatalogIdHasBeenSet() const { return m_controlCatalogIdHasBeenSet; }
101 inline void SetControlCatalogId(const Aws::String& value) { m_controlCatalogIdHasBeenSet = true; m_controlCatalogId = value; }
102 inline void SetControlCatalogId(Aws::String&& value) { m_controlCatalogIdHasBeenSet = true; m_controlCatalogId = std::move(value); }
103 inline void SetControlCatalogId(const char* value) { m_controlCatalogIdHasBeenSet = true; m_controlCatalogId.assign(value); }
104 inline ListControlsRequest& WithControlCatalogId(const Aws::String& value) { SetControlCatalogId(value); return *this;}
105 inline ListControlsRequest& WithControlCatalogId(Aws::String&& value) { SetControlCatalogId(std::move(value)); return *this;}
106 inline ListControlsRequest& WithControlCatalogId(const char* value) { SetControlCatalogId(value); return *this;}
108 private:
109
110 ControlType m_controlType;
111 bool m_controlTypeHasBeenSet = false;
112
113 Aws::String m_nextToken;
114 bool m_nextTokenHasBeenSet = false;
115
116 int m_maxResults;
117 bool m_maxResultsHasBeenSet = false;
118
119 Aws::String m_controlCatalogId;
120 bool m_controlCatalogIdHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace AuditManager
125} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetControlCatalogId(const Aws::String &value)
ListControlsRequest & WithNextToken(Aws::String &&value)
ListControlsRequest & WithControlType(const ControlType &value)
ListControlsRequest & WithControlCatalogId(Aws::String &&value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
AWS_AUDITMANAGER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListControlsRequest & WithControlCatalogId(const Aws::String &value)
ListControlsRequest & WithNextToken(const Aws::String &value)
ListControlsRequest & WithNextToken(const char *value)
ListControlsRequest & WithMaxResults(int value)
ListControlsRequest & WithControlType(ControlType &&value)
ListControlsRequest & WithControlCatalogId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String