AWS SDK for C++  1.9.109
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 Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Snowball
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 Snowball
84 } // namespace Aws
Aws::Snowball::Model::CreateJobResult::WithJobId
CreateJobResult & WithJobId(Aws::String &&value)
Definition: CreateJobResult.h:69
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Snowball::Model::CreateJobResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: CreateJobResult.h:45
Aws::Snowball::Model::CreateJobResult
Definition: CreateJobResult.h:28
Aws::Snowball::Model::CreateJobResult::CreateJobResult
CreateJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::CreateJobResult::GetJobId
const Aws::String & GetJobId() const
Definition: CreateJobResult.h:39
AWSString.h
Aws::Snowball::Model::CreateJobResult::SetJobId
void SetJobId(const char *value)
Definition: CreateJobResult.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::CreateJobResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: CreateJobResult.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Snowball::Model::CreateJobResult::WithJobId
CreateJobResult & WithJobId(const char *value)
Definition: CreateJobResult.h:75
Aws::Snowball::Model::CreateJobResult::operator=
CreateJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Snowball::Model::CreateJobResult::WithJobId
CreateJobResult & WithJobId(const Aws::String &value)
Definition: CreateJobResult.h:63
Snowball_EXPORTS.h
Aws::Snowball::Model::CreateJobResult::CreateJobResult
CreateJobResult()