AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateJobResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoT
24{
25namespace Model
26{
28 {
29 public:
30 AWS_IOT_API CreateJobResult();
33
34
36
39 inline const Aws::String& GetJobArn() const{ return m_jobArn; }
40 inline void SetJobArn(const Aws::String& value) { m_jobArn = value; }
41 inline void SetJobArn(Aws::String&& value) { m_jobArn = std::move(value); }
42 inline void SetJobArn(const char* value) { m_jobArn.assign(value); }
43 inline CreateJobResult& WithJobArn(const Aws::String& value) { SetJobArn(value); return *this;}
44 inline CreateJobResult& WithJobArn(Aws::String&& value) { SetJobArn(std::move(value)); return *this;}
45 inline CreateJobResult& WithJobArn(const char* value) { SetJobArn(value); return *this;}
47
49
52 inline const Aws::String& GetJobId() const{ return m_jobId; }
53 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
54 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
55 inline void SetJobId(const char* value) { m_jobId.assign(value); }
56 inline CreateJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
57 inline CreateJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
58 inline CreateJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
60
62
65 inline const Aws::String& GetDescription() const{ return m_description; }
66 inline void SetDescription(const Aws::String& value) { m_description = value; }
67 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
68 inline void SetDescription(const char* value) { m_description.assign(value); }
69 inline CreateJobResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
70 inline CreateJobResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
71 inline CreateJobResult& WithDescription(const char* value) { SetDescription(value); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline CreateJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline CreateJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline CreateJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::String m_jobArn;
87
88 Aws::String m_jobId;
89
90 Aws::String m_description;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace IoT
97} // namespace Aws
CreateJobResult & WithJobId(Aws::String &&value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetJobId() const
CreateJobResult & WithJobId(const Aws::String &value)
CreateJobResult & WithDescription(const Aws::String &value)
void SetJobId(Aws::String &&value)
const Aws::String & GetRequestId() const
CreateJobResult & WithDescription(const char *value)
void SetDescription(Aws::String &&value)
void SetDescription(const char *value)
CreateJobResult & WithRequestId(Aws::String &&value)
CreateJobResult & WithJobArn(const char *value)
CreateJobResult & WithJobId(const char *value)
CreateJobResult & WithJobArn(const Aws::String &value)
void SetRequestId(const char *value)
AWS_IOT_API CreateJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateJobResult & WithRequestId(const Aws::String &value)
void SetJobArn(const char *value)
AWS_IOT_API CreateJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDescription(const Aws::String &value)
void SetJobId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetDescription() const
const Aws::String & GetJobArn() const
void SetJobArn(Aws::String &&value)
CreateJobResult & WithJobArn(Aws::String &&value)
void SetJobArn(const Aws::String &value)
void SetJobId(const char *value)
CreateJobResult & WithDescription(Aws::String &&value)
CreateJobResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue