AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeJobResult.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/snowball/model/JobMetadata.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Snowball
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SNOWBALL_API DescribeJobResult();
35
36
38
42 inline const JobMetadata& GetJobMetadata() const{ return m_jobMetadata; }
43 inline void SetJobMetadata(const JobMetadata& value) { m_jobMetadata = value; }
44 inline void SetJobMetadata(JobMetadata&& value) { m_jobMetadata = std::move(value); }
45 inline DescribeJobResult& WithJobMetadata(const JobMetadata& value) { SetJobMetadata(value); return *this;}
46 inline DescribeJobResult& WithJobMetadata(JobMetadata&& value) { SetJobMetadata(std::move(value)); return *this;}
48
50
54 inline const Aws::Vector<JobMetadata>& GetSubJobMetadata() const{ return m_subJobMetadata; }
55 inline void SetSubJobMetadata(const Aws::Vector<JobMetadata>& value) { m_subJobMetadata = value; }
56 inline void SetSubJobMetadata(Aws::Vector<JobMetadata>&& value) { m_subJobMetadata = std::move(value); }
58 inline DescribeJobResult& WithSubJobMetadata(Aws::Vector<JobMetadata>&& value) { SetSubJobMetadata(std::move(value)); return *this;}
59 inline DescribeJobResult& AddSubJobMetadata(const JobMetadata& value) { m_subJobMetadata.push_back(value); return *this; }
60 inline DescribeJobResult& AddSubJobMetadata(JobMetadata&& value) { m_subJobMetadata.push_back(std::move(value)); return *this; }
62
64
65 inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
67 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
68 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
69 inline DescribeJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
70 inline DescribeJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
71 inline DescribeJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
73 private:
74
75 JobMetadata m_jobMetadata;
76
77 Aws::Vector<JobMetadata> m_subJobMetadata;
78
79 Aws::String m_requestId;
80 };
81
82} // namespace Model
83} // namespace Snowball
84} // namespace Aws
DescribeJobResult & WithSubJobMetadata(const Aws::Vector< JobMetadata > &value)
const Aws::String & GetRequestId() const
DescribeJobResult & AddSubJobMetadata(const JobMetadata &value)
const Aws::Vector< JobMetadata > & GetSubJobMetadata() const
DescribeJobResult & WithRequestId(const char *value)
void SetSubJobMetadata(Aws::Vector< JobMetadata > &&value)
const JobMetadata & GetJobMetadata() const
DescribeJobResult & WithSubJobMetadata(Aws::Vector< JobMetadata > &&value)
void SetJobMetadata(const JobMetadata &value)
DescribeJobResult & WithRequestId(Aws::String &&value)
DescribeJobResult & WithJobMetadata(const JobMetadata &value)
DescribeJobResult & AddSubJobMetadata(JobMetadata &&value)
DescribeJobResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
DescribeJobResult & WithJobMetadata(JobMetadata &&value)
void SetSubJobMetadata(const Aws::Vector< JobMetadata > &value)
AWS_SNOWBALL_API DescribeJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SNOWBALL_API DescribeJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue