AWS SDK for C++  1.9.153
AWS SDK for C++
GetFindingRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace AccessAnalyzer
19 {
20 namespace Model
21 {
22 
29  {
30  public:
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::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
49  inline const Aws::String& GetAnalyzerArn() const{ return m_analyzerArn; }
50 
56  inline bool AnalyzerArnHasBeenSet() const { return m_analyzerArnHasBeenSet; }
57 
63  inline void SetAnalyzerArn(const Aws::String& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = value; }
64 
70  inline void SetAnalyzerArn(Aws::String&& value) { m_analyzerArnHasBeenSet = true; m_analyzerArn = std::move(value); }
71 
77  inline void SetAnalyzerArn(const char* value) { m_analyzerArnHasBeenSet = true; m_analyzerArn.assign(value); }
78 
84  inline GetFindingRequest& WithAnalyzerArn(const Aws::String& value) { SetAnalyzerArn(value); return *this;}
85 
91  inline GetFindingRequest& WithAnalyzerArn(Aws::String&& value) { SetAnalyzerArn(std::move(value)); return *this;}
92 
98  inline GetFindingRequest& WithAnalyzerArn(const char* value) { SetAnalyzerArn(value); return *this;}
99 
100 
104  inline const Aws::String& GetId() const{ return m_id; }
105 
109  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
110 
114  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
115 
119  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
120 
124  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
125 
129  inline GetFindingRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
130 
134  inline GetFindingRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
135 
139  inline GetFindingRequest& WithId(const char* value) { SetId(value); return *this;}
140 
141  private:
142 
143  Aws::String m_analyzerArn;
144  bool m_analyzerArnHasBeenSet;
145 
146  Aws::String m_id;
147  bool m_idHasBeenSet;
148  };
149 
150 } // namespace Model
151 } // namespace AccessAnalyzer
152 } // namespace Aws
Aws::AccessAnalyzer::Model::GetFindingRequest::SerializePayload
Aws::String SerializePayload() const override
AccessAnalyzer_EXPORTS.h
Aws::Http::URI
Definition: URI.h:32
Aws::AccessAnalyzer::AccessAnalyzerRequest
Definition: AccessAnalyzerRequest.h:17
Aws::AccessAnalyzer::Model::GetFindingRequest::SetId
void SetId(Aws::String &&value)
Definition: GetFindingRequest.h:119
Aws::AccessAnalyzer::Model::GetFindingRequest::WithAnalyzerArn
GetFindingRequest & WithAnalyzerArn(Aws::String &&value)
Definition: GetFindingRequest.h:91
Aws::AccessAnalyzer::Model::GetFindingRequest::GetId
const Aws::String & GetId() const
Definition: GetFindingRequest.h:104
Aws::AccessAnalyzer::Model::GetFindingRequest::WithId
GetFindingRequest & WithId(Aws::String &&value)
Definition: GetFindingRequest.h:134
Aws::AccessAnalyzer::Model::GetFindingRequest::SetAnalyzerArn
void SetAnalyzerArn(Aws::String &&value)
Definition: GetFindingRequest.h:70
Aws::AccessAnalyzer::Model::GetFindingRequest::SetId
void SetId(const char *value)
Definition: GetFindingRequest.h:124
Aws::AccessAnalyzer::Model::GetFindingRequest::AnalyzerArnHasBeenSet
bool AnalyzerArnHasBeenSet() const
Definition: GetFindingRequest.h:56
Aws::AccessAnalyzer::Model::GetFindingRequest::WithId
GetFindingRequest & WithId(const char *value)
Definition: GetFindingRequest.h:139
Aws::AccessAnalyzer::Model::GetFindingRequest::GetFindingRequest
GetFindingRequest()
AccessAnalyzerRequest.h
Aws::AccessAnalyzer::Model::GetFindingRequest::GetAnalyzerArn
const Aws::String & GetAnalyzerArn() const
Definition: GetFindingRequest.h:49
Aws::AccessAnalyzer::Model::GetFindingRequest::SetId
void SetId(const Aws::String &value)
Definition: GetFindingRequest.h:114
Aws::AccessAnalyzer::Model::GetFindingRequest::IdHasBeenSet
bool IdHasBeenSet() const
Definition: GetFindingRequest.h:109
Aws::AccessAnalyzer::Model::GetFindingRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWSString.h
Aws::AccessAnalyzer::Model::GetFindingRequest::WithId
GetFindingRequest & WithId(const Aws::String &value)
Definition: GetFindingRequest.h:129
Aws::AccessAnalyzer::Model::GetFindingRequest
Definition: GetFindingRequest.h:29
Aws::AccessAnalyzer::Model::GetFindingRequest::WithAnalyzerArn
GetFindingRequest & WithAnalyzerArn(const Aws::String &value)
Definition: GetFindingRequest.h:84
Aws::AccessAnalyzer::Model::GetFindingRequest::WithAnalyzerArn
GetFindingRequest & WithAnalyzerArn(const char *value)
Definition: GetFindingRequest.h:98
Aws
Definition: AccessManagementClient.h:15
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::GetFindingRequest::SetAnalyzerArn
void SetAnalyzerArn(const Aws::String &value)
Definition: GetFindingRequest.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::GetFindingRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetFindingRequest.h:37
Aws::AccessAnalyzer::Model::GetFindingRequest::SetAnalyzerArn
void SetAnalyzerArn(const char *value)
Definition: GetFindingRequest.h:77