AWS SDK for C++  1.9.2
AWS SDK for C++
DeleteAnalyzerRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 #include <aws/core/utils/UUID.h>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace AccessAnalyzer
20 {
21 namespace Model
22 {
23 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "DeleteAnalyzer"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline const Aws::String& GetAnalyzerName() const{ return m_analyzerName; }
49 
53  inline bool AnalyzerNameHasBeenSet() const { return m_analyzerNameHasBeenSet; }
54 
58  inline void SetAnalyzerName(const Aws::String& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = value; }
59 
63  inline void SetAnalyzerName(Aws::String&& value) { m_analyzerNameHasBeenSet = true; m_analyzerName = std::move(value); }
64 
68  inline void SetAnalyzerName(const char* value) { m_analyzerNameHasBeenSet = true; m_analyzerName.assign(value); }
69 
73  inline DeleteAnalyzerRequest& WithAnalyzerName(const Aws::String& value) { SetAnalyzerName(value); return *this;}
74 
78  inline DeleteAnalyzerRequest& WithAnalyzerName(Aws::String&& value) { SetAnalyzerName(std::move(value)); return *this;}
79 
83  inline DeleteAnalyzerRequest& WithAnalyzerName(const char* value) { SetAnalyzerName(value); return *this;}
84 
85 
89  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
90 
94  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
95 
99  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
100 
104  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
105 
109  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
110 
114  inline DeleteAnalyzerRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
115 
119  inline DeleteAnalyzerRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
120 
124  inline DeleteAnalyzerRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
125 
126  private:
127 
128  Aws::String m_analyzerName;
129  bool m_analyzerNameHasBeenSet;
130 
131  Aws::String m_clientToken;
132  bool m_clientTokenHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace AccessAnalyzer
137 } // namespace Aws
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::WithAnalyzerName
DeleteAnalyzerRequest & WithAnalyzerName(const Aws::String &value)
Definition: DeleteAnalyzerRequest.h:73
AccessAnalyzer_EXPORTS.h
Aws::Http::URI
Definition: URI.h:32
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::SetAnalyzerName
void SetAnalyzerName(const char *value)
Definition: DeleteAnalyzerRequest.h:68
Aws::AccessAnalyzer::AccessAnalyzerRequest
Definition: AccessAnalyzerRequest.h:17
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::WithClientToken
DeleteAnalyzerRequest & WithClientToken(const char *value)
Definition: DeleteAnalyzerRequest.h:124
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: DeleteAnalyzerRequest.h:89
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::WithAnalyzerName
DeleteAnalyzerRequest & WithAnalyzerName(Aws::String &&value)
Definition: DeleteAnalyzerRequest.h:78
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::AnalyzerNameHasBeenSet
bool AnalyzerNameHasBeenSet() const
Definition: DeleteAnalyzerRequest.h:53
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::WithAnalyzerName
DeleteAnalyzerRequest & WithAnalyzerName(const char *value)
Definition: DeleteAnalyzerRequest.h:83
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: DeleteAnalyzerRequest.h:104
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::SetClientToken
void SetClientToken(const char *value)
Definition: DeleteAnalyzerRequest.h:109
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::WithClientToken
DeleteAnalyzerRequest & WithClientToken(Aws::String &&value)
Definition: DeleteAnalyzerRequest.h:119
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: DeleteAnalyzerRequest.h:99
AccessAnalyzerRequest.h
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::SetAnalyzerName
void SetAnalyzerName(Aws::String &&value)
Definition: DeleteAnalyzerRequest.h:63
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::DeleteAnalyzerRequest
DeleteAnalyzerRequest()
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::SetAnalyzerName
void SetAnalyzerName(const Aws::String &value)
Definition: DeleteAnalyzerRequest.h:58
AWSString.h
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteAnalyzerRequest.h:38
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::GetAnalyzerName
const Aws::String & GetAnalyzerName() const
Definition: DeleteAnalyzerRequest.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::WithClientToken
DeleteAnalyzerRequest & WithClientToken(const Aws::String &value)
Definition: DeleteAnalyzerRequest.h:114
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: DeleteAnalyzerRequest.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AccessAnalyzer::Model::DeleteAnalyzerRequest
Definition: DeleteAnalyzerRequest.h:30
UUID.h