AWS SDK for C++  1.9.129
AWS SDK for C++
DeleteAuditSuppressionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace IoT
16 {
17 namespace 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 "DeleteAuditSuppression"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
36 
37  inline const Aws::String& GetCheckName() const{ return m_checkName; }
38 
39 
40  inline bool CheckNameHasBeenSet() const { return m_checkNameHasBeenSet; }
41 
42 
43  inline void SetCheckName(const Aws::String& value) { m_checkNameHasBeenSet = true; m_checkName = value; }
44 
45 
46  inline void SetCheckName(Aws::String&& value) { m_checkNameHasBeenSet = true; m_checkName = std::move(value); }
47 
48 
49  inline void SetCheckName(const char* value) { m_checkNameHasBeenSet = true; m_checkName.assign(value); }
50 
51 
52  inline DeleteAuditSuppressionRequest& WithCheckName(const Aws::String& value) { SetCheckName(value); return *this;}
53 
54 
55  inline DeleteAuditSuppressionRequest& WithCheckName(Aws::String&& value) { SetCheckName(std::move(value)); return *this;}
56 
57 
58  inline DeleteAuditSuppressionRequest& WithCheckName(const char* value) { SetCheckName(value); return *this;}
59 
60 
61 
62  inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; }
63 
64 
65  inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
66 
67 
68  inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
69 
70 
71  inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
72 
73 
74  inline DeleteAuditSuppressionRequest& WithResourceIdentifier(const ResourceIdentifier& value) { SetResourceIdentifier(value); return *this;}
75 
76 
77  inline DeleteAuditSuppressionRequest& WithResourceIdentifier(ResourceIdentifier&& value) { SetResourceIdentifier(std::move(value)); return *this;}
78 
79  private:
80 
81  Aws::String m_checkName;
82  bool m_checkNameHasBeenSet;
83 
84  ResourceIdentifier m_resourceIdentifier;
85  bool m_resourceIdentifierHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace IoT
90 } // namespace Aws
Aws::IoT::Model::DeleteAuditSuppressionRequest
Definition: DeleteAuditSuppressionRequest.h:23
Aws::IoT::Model::DeleteAuditSuppressionRequest::SetResourceIdentifier
void SetResourceIdentifier(ResourceIdentifier &&value)
Definition: DeleteAuditSuppressionRequest.h:71
Aws::IoT::Model::DeleteAuditSuppressionRequest::SetCheckName
void SetCheckName(const Aws::String &value)
Definition: DeleteAuditSuppressionRequest.h:43
Aws::IoT::Model::DeleteAuditSuppressionRequest::ResourceIdentifierHasBeenSet
bool ResourceIdentifierHasBeenSet() const
Definition: DeleteAuditSuppressionRequest.h:65
Aws::IoT::Model::ResourceIdentifier
Definition: ResourceIdentifier.h:34
Aws::IoT::Model::DeleteAuditSuppressionRequest::WithCheckName
DeleteAuditSuppressionRequest & WithCheckName(const Aws::String &value)
Definition: DeleteAuditSuppressionRequest.h:52
Aws::IoT::Model::DeleteAuditSuppressionRequest::GetResourceIdentifier
const ResourceIdentifier & GetResourceIdentifier() const
Definition: DeleteAuditSuppressionRequest.h:62
Aws::IoT::Model::DeleteAuditSuppressionRequest::SetCheckName
void SetCheckName(const char *value)
Definition: DeleteAuditSuppressionRequest.h:49
Aws::IoT::Model::DeleteAuditSuppressionRequest::SetResourceIdentifier
void SetResourceIdentifier(const ResourceIdentifier &value)
Definition: DeleteAuditSuppressionRequest.h:68
Aws::IoT::Model::DeleteAuditSuppressionRequest::GetCheckName
const Aws::String & GetCheckName() const
Definition: DeleteAuditSuppressionRequest.h:37
Aws::IoT::Model::DeleteAuditSuppressionRequest::DeleteAuditSuppressionRequest
DeleteAuditSuppressionRequest()
AWSString.h
Aws::IoT::Model::DeleteAuditSuppressionRequest::SetCheckName
void SetCheckName(Aws::String &&value)
Definition: DeleteAuditSuppressionRequest.h:46
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::DeleteAuditSuppressionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::DeleteAuditSuppressionRequest::WithCheckName
DeleteAuditSuppressionRequest & WithCheckName(const char *value)
Definition: DeleteAuditSuppressionRequest.h:58
Aws::IoT::Model::DeleteAuditSuppressionRequest::WithResourceIdentifier
DeleteAuditSuppressionRequest & WithResourceIdentifier(const ResourceIdentifier &value)
Definition: DeleteAuditSuppressionRequest.h:74
ResourceIdentifier.h
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DeleteAuditSuppressionRequest::CheckNameHasBeenSet
bool CheckNameHasBeenSet() const
Definition: DeleteAuditSuppressionRequest.h:40
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::DeleteAuditSuppressionRequest::WithCheckName
DeleteAuditSuppressionRequest & WithCheckName(Aws::String &&value)
Definition: DeleteAuditSuppressionRequest.h:55
IoTRequest.h
Aws::IoT::Model::DeleteAuditSuppressionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteAuditSuppressionRequest.h:31
IoT_EXPORTS.h
Aws::IoT::Model::DeleteAuditSuppressionRequest::WithResourceIdentifier
DeleteAuditSuppressionRequest & WithResourceIdentifier(ResourceIdentifier &&value)
Definition: DeleteAuditSuppressionRequest.h:77