AWS SDK for C++  1.9.16
AWS SDK for C++
DescribeAuditFindingRequest.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>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IoT
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeAuditFinding"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetFindingId() const{ return m_findingId; }
40 
45  inline bool FindingIdHasBeenSet() const { return m_findingIdHasBeenSet; }
46 
51  inline void SetFindingId(const Aws::String& value) { m_findingIdHasBeenSet = true; m_findingId = value; }
52 
57  inline void SetFindingId(Aws::String&& value) { m_findingIdHasBeenSet = true; m_findingId = std::move(value); }
58 
63  inline void SetFindingId(const char* value) { m_findingIdHasBeenSet = true; m_findingId.assign(value); }
64 
69  inline DescribeAuditFindingRequest& WithFindingId(const Aws::String& value) { SetFindingId(value); return *this;}
70 
75  inline DescribeAuditFindingRequest& WithFindingId(Aws::String&& value) { SetFindingId(std::move(value)); return *this;}
76 
81  inline DescribeAuditFindingRequest& WithFindingId(const char* value) { SetFindingId(value); return *this;}
82 
83  private:
84 
85  Aws::String m_findingId;
86  bool m_findingIdHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace IoT
91 } // namespace Aws
Aws::IoT::Model::DescribeAuditFindingRequest::FindingIdHasBeenSet
bool FindingIdHasBeenSet() const
Definition: DescribeAuditFindingRequest.h:45
Aws::IoT::Model::DescribeAuditFindingRequest::SetFindingId
void SetFindingId(Aws::String &&value)
Definition: DescribeAuditFindingRequest.h:57
Aws::IoT::Model::DescribeAuditFindingRequest::SetFindingId
void SetFindingId(const char *value)
Definition: DescribeAuditFindingRequest.h:63
Aws::IoT::Model::DescribeAuditFindingRequest::SetFindingId
void SetFindingId(const Aws::String &value)
Definition: DescribeAuditFindingRequest.h:51
Aws::IoT::Model::DescribeAuditFindingRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::DescribeAuditFindingRequest::GetFindingId
const Aws::String & GetFindingId() const
Definition: DescribeAuditFindingRequest.h:39
Aws::IoT::Model::DescribeAuditFindingRequest::DescribeAuditFindingRequest
DescribeAuditFindingRequest()
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::DescribeAuditFindingRequest
Definition: DescribeAuditFindingRequest.h:22
Aws::IoT::Model::DescribeAuditFindingRequest::WithFindingId
DescribeAuditFindingRequest & WithFindingId(const Aws::String &value)
Definition: DescribeAuditFindingRequest.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DescribeAuditFindingRequest::WithFindingId
DescribeAuditFindingRequest & WithFindingId(Aws::String &&value)
Definition: DescribeAuditFindingRequest.h:75
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::DescribeAuditFindingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeAuditFindingRequest.h:30
IoTRequest.h
Aws::IoT::Model::DescribeAuditFindingRequest::WithFindingId
DescribeAuditFindingRequest & WithFindingId(const char *value)
Definition: DescribeAuditFindingRequest.h:81
IoT_EXPORTS.h