AWS SDK for C++  1.9.2
AWS SDK for C++
GetAnalyzedResourceRequest.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 "GetAnalyzedResource"; }
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 GetAnalyzedResourceRequest& WithAnalyzerArn(const Aws::String& value) { SetAnalyzerArn(value); return *this;}
85 
91  inline GetAnalyzedResourceRequest& WithAnalyzerArn(Aws::String&& value) { SetAnalyzerArn(std::move(value)); return *this;}
92 
98  inline GetAnalyzedResourceRequest& WithAnalyzerArn(const char* value) { SetAnalyzerArn(value); return *this;}
99 
100 
104  inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
105 
109  inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
110 
114  inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
115 
119  inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
120 
124  inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
125 
129  inline GetAnalyzedResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
130 
134  inline GetAnalyzedResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
135 
139  inline GetAnalyzedResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
140 
141  private:
142 
143  Aws::String m_analyzerArn;
144  bool m_analyzerArnHasBeenSet;
145 
146  Aws::String m_resourceArn;
147  bool m_resourceArnHasBeenSet;
148  };
149 
150 } // namespace Model
151 } // namespace AccessAnalyzer
152 } // namespace Aws
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::GetResourceArn
const Aws::String & GetResourceArn() const
Definition: GetAnalyzedResourceRequest.h:104
AccessAnalyzer_EXPORTS.h
Aws::Http::URI
Definition: URI.h:32
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::WithAnalyzerArn
GetAnalyzedResourceRequest & WithAnalyzerArn(Aws::String &&value)
Definition: GetAnalyzedResourceRequest.h:91
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::SetResourceArn
void SetResourceArn(const char *value)
Definition: GetAnalyzedResourceRequest.h:124
Aws::AccessAnalyzer::AccessAnalyzerRequest
Definition: AccessAnalyzerRequest.h:17
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::AnalyzerArnHasBeenSet
bool AnalyzerArnHasBeenSet() const
Definition: GetAnalyzedResourceRequest.h:56
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::WithAnalyzerArn
GetAnalyzedResourceRequest & WithAnalyzerArn(const Aws::String &value)
Definition: GetAnalyzedResourceRequest.h:84
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::WithResourceArn
GetAnalyzedResourceRequest & WithResourceArn(const Aws::String &value)
Definition: GetAnalyzedResourceRequest.h:129
AccessAnalyzerRequest.h
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::ResourceArnHasBeenSet
bool ResourceArnHasBeenSet() const
Definition: GetAnalyzedResourceRequest.h:109
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::SetResourceArn
void SetResourceArn(const Aws::String &value)
Definition: GetAnalyzedResourceRequest.h:114
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::GetAnalyzerArn
const Aws::String & GetAnalyzerArn() const
Definition: GetAnalyzedResourceRequest.h:49
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::SetAnalyzerArn
void SetAnalyzerArn(const Aws::String &value)
Definition: GetAnalyzedResourceRequest.h:63
AWSString.h
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::WithResourceArn
GetAnalyzedResourceRequest & WithResourceArn(Aws::String &&value)
Definition: GetAnalyzedResourceRequest.h:134
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest
Definition: GetAnalyzedResourceRequest.h:29
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::SetAnalyzerArn
void SetAnalyzerArn(Aws::String &&value)
Definition: GetAnalyzedResourceRequest.h:70
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetAnalyzedResourceRequest.h:37
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::GetAnalyzedResourceRequest
GetAnalyzedResourceRequest()
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::SetResourceArn
void SetResourceArn(Aws::String &&value)
Definition: GetAnalyzedResourceRequest.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::SetAnalyzerArn
void SetAnalyzerArn(const char *value)
Definition: GetAnalyzedResourceRequest.h:77
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::WithResourceArn
GetAnalyzedResourceRequest & WithResourceArn(const char *value)
Definition: GetAnalyzedResourceRequest.h:139
Aws::AccessAnalyzer::Model::GetAnalyzedResourceRequest::WithAnalyzerArn
GetAnalyzedResourceRequest & WithAnalyzerArn(const char *value)
Definition: GetAnalyzedResourceRequest.h:98