AWS SDK for C++  1.9.47
AWS SDK for C++
GetJobDocumentResult.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& GetDocument() const{ return m_document; }
39 
43  inline void SetDocument(const Aws::String& value) { m_document = value; }
44 
48  inline void SetDocument(Aws::String&& value) { m_document = std::move(value); }
49 
53  inline void SetDocument(const char* value) { m_document.assign(value); }
54 
58  inline GetJobDocumentResult& WithDocument(const Aws::String& value) { SetDocument(value); return *this;}
59 
63  inline GetJobDocumentResult& WithDocument(Aws::String&& value) { SetDocument(std::move(value)); return *this;}
64 
68  inline GetJobDocumentResult& WithDocument(const char* value) { SetDocument(value); return *this;}
69 
70  private:
71 
72  Aws::String m_document;
73  };
74 
75 } // namespace Model
76 } // namespace IoT
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::GetJobDocumentResult::WithDocument
GetJobDocumentResult & WithDocument(const char *value)
Definition: GetJobDocumentResult.h:68
Aws::IoT::Model::GetJobDocumentResult::WithDocument
GetJobDocumentResult & WithDocument(const Aws::String &value)
Definition: GetJobDocumentResult.h:58
Aws::IoT::Model::GetJobDocumentResult::GetJobDocumentResult
GetJobDocumentResult()
Aws::IoT::Model::GetJobDocumentResult::SetDocument
void SetDocument(Aws::String &&value)
Definition: GetJobDocumentResult.h:48
Aws::IoT::Model::GetJobDocumentResult::GetDocument
const Aws::String & GetDocument() const
Definition: GetJobDocumentResult.h:38
Aws::IoT::Model::GetJobDocumentResult::GetJobDocumentResult
GetJobDocumentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::GetJobDocumentResult::operator=
GetJobDocumentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::IoT::Model::GetJobDocumentResult::SetDocument
void SetDocument(const char *value)
Definition: GetJobDocumentResult.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::GetJobDocumentResult
Definition: GetJobDocumentResult.h:28
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::GetJobDocumentResult::SetDocument
void SetDocument(const Aws::String &value)
Definition: GetJobDocumentResult.h:43
Aws::IoT::Model::GetJobDocumentResult::WithDocument
GetJobDocumentResult & WithDocument(Aws::String &&value)
Definition: GetJobDocumentResult.h:63
IoT_EXPORTS.h