AWS SDK for C++  1.9.108
AWS SDK for C++
CreateClassificationJobResult.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 Macie2
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetJobArn() const{ return m_jobArn; }
39 
43  inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
44 
48  inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
49 
53  inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
54 
58  inline CreateClassificationJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
59 
63  inline CreateClassificationJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
64 
68  inline CreateClassificationJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
69 
70 
74  inline const Aws::String& GetJobId() const{ return m_jobId; }
75 
79  inline void SetJobId(const Aws::String& value) { m_jobId = value; }
80 
84  inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
85 
89  inline void SetJobId(const char* value) { m_jobId.assign(value); }
90 
94  inline CreateClassificationJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
95 
99  inline CreateClassificationJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
100 
104  inline CreateClassificationJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
105 
106  private:
107 
108  Aws::String m_jobArn;
109 
110  Aws::String m_jobId;
111  };
112 
113 } // namespace Model
114 } // namespace Macie2
115 } // namespace Aws
Aws::Macie2::Model::CreateClassificationJobResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: CreateClassificationJobResult.h:84
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_MACIE2_API
#define AWS_MACIE2_API
Definition: Macie2_EXPORTS.h:28
Aws::Macie2::Model::CreateClassificationJobResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: CreateClassificationJobResult.h:79
Macie2_EXPORTS.h
Aws::Macie2::Model::CreateClassificationJobResult::WithJobId
CreateClassificationJobResult & WithJobId(const char *value)
Definition: CreateClassificationJobResult.h:104
Aws::Macie2::Model::CreateClassificationJobResult::WithJobId
CreateClassificationJobResult & WithJobId(Aws::String &&value)
Definition: CreateClassificationJobResult.h:99
Aws::Macie2::Model::CreateClassificationJobResult::CreateClassificationJobResult
CreateClassificationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Macie2::Model::CreateClassificationJobResult::WithJobArn
CreateClassificationJobResult & WithJobArn(const Aws::String &value)
Definition: CreateClassificationJobResult.h:58
Aws::Macie2::Model::CreateClassificationJobResult::CreateClassificationJobResult
CreateClassificationJobResult()
Aws::Macie2::Model::CreateClassificationJobResult::SetJobArn
void SetJobArn(const char *value)
Definition: CreateClassificationJobResult.h:53
Aws::Macie2::Model::CreateClassificationJobResult::SetJobArn
void SetJobArn(const Aws::String &value)
Definition: CreateClassificationJobResult.h:43
Aws::Macie2::Model::CreateClassificationJobResult::WithJobArn
CreateClassificationJobResult & WithJobArn(Aws::String &&value)
Definition: CreateClassificationJobResult.h:63
Aws::Macie2::Model::CreateClassificationJobResult::SetJobId
void SetJobId(const char *value)
Definition: CreateClassificationJobResult.h:89
AWSString.h
Aws::Macie2::Model::CreateClassificationJobResult::operator=
CreateClassificationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Macie2::Model::CreateClassificationJobResult::GetJobArn
const Aws::String & GetJobArn() const
Definition: CreateClassificationJobResult.h:38
Aws::Macie2::Model::CreateClassificationJobResult::WithJobId
CreateClassificationJobResult & WithJobId(const Aws::String &value)
Definition: CreateClassificationJobResult.h:94
Aws::Macie2::Model::CreateClassificationJobResult::WithJobArn
CreateClassificationJobResult & WithJobArn(const char *value)
Definition: CreateClassificationJobResult.h:68
Aws::Macie2::Model::CreateClassificationJobResult::GetJobId
const Aws::String & GetJobId() const
Definition: CreateClassificationJobResult.h:74
Aws
Definition: AccessManagementClient.h:15
Aws::Macie2::Model::CreateClassificationJobResult
Definition: CreateClassificationJobResult.h:28
Aws::Macie2::Model::CreateClassificationJobResult::SetJobArn
void SetJobArn(Aws::String &&value)
Definition: CreateClassificationJobResult.h:48
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97