AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFindingRequest.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/AccessAnalyzerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace AccessAnalyzer
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_ACCESSANALYZER_API GetFindingRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "GetFinding"; }
38
39 AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override;
40
41 AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
50 inline const Aws::String& GetAnalyzerArn() const{ return m_analyzerArn; }
51 inline bool AnalyzerArnHasBeenSet() const { return m_analyzerArnHasBeenSet; }
52 inline void SetAnalyzerArn(const Aws::String& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = value; }
53 inline void SetAnalyzerArn(Aws::String&& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = std::move(value); }
54 inline void SetAnalyzerArn(const char* value) { m_analyzerArnHasBeenSet = true; m_analyzerArn.assign(value); }
55 inline GetFindingRequest& WithAnalyzerArn(const Aws::String& value) { SetAnalyzerArn(value); return *this;}
56 inline GetFindingRequest& WithAnalyzerArn(Aws::String&& value) { SetAnalyzerArn(std::move(value)); return *this;}
57 inline GetFindingRequest& WithAnalyzerArn(const char* value) { SetAnalyzerArn(value); return *this;}
59
61
64 inline const Aws::String& GetId() const{ return m_id; }
65 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
66 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
67 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
68 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
69 inline GetFindingRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
70 inline GetFindingRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 inline GetFindingRequest& WithId(const char* value) { SetId(value); return *this;}
73 private:
74
75 Aws::String m_analyzerArn;
76 bool m_analyzerArnHasBeenSet = false;
77
78 Aws::String m_id;
79 bool m_idHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace AccessAnalyzer
84} // namespace Aws
GetFindingRequest & WithAnalyzerArn(const Aws::String &value)
GetFindingRequest & WithId(Aws::String &&value)
void SetAnalyzerArn(const Aws::String &value)
GetFindingRequest & WithId(const char *value)
AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetFindingRequest & WithId(const Aws::String &value)
GetFindingRequest & WithAnalyzerArn(Aws::String &&value)
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
GetFindingRequest & WithAnalyzerArn(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String