AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetupExecutionDetails.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lightsail/model/SetupStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Lightsail
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LIGHTSAIL_API SetupExecutionDetails();
40 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetCommand() const{ return m_command; }
48 inline bool CommandHasBeenSet() const { return m_commandHasBeenSet; }
49 inline void SetCommand(const Aws::String& value) { m_commandHasBeenSet = true; m_command = value; }
50 inline void SetCommand(Aws::String&& value) { m_commandHasBeenSet = true; m_command = std::move(value); }
51 inline void SetCommand(const char* value) { m_commandHasBeenSet = true; m_command.assign(value); }
52 inline SetupExecutionDetails& WithCommand(const Aws::String& value) { SetCommand(value); return *this;}
53 inline SetupExecutionDetails& WithCommand(Aws::String&& value) { SetCommand(std::move(value)); return *this;}
54 inline SetupExecutionDetails& WithCommand(const char* value) { SetCommand(value); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetDateTime() const{ return m_dateTime; }
62 inline bool DateTimeHasBeenSet() const { return m_dateTimeHasBeenSet; }
63 inline void SetDateTime(const Aws::Utils::DateTime& value) { m_dateTimeHasBeenSet = true; m_dateTime = value; }
64 inline void SetDateTime(Aws::Utils::DateTime&& value) { m_dateTimeHasBeenSet = true; m_dateTime = std::move(value); }
65 inline SetupExecutionDetails& WithDateTime(const Aws::Utils::DateTime& value) { SetDateTime(value); return *this;}
66 inline SetupExecutionDetails& WithDateTime(Aws::Utils::DateTime&& value) { SetDateTime(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline SetupExecutionDetails& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline SetupExecutionDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline SetupExecutionDetails& WithName(const char* value) { SetName(value); return *this;}
82
84
87 inline const SetupStatus& GetStatus() const{ return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 inline void SetStatus(const SetupStatus& value) { m_statusHasBeenSet = true; m_status = value; }
90 inline void SetStatus(SetupStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
91 inline SetupExecutionDetails& WithStatus(const SetupStatus& value) { SetStatus(value); return *this;}
92 inline SetupExecutionDetails& WithStatus(SetupStatus&& value) { SetStatus(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetStandardError() const{ return m_standardError; }
100 inline bool StandardErrorHasBeenSet() const { return m_standardErrorHasBeenSet; }
101 inline void SetStandardError(const Aws::String& value) { m_standardErrorHasBeenSet = true; m_standardError = value; }
102 inline void SetStandardError(Aws::String&& value) { m_standardErrorHasBeenSet = true; m_standardError = std::move(value); }
103 inline void SetStandardError(const char* value) { m_standardErrorHasBeenSet = true; m_standardError.assign(value); }
104 inline SetupExecutionDetails& WithStandardError(const Aws::String& value) { SetStandardError(value); return *this;}
105 inline SetupExecutionDetails& WithStandardError(Aws::String&& value) { SetStandardError(std::move(value)); return *this;}
106 inline SetupExecutionDetails& WithStandardError(const char* value) { SetStandardError(value); return *this;}
108
110
113 inline const Aws::String& GetStandardOutput() const{ return m_standardOutput; }
114 inline bool StandardOutputHasBeenSet() const { return m_standardOutputHasBeenSet; }
115 inline void SetStandardOutput(const Aws::String& value) { m_standardOutputHasBeenSet = true; m_standardOutput = value; }
116 inline void SetStandardOutput(Aws::String&& value) { m_standardOutputHasBeenSet = true; m_standardOutput = std::move(value); }
117 inline void SetStandardOutput(const char* value) { m_standardOutputHasBeenSet = true; m_standardOutput.assign(value); }
118 inline SetupExecutionDetails& WithStandardOutput(const Aws::String& value) { SetStandardOutput(value); return *this;}
119 inline SetupExecutionDetails& WithStandardOutput(Aws::String&& value) { SetStandardOutput(std::move(value)); return *this;}
120 inline SetupExecutionDetails& WithStandardOutput(const char* value) { SetStandardOutput(value); return *this;}
122
124
127 inline const Aws::String& GetVersion() const{ return m_version; }
128 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
129 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
130 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
131 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
132 inline SetupExecutionDetails& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
133 inline SetupExecutionDetails& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
134 inline SetupExecutionDetails& WithVersion(const char* value) { SetVersion(value); return *this;}
136 private:
137
138 Aws::String m_command;
139 bool m_commandHasBeenSet = false;
140
141 Aws::Utils::DateTime m_dateTime;
142 bool m_dateTimeHasBeenSet = false;
143
144 Aws::String m_name;
145 bool m_nameHasBeenSet = false;
146
147 SetupStatus m_status;
148 bool m_statusHasBeenSet = false;
149
150 Aws::String m_standardError;
151 bool m_standardErrorHasBeenSet = false;
152
153 Aws::String m_standardOutput;
154 bool m_standardOutputHasBeenSet = false;
155
156 Aws::String m_version;
157 bool m_versionHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace Lightsail
162} // namespace Aws
SetupExecutionDetails & WithName(Aws::String &&value)
SetupExecutionDetails & WithDateTime(const Aws::Utils::DateTime &value)
SetupExecutionDetails & WithCommand(Aws::String &&value)
SetupExecutionDetails & WithStatus(SetupStatus &&value)
SetupExecutionDetails & WithStandardOutput(Aws::String &&value)
SetupExecutionDetails & WithStandardOutput(const char *value)
SetupExecutionDetails & WithVersion(const char *value)
SetupExecutionDetails & WithCommand(const char *value)
void SetDateTime(Aws::Utils::DateTime &&value)
SetupExecutionDetails & WithStandardOutput(const Aws::String &value)
const Aws::Utils::DateTime & GetDateTime() const
AWS_LIGHTSAIL_API SetupExecutionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
SetupExecutionDetails & WithStandardError(const Aws::String &value)
SetupExecutionDetails & WithStandardError(Aws::String &&value)
SetupExecutionDetails & WithVersion(const Aws::String &value)
SetupExecutionDetails & WithVersion(Aws::String &&value)
SetupExecutionDetails & WithStatus(const SetupStatus &value)
SetupExecutionDetails & WithName(const Aws::String &value)
void SetDateTime(const Aws::Utils::DateTime &value)
SetupExecutionDetails & WithStandardError(const char *value)
AWS_LIGHTSAIL_API SetupExecutionDetails(Aws::Utils::Json::JsonView jsonValue)
SetupExecutionDetails & WithDateTime(Aws::Utils::DateTime &&value)
SetupExecutionDetails & WithCommand(const Aws::String &value)
SetupExecutionDetails & WithName(const char *value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue