AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
33
34
36
39 inline const Aws::String& GetJobArn() const { return m_jobArn; }
40 template<typename JobArnT = Aws::String>
41 void SetJobArn(JobArnT&& value) { m_jobArnHasBeenSet = true; m_jobArn = std::forward<JobArnT>(value); }
42 template<typename JobArnT = Aws::String>
43 CreateJobResult& WithJobArn(JobArnT&& value) { SetJobArn(std::forward<JobArnT>(value)); return *this;}
45
47
50 inline const Aws::String& GetJobId() const { return m_jobId; }
51 template<typename JobIdT = Aws::String>
52 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
53 template<typename JobIdT = Aws::String>
54 CreateJobResult& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetDescription() const { return m_description; }
62 template<typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
64 template<typename DescriptionT = Aws::String>
65 CreateJobResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template<typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
73 template<typename RequestIdT = Aws::String>
74 CreateJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
76 private:
77
78 Aws::String m_jobArn;
79 bool m_jobArnHasBeenSet = false;
80
81 Aws::String m_jobId;
82 bool m_jobIdHasBeenSet = false;
83
84 Aws::String m_description;
85 bool m_descriptionHasBeenSet = false;
86
87 Aws::String m_requestId;
88 bool m_requestIdHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace IoT
93} // namespace Aws
const Aws::String & GetJobId() const
const Aws::String & GetRequestId() const
CreateJobResult & WithRequestId(RequestIdT &&value)
AWS_IOT_API CreateJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOT_API CreateJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDescription() const
void SetRequestId(RequestIdT &&value)
AWS_IOT_API CreateJobResult()=default
CreateJobResult & WithJobArn(JobArnT &&value)
CreateJobResult & WithJobId(JobIdT &&value)
const Aws::String & GetJobArn() const
void SetJobArn(JobArnT &&value)
CreateJobResult & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue