AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NodeFromTemplateJob.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/NodeFromTemplateJobStatus.h>
11#include <aws/panorama/model/TemplateType.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 NodeFromTemplateJob();
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 NodeFromTemplateJob& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
52 inline NodeFromTemplateJob& 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 NodeFromTemplateJob& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
65 inline NodeFromTemplateJob& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
66 inline NodeFromTemplateJob& WithJobId(const char* value) { SetJobId(value); return *this;}
68
70
73 inline const Aws::String& GetNodeName() const{ return m_nodeName; }
74 inline bool NodeNameHasBeenSet() const { return m_nodeNameHasBeenSet; }
75 inline void SetNodeName(const Aws::String& value) { m_nodeNameHasBeenSet = true; m_nodeName = value; }
76 inline void SetNodeName(Aws::String&& value) { m_nodeNameHasBeenSet = true; m_nodeName = std::move(value); }
77 inline void SetNodeName(const char* value) { m_nodeNameHasBeenSet = true; m_nodeName.assign(value); }
78 inline NodeFromTemplateJob& WithNodeName(const Aws::String& value) { SetNodeName(value); return *this;}
79 inline NodeFromTemplateJob& WithNodeName(Aws::String&& value) { SetNodeName(std::move(value)); return *this;}
80 inline NodeFromTemplateJob& WithNodeName(const char* value) { SetNodeName(value); return *this;}
82
84
87 inline const NodeFromTemplateJobStatus& GetStatus() const{ return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 inline void SetStatus(const NodeFromTemplateJobStatus& value) { m_statusHasBeenSet = true; m_status = value; }
90 inline void SetStatus(NodeFromTemplateJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
91 inline NodeFromTemplateJob& WithStatus(const NodeFromTemplateJobStatus& value) { SetStatus(value); return *this;}
92 inline NodeFromTemplateJob& WithStatus(NodeFromTemplateJobStatus&& value) { SetStatus(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
100 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
101 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
102 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
103 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
104 inline NodeFromTemplateJob& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
105 inline NodeFromTemplateJob& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
106 inline NodeFromTemplateJob& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
108
110
113 inline const TemplateType& GetTemplateType() const{ return m_templateType; }
114 inline bool TemplateTypeHasBeenSet() const { return m_templateTypeHasBeenSet; }
115 inline void SetTemplateType(const TemplateType& value) { m_templateTypeHasBeenSet = true; m_templateType = value; }
116 inline void SetTemplateType(TemplateType&& value) { m_templateTypeHasBeenSet = true; m_templateType = std::move(value); }
117 inline NodeFromTemplateJob& WithTemplateType(const TemplateType& value) { SetTemplateType(value); return *this;}
118 inline NodeFromTemplateJob& WithTemplateType(TemplateType&& value) { SetTemplateType(std::move(value)); return *this;}
120 private:
121
122 Aws::Utils::DateTime m_createdTime;
123 bool m_createdTimeHasBeenSet = false;
124
125 Aws::String m_jobId;
126 bool m_jobIdHasBeenSet = false;
127
128 Aws::String m_nodeName;
129 bool m_nodeNameHasBeenSet = false;
130
132 bool m_statusHasBeenSet = false;
133
134 Aws::String m_statusMessage;
135 bool m_statusMessageHasBeenSet = false;
136
137 TemplateType m_templateType;
138 bool m_templateTypeHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Panorama
143} // namespace Aws
NodeFromTemplateJob & WithStatusMessage(const Aws::String &value)
void SetTemplateType(const TemplateType &value)
NodeFromTemplateJob & WithJobId(const Aws::String &value)
NodeFromTemplateJob & WithNodeName(const char *value)
NodeFromTemplateJob & WithStatus(NodeFromTemplateJobStatus &&value)
NodeFromTemplateJob & WithStatus(const NodeFromTemplateJobStatus &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreatedTime() const
NodeFromTemplateJob & WithJobId(const char *value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
NodeFromTemplateJob & WithStatusMessage(const char *value)
NodeFromTemplateJob & WithNodeName(Aws::String &&value)
NodeFromTemplateJob & WithJobId(Aws::String &&value)
NodeFromTemplateJob & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetStatusMessage(const Aws::String &value)
NodeFromTemplateJob & WithCreatedTime(Aws::Utils::DateTime &&value)
AWS_PANORAMA_API NodeFromTemplateJob & operator=(Aws::Utils::Json::JsonView jsonValue)
const NodeFromTemplateJobStatus & GetStatus() const
void SetNodeName(const Aws::String &value)
NodeFromTemplateJob & WithNodeName(const Aws::String &value)
NodeFromTemplateJob & WithTemplateType(const TemplateType &value)
void SetJobId(const Aws::String &value)
void SetStatus(NodeFromTemplateJobStatus &&value)
AWS_PANORAMA_API NodeFromTemplateJob(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const NodeFromTemplateJobStatus &value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
NodeFromTemplateJob & WithTemplateType(TemplateType &&value)
NodeFromTemplateJob & WithStatusMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue