AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListAuditSuppressionsRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/ResourceIdentifier.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoT
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOT_API ListAuditSuppressionsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListAuditSuppressions"; }
32
33 AWS_IOT_API Aws::String SerializePayload() const override;
34
35
37
38 inline const Aws::String& GetCheckName() const { return m_checkName; }
39 inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; }
40 template<typename CheckNameT = Aws::String>
41 void SetCheckName(CheckNameT&& value) { m_checkNameHasBeenSet = true; m_checkName = std::forward<CheckNameT>(value); }
42 template<typename CheckNameT = Aws::String>
43 ListAuditSuppressionsRequest& WithCheckName(CheckNameT&& value) { SetCheckName(std::forward<CheckNameT>(value)); return *this;}
45
47
48 inline const ResourceIdentifier& GetResourceIdentifier() const { return m_resourceIdentifier; }
49 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
50 template<typename ResourceIdentifierT = ResourceIdentifier>
51 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
52 template<typename ResourceIdentifierT = ResourceIdentifier>
53 ListAuditSuppressionsRequest& WithResourceIdentifier(ResourceIdentifierT&& value) { SetResourceIdentifier(std::forward<ResourceIdentifierT>(value)); return *this;}
55
57
61 inline bool GetAscendingOrder() const { return m_ascendingOrder; }
62 inline bool AscendingOrderHasBeenSet() const { return m_ascendingOrderHasBeenSet; }
63 inline void SetAscendingOrder(bool value) { m_ascendingOrderHasBeenSet = true; m_ascendingOrder = value; }
64 inline ListAuditSuppressionsRequest& WithAscendingOrder(bool value) { SetAscendingOrder(value); return *this;}
66
68
71 inline const Aws::String& GetNextToken() const { return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 template<typename NextTokenT = Aws::String>
74 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
75 template<typename NextTokenT = Aws::String>
76 ListAuditSuppressionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
78
80
83 inline int GetMaxResults() const { return m_maxResults; }
84 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
86 inline ListAuditSuppressionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
88 private:
89
90 Aws::String m_checkName;
91 bool m_checkNameHasBeenSet = false;
92
93 ResourceIdentifier m_resourceIdentifier;
94 bool m_resourceIdentifierHasBeenSet = false;
95
96 bool m_ascendingOrder{false};
97 bool m_ascendingOrderHasBeenSet = false;
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101
102 int m_maxResults{0};
103 bool m_maxResultsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace IoT
108} // namespace Aws
ListAuditSuppressionsRequest & WithNextToken(NextTokenT &&value)
ListAuditSuppressionsRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
ListAuditSuppressionsRequest & WithCheckName(CheckNameT &&value)
AWS_IOT_API ListAuditSuppressionsRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_IOT_API Aws::String SerializePayload() const override
ListAuditSuppressionsRequest & WithAscendingOrder(bool value)
ListAuditSuppressionsRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String