AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDiscoveryJobResult.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datasync/model/DiscoveryJobStatus.h>
10#include <aws/core/utils/DateTime.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 DataSync
26{
27namespace Model
28{
30 {
31 public:
32 AWS_DATASYNC_API DescribeDiscoveryJobResult();
35
36
38
42 inline const Aws::String& GetStorageSystemArn() const{ return m_storageSystemArn; }
43 inline void SetStorageSystemArn(const Aws::String& value) { m_storageSystemArn = value; }
44 inline void SetStorageSystemArn(Aws::String&& value) { m_storageSystemArn = std::move(value); }
45 inline void SetStorageSystemArn(const char* value) { m_storageSystemArn.assign(value); }
47 inline DescribeDiscoveryJobResult& WithStorageSystemArn(Aws::String&& value) { SetStorageSystemArn(std::move(value)); return *this;}
48 inline DescribeDiscoveryJobResult& WithStorageSystemArn(const char* value) { SetStorageSystemArn(value); return *this;}
50
52
55 inline const Aws::String& GetDiscoveryJobArn() const{ return m_discoveryJobArn; }
56 inline void SetDiscoveryJobArn(const Aws::String& value) { m_discoveryJobArn = value; }
57 inline void SetDiscoveryJobArn(Aws::String&& value) { m_discoveryJobArn = std::move(value); }
58 inline void SetDiscoveryJobArn(const char* value) { m_discoveryJobArn.assign(value); }
60 inline DescribeDiscoveryJobResult& WithDiscoveryJobArn(Aws::String&& value) { SetDiscoveryJobArn(std::move(value)); return *this;}
61 inline DescribeDiscoveryJobResult& WithDiscoveryJobArn(const char* value) { SetDiscoveryJobArn(value); return *this;}
63
65
68 inline int GetCollectionDurationMinutes() const{ return m_collectionDurationMinutes; }
69 inline void SetCollectionDurationMinutes(int value) { m_collectionDurationMinutes = value; }
72
74
79 inline const DiscoveryJobStatus& GetStatus() const{ return m_status; }
80 inline void SetStatus(const DiscoveryJobStatus& value) { m_status = value; }
81 inline void SetStatus(DiscoveryJobStatus&& value) { m_status = std::move(value); }
82 inline DescribeDiscoveryJobResult& WithStatus(const DiscoveryJobStatus& value) { SetStatus(value); return *this;}
83 inline DescribeDiscoveryJobResult& WithStatus(DiscoveryJobStatus&& value) { SetStatus(std::move(value)); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetJobStartTime() const{ return m_jobStartTime; }
91 inline void SetJobStartTime(const Aws::Utils::DateTime& value) { m_jobStartTime = value; }
92 inline void SetJobStartTime(Aws::Utils::DateTime&& value) { m_jobStartTime = std::move(value); }
94 inline DescribeDiscoveryJobResult& WithJobStartTime(Aws::Utils::DateTime&& value) { SetJobStartTime(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetJobEndTime() const{ return m_jobEndTime; }
102 inline void SetJobEndTime(const Aws::Utils::DateTime& value) { m_jobEndTime = value; }
103 inline void SetJobEndTime(Aws::Utils::DateTime&& value) { m_jobEndTime = std::move(value); }
105 inline DescribeDiscoveryJobResult& WithJobEndTime(Aws::Utils::DateTime&& value) { SetJobEndTime(std::move(value)); return *this;}
107
109
110 inline const Aws::String& GetRequestId() const{ return m_requestId; }
111 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
112 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
113 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
114 inline DescribeDiscoveryJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
115 inline DescribeDiscoveryJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
116 inline DescribeDiscoveryJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
118 private:
119
120 Aws::String m_storageSystemArn;
121
122 Aws::String m_discoveryJobArn;
123
124 int m_collectionDurationMinutes;
125
126 DiscoveryJobStatus m_status;
127
128 Aws::Utils::DateTime m_jobStartTime;
129
130 Aws::Utils::DateTime m_jobEndTime;
131
132 Aws::String m_requestId;
133 };
134
135} // namespace Model
136} // namespace DataSync
137} // namespace Aws
DescribeDiscoveryJobResult & WithCollectionDurationMinutes(int value)
DescribeDiscoveryJobResult & WithJobStartTime(Aws::Utils::DateTime &&value)
DescribeDiscoveryJobResult & WithStorageSystemArn(const Aws::String &value)
DescribeDiscoveryJobResult & WithJobEndTime(const Aws::Utils::DateTime &value)
DescribeDiscoveryJobResult & WithJobEndTime(Aws::Utils::DateTime &&value)
DescribeDiscoveryJobResult & WithDiscoveryJobArn(Aws::String &&value)
DescribeDiscoveryJobResult & WithJobStartTime(const Aws::Utils::DateTime &value)
DescribeDiscoveryJobResult & WithRequestId(const char *value)
DescribeDiscoveryJobResult & WithStorageSystemArn(const char *value)
DescribeDiscoveryJobResult & WithStorageSystemArn(Aws::String &&value)
DescribeDiscoveryJobResult & WithDiscoveryJobArn(const Aws::String &value)
DescribeDiscoveryJobResult & WithRequestId(Aws::String &&value)
AWS_DATASYNC_API DescribeDiscoveryJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDiscoveryJobResult & WithRequestId(const Aws::String &value)
void SetJobEndTime(const Aws::Utils::DateTime &value)
DescribeDiscoveryJobResult & WithStatus(DiscoveryJobStatus &&value)
AWS_DATASYNC_API DescribeDiscoveryJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDiscoveryJobResult & WithStatus(const DiscoveryJobStatus &value)
DescribeDiscoveryJobResult & WithDiscoveryJobArn(const char *value)
void SetJobStartTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue