AWS SDK for C++  1.9.157
AWS SDK for C++
StartPolicyGenerationResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace AccessAnalyzer
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
42  inline const Aws::String& GetJobId() const{ return m_jobId; }
43 
51  inline void SetJobId(const Aws::String& value) { m_jobId = value; }
52 
60  inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
61 
69  inline void SetJobId(const char* value) { m_jobId.assign(value); }
70 
78  inline StartPolicyGenerationResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
79 
87  inline StartPolicyGenerationResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
88 
96  inline StartPolicyGenerationResult& WithJobId(const char* value) { SetJobId(value); return *this;}
97 
98  private:
99 
100  Aws::String m_jobId;
101  };
102 
103 } // namespace Model
104 } // namespace AccessAnalyzer
105 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::StartPolicyGenerationResult::WithJobId
StartPolicyGenerationResult & WithJobId(const Aws::String &value)
Definition: StartPolicyGenerationResult.h:78
Aws::AccessAnalyzer::Model::StartPolicyGenerationResult
Definition: StartPolicyGenerationResult.h:28
Aws::AccessAnalyzer::Model::StartPolicyGenerationResult::WithJobId
StartPolicyGenerationResult & WithJobId(const char *value)
Definition: StartPolicyGenerationResult.h:96
Aws::AccessAnalyzer::Model::StartPolicyGenerationResult::WithJobId
StartPolicyGenerationResult & WithJobId(Aws::String &&value)
Definition: StartPolicyGenerationResult.h:87
Aws::AccessAnalyzer::Model::StartPolicyGenerationResult::operator=
StartPolicyGenerationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::AccessAnalyzer::Model::StartPolicyGenerationResult::SetJobId
void SetJobId(const char *value)
Definition: StartPolicyGenerationResult.h:69
Aws::AccessAnalyzer::Model::StartPolicyGenerationResult::StartPolicyGenerationResult
StartPolicyGenerationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AccessAnalyzer::Model::StartPolicyGenerationResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: StartPolicyGenerationResult.h:60
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::StartPolicyGenerationResult::StartPolicyGenerationResult
StartPolicyGenerationResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::StartPolicyGenerationResult::GetJobId
const Aws::String & GetJobId() const
Definition: StartPolicyGenerationResult.h:42
Aws::AccessAnalyzer::Model::StartPolicyGenerationResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: StartPolicyGenerationResult.h:51