AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAnalyzedResourceRequest.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 GetAnalyzedResourceRequest();
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_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 GetAnalyzedResourceRequest& WithAnalyzerArn(const Aws::String& value) { SetAnalyzerArn(value); return *this;}
56 inline GetAnalyzedResourceRequest& WithAnalyzerArn(Aws::String&& value) { SetAnalyzerArn(std::move(value)); return *this;}
57 inline GetAnalyzedResourceRequest& WithAnalyzerArn(const char* value) { SetAnalyzerArn(value); return *this;}
59
61
64 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
65 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
66 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
67 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
68 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
69 inline GetAnalyzedResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
70 inline GetAnalyzedResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
71 inline GetAnalyzedResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
73 private:
74
75 Aws::String m_analyzerArn;
76 bool m_analyzerArnHasBeenSet = false;
77
78 Aws::String m_resourceArn;
79 bool m_resourceArnHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace AccessAnalyzer
84} // namespace Aws
GetAnalyzedResourceRequest & WithAnalyzerArn(Aws::String &&value)
AWS_ACCESSANALYZER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetAnalyzedResourceRequest & WithResourceArn(const char *value)
GetAnalyzedResourceRequest & WithAnalyzerArn(const Aws::String &value)
GetAnalyzedResourceRequest & WithAnalyzerArn(const char *value)
GetAnalyzedResourceRequest & WithResourceArn(const Aws::String &value)
GetAnalyzedResourceRequest & WithResourceArn(Aws::String &&value)
AWS_ACCESSANALYZER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String