AWS SDK for C++  1.9.156
AWS SDK for C++
GetAnalyzerRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace AccessAnalyzer
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "GetAnalyzer"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetAnalyzerName() const{ return m_analyzerName; }
42 
46  inline bool AnalyzerNameHasBeenSet() const { return m_analyzerNameHasBeenSet; }
47 
51  inline void SetAnalyzerName(const Aws::String& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = value; }
52 
56  inline void SetAnalyzerName(Aws::String&& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = std::move(value); }
57 
61  inline void SetAnalyzerName(const char* value) { m_analyzerNameHasBeenSet = true; m_analyzerName.assign(value); }
62 
66  inline GetAnalyzerRequest& WithAnalyzerName(const Aws::String& value) { SetAnalyzerName(value); return *this;}
67 
71  inline GetAnalyzerRequest& WithAnalyzerName(Aws::String&& value) { SetAnalyzerName(std::move(value)); return *this;}
72 
76  inline GetAnalyzerRequest& WithAnalyzerName(const char* value) { SetAnalyzerName(value); return *this;}
77 
78  private:
79 
80  Aws::String m_analyzerName;
81  bool m_analyzerNameHasBeenSet;
82  };
83 
84 } // namespace Model
85 } // namespace AccessAnalyzer
86 } // namespace Aws
Aws::AccessAnalyzer::Model::GetAnalyzerRequest::SetAnalyzerName
void SetAnalyzerName(const Aws::String &value)
Definition: GetAnalyzerRequest.h:51
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::AccessAnalyzerRequest
Definition: AccessAnalyzerRequest.h:17
Aws::AccessAnalyzer::Model::GetAnalyzerRequest::SetAnalyzerName
void SetAnalyzerName(Aws::String &&value)
Definition: GetAnalyzerRequest.h:56
Aws::AccessAnalyzer::Model::GetAnalyzerRequest::WithAnalyzerName
GetAnalyzerRequest & WithAnalyzerName(Aws::String &&value)
Definition: GetAnalyzerRequest.h:71
Aws::AccessAnalyzer::Model::GetAnalyzerRequest::SetAnalyzerName
void SetAnalyzerName(const char *value)
Definition: GetAnalyzerRequest.h:61
Aws::AccessAnalyzer::Model::GetAnalyzerRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AccessAnalyzer::Model::GetAnalyzerRequest::GetAnalyzerRequest
GetAnalyzerRequest()
AccessAnalyzerRequest.h
Aws::AccessAnalyzer::Model::GetAnalyzerRequest
Definition: GetAnalyzerRequest.h:25
Aws::AccessAnalyzer::Model::GetAnalyzerRequest::WithAnalyzerName
GetAnalyzerRequest & WithAnalyzerName(const Aws::String &value)
Definition: GetAnalyzerRequest.h:66
AWSString.h
Aws::AccessAnalyzer::Model::GetAnalyzerRequest::AnalyzerNameHasBeenSet
bool AnalyzerNameHasBeenSet() const
Definition: GetAnalyzerRequest.h:46
Aws::AccessAnalyzer::Model::GetAnalyzerRequest::WithAnalyzerName
GetAnalyzerRequest & WithAnalyzerName(const char *value)
Definition: GetAnalyzerRequest.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::GetAnalyzerRequest::GetAnalyzerName
const Aws::String & GetAnalyzerName() const
Definition: GetAnalyzerRequest.h:41
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::GetAnalyzerRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetAnalyzerRequest.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97