AWS SDK for C++  1.8.157
AWS SDK for C++
CreateJobResult.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 Xml
19 {
20  class XmlDocument;
21 } // namespace Xml
22 } // namespace Utils
23 namespace S3Control
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const Aws::String& GetJobId() const{ return m_jobId; }
40 
45  inline void SetJobId(const Aws::String& value) { m_jobId = value; }
46 
51  inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
52 
57  inline void SetJobId(const char* value) { m_jobId.assign(value); }
58 
63  inline CreateJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
64 
69  inline CreateJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
70 
75  inline CreateJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
76 
77  private:
78 
79  Aws::String m_jobId;
80  };
81 
82 } // namespace Model
83 } // namespace S3Control
84 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::S3Control::Model::CreateJobResult::WithJobId
CreateJobResult & WithJobId(const char *value)
Definition: CreateJobResult.h:75
Aws::S3Control::Model::CreateJobResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: CreateJobResult.h:45
Aws::S3Control::Model::CreateJobResult::CreateJobResult
CreateJobResult()
Aws::S3Control::Model::CreateJobResult::operator=
CreateJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::CreateJobResult::SetJobId
void SetJobId(const char *value)
Definition: CreateJobResult.h:57
S3Control_EXPORTS.h
Aws::S3Control::Model::CreateJobResult::GetJobId
const Aws::String & GetJobId() const
Definition: CreateJobResult.h:39
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
AWSString.h
Aws::S3Control::Model::CreateJobResult::WithJobId
CreateJobResult & WithJobId(Aws::String &&value)
Definition: CreateJobResult.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::CreateJobResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: CreateJobResult.h:51
Aws::S3Control::Model::CreateJobResult::WithJobId
CreateJobResult & WithJobId(const Aws::String &value)
Definition: CreateJobResult.h:63
Aws::S3Control::Model::CreateJobResult
Definition: CreateJobResult.h:28
Aws::S3Control::Model::CreateJobResult::CreateJobResult
CreateJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)