AWS SDK for C++  1.9.159
AWS SDK for C++
CancelPolicyGenerationRequest.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 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "CancelPolicyGeneration"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
42  inline const Aws::String& GetJobId() const{ return m_jobId; }
43 
51  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
52 
60  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
61 
69  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
70 
78  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
79 
87  inline CancelPolicyGenerationRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
88 
96  inline CancelPolicyGenerationRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
97 
105  inline CancelPolicyGenerationRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
106 
107  private:
108 
109  Aws::String m_jobId;
110  bool m_jobIdHasBeenSet;
111  };
112 
113 } // namespace Model
114 } // namespace AccessAnalyzer
115 } // namespace Aws
Aws::AccessAnalyzer::Model::CancelPolicyGenerationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CancelPolicyGenerationRequest.h:30
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::CancelPolicyGenerationRequest::WithJobId
CancelPolicyGenerationRequest & WithJobId(const char *value)
Definition: CancelPolicyGenerationRequest.h:105
Aws::AccessAnalyzer::Model::CancelPolicyGenerationRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: CancelPolicyGenerationRequest.h:60
Aws::AccessAnalyzer::AccessAnalyzerRequest
Definition: AccessAnalyzerRequest.h:17
Aws::AccessAnalyzer::Model::CancelPolicyGenerationRequest::WithJobId
CancelPolicyGenerationRequest & WithJobId(Aws::String &&value)
Definition: CancelPolicyGenerationRequest.h:96
Aws::AccessAnalyzer::Model::CancelPolicyGenerationRequest::CancelPolicyGenerationRequest
CancelPolicyGenerationRequest()
Aws::AccessAnalyzer::Model::CancelPolicyGenerationRequest::WithJobId
CancelPolicyGenerationRequest & WithJobId(const Aws::String &value)
Definition: CancelPolicyGenerationRequest.h:87
Aws::AccessAnalyzer::Model::CancelPolicyGenerationRequest::GetJobId
const Aws::String & GetJobId() const
Definition: CancelPolicyGenerationRequest.h:42
AccessAnalyzerRequest.h
Aws::AccessAnalyzer::Model::CancelPolicyGenerationRequest::SetJobId
void SetJobId(const char *value)
Definition: CancelPolicyGenerationRequest.h:78
AWSString.h
Aws::AccessAnalyzer::Model::CancelPolicyGenerationRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: CancelPolicyGenerationRequest.h:69
Aws::AccessAnalyzer::Model::CancelPolicyGenerationRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: CancelPolicyGenerationRequest.h:51
Aws
Definition: AccessManagementClient.h:15
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::CancelPolicyGenerationRequest
Definition: CancelPolicyGenerationRequest.h:22
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::CancelPolicyGenerationRequest::SerializePayload
Aws::String SerializePayload() const override