AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PackageImportJob.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/panorama/model/PackageImportJobType.h>
11#include <aws/panorama/model/PackageImportJobStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Panorama
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_PANORAMA_API PackageImportJob();
38 AWS_PANORAMA_API PackageImportJob(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
48 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
49 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
50 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
51 inline PackageImportJob& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
52 inline PackageImportJob& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetJobId() const{ return m_jobId; }
60 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
61 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
62 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
63 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
64 inline PackageImportJob& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
65 inline PackageImportJob& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
66 inline PackageImportJob& WithJobId(const char* value) { SetJobId(value); return *this;}
68
70
73 inline const PackageImportJobType& GetJobType() const{ return m_jobType; }
74 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
75 inline void SetJobType(const PackageImportJobType& value) { m_jobTypeHasBeenSet = true; m_jobType = value; }
76 inline void SetJobType(PackageImportJobType&& value) { m_jobTypeHasBeenSet = true; m_jobType = std::move(value); }
77 inline PackageImportJob& WithJobType(const PackageImportJobType& value) { SetJobType(value); return *this;}
78 inline PackageImportJob& WithJobType(PackageImportJobType&& value) { SetJobType(std::move(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
86 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
87 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
88 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
89 inline PackageImportJob& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
90 inline PackageImportJob& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
92
94
97 inline const PackageImportJobStatus& GetStatus() const{ return m_status; }
98 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 inline void SetStatus(const PackageImportJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
100 inline void SetStatus(PackageImportJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
101 inline PackageImportJob& WithStatus(const PackageImportJobStatus& value) { SetStatus(value); return *this;}
102 inline PackageImportJob& WithStatus(PackageImportJobStatus&& value) { SetStatus(std::move(value)); return *this;}
104
106
109 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
110 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
111 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
112 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
113 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
114 inline PackageImportJob& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
115 inline PackageImportJob& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
116 inline PackageImportJob& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
118 private:
119
120 Aws::Utils::DateTime m_createdTime;
121 bool m_createdTimeHasBeenSet = false;
122
123 Aws::String m_jobId;
124 bool m_jobIdHasBeenSet = false;
125
126 PackageImportJobType m_jobType;
127 bool m_jobTypeHasBeenSet = false;
128
129 Aws::Utils::DateTime m_lastUpdatedTime;
130 bool m_lastUpdatedTimeHasBeenSet = false;
131
132 PackageImportJobStatus m_status;
133 bool m_statusHasBeenSet = false;
134
135 Aws::String m_statusMessage;
136 bool m_statusMessageHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace Panorama
141} // namespace Aws
PackageImportJob & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
PackageImportJob & WithCreatedTime(const Aws::Utils::DateTime &value)
PackageImportJob & WithStatus(PackageImportJobStatus &&value)
PackageImportJob & WithJobId(const char *value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedTime() const
PackageImportJob & WithJobType(PackageImportJobType &&value)
void SetStatusMessage(const Aws::String &value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
PackageImportJob & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetStatus(PackageImportJobStatus &&value)
AWS_PANORAMA_API PackageImportJob & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStatusMessage() const
AWS_PANORAMA_API PackageImportJob(Aws::Utils::Json::JsonView jsonValue)
void SetStatusMessage(Aws::String &&value)
PackageImportJob & WithStatusMessage(const Aws::String &value)
void SetJobType(const PackageImportJobType &value)
const PackageImportJobStatus & GetStatus() const
const Aws::String & GetJobId() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
PackageImportJob & WithStatus(const PackageImportJobStatus &value)
const PackageImportJobType & GetJobType() const
PackageImportJob & WithJobType(const PackageImportJobType &value)
PackageImportJob & WithStatusMessage(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetJobId(const Aws::String &value)
void SetStatus(const PackageImportJobStatus &value)
PackageImportJob & WithJobId(Aws::String &&value)
void SetJobType(PackageImportJobType &&value)
PackageImportJob & WithJobId(const Aws::String &value)
PackageImportJob & WithStatusMessage(const char *value)
PackageImportJob & WithCreatedTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue