AWS SDK for C++  1.9.123
AWS SDK for C++
DescribeJobResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <aws/iot/model/Job.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoT
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetDocumentSource() const{ return m_documentSource; }
40 
44  inline void SetDocumentSource(const Aws::String& value) { m_documentSource = value; }
45 
49  inline void SetDocumentSource(Aws::String&& value) { m_documentSource = std::move(value); }
50 
54  inline void SetDocumentSource(const char* value) { m_documentSource.assign(value); }
55 
59  inline DescribeJobResult& WithDocumentSource(const Aws::String& value) { SetDocumentSource(value); return *this;}
60 
64  inline DescribeJobResult& WithDocumentSource(Aws::String&& value) { SetDocumentSource(std::move(value)); return *this;}
65 
69  inline DescribeJobResult& WithDocumentSource(const char* value) { SetDocumentSource(value); return *this;}
70 
71 
75  inline const Job& GetJob() const{ return m_job; }
76 
80  inline void SetJob(const Job& value) { m_job = value; }
81 
85  inline void SetJob(Job&& value) { m_job = std::move(value); }
86 
90  inline DescribeJobResult& WithJob(const Job& value) { SetJob(value); return *this;}
91 
95  inline DescribeJobResult& WithJob(Job&& value) { SetJob(std::move(value)); return *this;}
96 
97  private:
98 
99  Aws::String m_documentSource;
100 
101  Job m_job;
102  };
103 
104 } // namespace Model
105 } // namespace IoT
106 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::DescribeJobResult::WithJob
DescribeJobResult & WithJob(const Job &value)
Definition: DescribeJobResult.h:90
Aws::IoT::Model::DescribeJobResult::SetDocumentSource
void SetDocumentSource(const Aws::String &value)
Definition: DescribeJobResult.h:44
Aws::IoT::Model::DescribeJobResult::operator=
DescribeJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeJobResult::SetDocumentSource
void SetDocumentSource(const char *value)
Definition: DescribeJobResult.h:54
Aws::IoT::Model::DescribeJobResult
Definition: DescribeJobResult.h:29
Aws::IoT::Model::DescribeJobResult::DescribeJobResult
DescribeJobResult()
Aws::IoT::Model::DescribeJobResult::DescribeJobResult
DescribeJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::Job
Definition: Job.h:42
Aws::IoT::Model::DescribeJobResult::WithJob
DescribeJobResult & WithJob(Job &&value)
Definition: DescribeJobResult.h:95
Aws::IoT::Model::DescribeJobResult::SetJob
void SetJob(Job &&value)
Definition: DescribeJobResult.h:85
Job.h
Aws::IoT::Model::DescribeJobResult::GetDocumentSource
const Aws::String & GetDocumentSource() const
Definition: DescribeJobResult.h:39
Aws::IoT::Model::DescribeJobResult::WithDocumentSource
DescribeJobResult & WithDocumentSource(const char *value)
Definition: DescribeJobResult.h:69
Aws::IoT::Model::DescribeJobResult::WithDocumentSource
DescribeJobResult & WithDocumentSource(Aws::String &&value)
Definition: DescribeJobResult.h:64
Aws::IoT::Model::DescribeJobResult::WithDocumentSource
DescribeJobResult & WithDocumentSource(const Aws::String &value)
Definition: DescribeJobResult.h:59
AWSString.h
Aws::IoT::Model::DescribeJobResult::GetJob
const Job & GetJob() const
Definition: DescribeJobResult.h:75
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::DescribeJobResult::SetDocumentSource
void SetDocumentSource(Aws::String &&value)
Definition: DescribeJobResult.h:49
Aws::IoT::Model::DescribeJobResult::SetJob
void SetJob(const Job &value)
Definition: DescribeJobResult.h:80
IoT_EXPORTS.h