AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetCheckName(const Aws::String& value) { m_checkNameHasBeenSet = true; m_checkName = value; }
41 inline void SetCheckName(Aws::String&& value) { m_checkNameHasBeenSet = true; m_checkName = std::move(value); }
42 inline void SetCheckName(const char* value) { m_checkNameHasBeenSet = true; m_checkName.assign(value); }
43 inline ListAuditSuppressionsRequest& WithCheckName(const Aws::String& value) { SetCheckName(value); return *this;}
44 inline ListAuditSuppressionsRequest& WithCheckName(Aws::String&& value) { SetCheckName(std::move(value)); return *this;}
45 inline ListAuditSuppressionsRequest& WithCheckName(const char* value) { SetCheckName(value); return *this;}
47
49
50 inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; }
51 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
52 inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
53 inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
57
59
63 inline bool GetAscendingOrder() const{ return m_ascendingOrder; }
64 inline bool AscendingOrderHasBeenSet() const { return m_ascendingOrderHasBeenSet; }
65 inline void SetAscendingOrder(bool value) { m_ascendingOrderHasBeenSet = true; m_ascendingOrder = value; }
66 inline ListAuditSuppressionsRequest& WithAscendingOrder(bool value) { SetAscendingOrder(value); return *this;}
68
70
73 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
74 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
75 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
76 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
77 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
78 inline ListAuditSuppressionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
79 inline ListAuditSuppressionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
80 inline ListAuditSuppressionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
82
84
87 inline int GetMaxResults() const{ return m_maxResults; }
88 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
89 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
90 inline ListAuditSuppressionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
92 private:
93
94 Aws::String m_checkName;
95 bool m_checkNameHasBeenSet = false;
96
97 ResourceIdentifier m_resourceIdentifier;
98 bool m_resourceIdentifierHasBeenSet = false;
99
100 bool m_ascendingOrder;
101 bool m_ascendingOrderHasBeenSet = false;
102
103 Aws::String m_nextToken;
104 bool m_nextTokenHasBeenSet = false;
105
106 int m_maxResults;
107 bool m_maxResultsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace IoT
112} // namespace Aws
ListAuditSuppressionsRequest & WithResourceIdentifier(ResourceIdentifier &&value)
ListAuditSuppressionsRequest & WithResourceIdentifier(const ResourceIdentifier &value)
ListAuditSuppressionsRequest & WithCheckName(const Aws::String &value)
ListAuditSuppressionsRequest & WithCheckName(const char *value)
ListAuditSuppressionsRequest & WithNextToken(const char *value)
ListAuditSuppressionsRequest & WithCheckName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListAuditSuppressionsRequest & WithNextToken(Aws::String &&value)
AWS_IOT_API Aws::String SerializePayload() const override
ListAuditSuppressionsRequest & WithNextToken(const Aws::String &value)
ListAuditSuppressionsRequest & WithAscendingOrder(bool value)
void SetResourceIdentifier(const ResourceIdentifier &value)
ListAuditSuppressionsRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String