AWS SDK for C++  1.9.124
AWS SDK for C++
CreateJobResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
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 IoT
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 CreateJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
59 
63  inline CreateJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
64 
68  inline CreateJobResult& 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 CreateJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
95 
99  inline CreateJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
100 
104  inline CreateJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
105 
106 
110  inline const Aws::String& GetDescription() const{ return m_description; }
111 
115  inline void SetDescription(const Aws::String& value) { m_description = value; }
116 
120  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
121 
125  inline void SetDescription(const char* value) { m_description.assign(value); }
126 
130  inline CreateJobResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
131 
135  inline CreateJobResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
136 
140  inline CreateJobResult& WithDescription(const char* value) { SetDescription(value); return *this;}
141 
142  private:
143 
144  Aws::String m_jobArn;
145 
146  Aws::String m_jobId;
147 
148  Aws::String m_description;
149  };
150 
151 } // namespace Model
152 } // namespace IoT
153 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::CreateJobResult::GetDescription
const Aws::String & GetDescription() const
Definition: CreateJobResult.h:110
Aws::IoT::Model::CreateJobResult::WithJobId
CreateJobResult & WithJobId(const char *value)
Definition: CreateJobResult.h:104
Aws::IoT::Model::CreateJobResult::CreateJobResult
CreateJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateJobResult::WithJobId
CreateJobResult & WithJobId(const Aws::String &value)
Definition: CreateJobResult.h:94
Aws::IoT::Model::CreateJobResult::SetJobArn
void SetJobArn(const Aws::String &value)
Definition: CreateJobResult.h:43
Aws::IoT::Model::CreateJobResult::GetJobArn
const Aws::String & GetJobArn() const
Definition: CreateJobResult.h:38
Aws::IoT::Model::CreateJobResult::WithJobId
CreateJobResult & WithJobId(Aws::String &&value)
Definition: CreateJobResult.h:99
Aws::IoT::Model::CreateJobResult::WithDescription
CreateJobResult & WithDescription(const Aws::String &value)
Definition: CreateJobResult.h:130
Aws::IoT::Model::CreateJobResult::WithDescription
CreateJobResult & WithDescription(const char *value)
Definition: CreateJobResult.h:140
Aws::IoT::Model::CreateJobResult::SetJobId
void SetJobId(const char *value)
Definition: CreateJobResult.h:89
Aws::IoT::Model::CreateJobResult::WithJobArn
CreateJobResult & WithJobArn(Aws::String &&value)
Definition: CreateJobResult.h:63
Aws::IoT::Model::CreateJobResult::CreateJobResult
CreateJobResult()
Aws::IoT::Model::CreateJobResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: CreateJobResult.h:79
Aws::IoT::Model::CreateJobResult::SetDescription
void SetDescription(const char *value)
Definition: CreateJobResult.h:125
Aws::IoT::Model::CreateJobResult::WithDescription
CreateJobResult & WithDescription(Aws::String &&value)
Definition: CreateJobResult.h:135
AWSString.h
Aws::IoT::Model::CreateJobResult::SetJobArn
void SetJobArn(Aws::String &&value)
Definition: CreateJobResult.h:48
Aws::IoT::Model::CreateJobResult::SetJobArn
void SetJobArn(const char *value)
Definition: CreateJobResult.h:53
Aws::IoT::Model::CreateJobResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateJobResult.h:120
Aws::IoT::Model::CreateJobResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateJobResult.h:115
Aws::IoT::Model::CreateJobResult::operator=
CreateJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::CreateJobResult
Definition: CreateJobResult.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::CreateJobResult::GetJobId
const Aws::String & GetJobId() const
Definition: CreateJobResult.h:74
Aws::IoT::Model::CreateJobResult::WithJobArn
CreateJobResult & WithJobArn(const char *value)
Definition: CreateJobResult.h:68
Aws::IoT::Model::CreateJobResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: CreateJobResult.h:84
Aws::IoT::Model::CreateJobResult::WithJobArn
CreateJobResult & WithJobArn(const Aws::String &value)
Definition: CreateJobResult.h:58
IoT_EXPORTS.h