AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CommandT = Aws::String>
50 void SetCommand(CommandT&& value) { m_commandHasBeenSet = true; m_command = std::forward<CommandT>(value); }
51 template<typename CommandT = Aws::String>
52 SetupExecutionDetails& WithCommand(CommandT&& value) { SetCommand(std::forward<CommandT>(value)); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetDateTime() const { return m_dateTime; }
60 inline bool DateTimeHasBeenSet() const { return m_dateTimeHasBeenSet; }
61 template<typename DateTimeT = Aws::Utils::DateTime>
62 void SetDateTime(DateTimeT&& value) { m_dateTimeHasBeenSet = true; m_dateTime = std::forward<DateTimeT>(value); }
63 template<typename DateTimeT = Aws::Utils::DateTime>
64 SetupExecutionDetails& WithDateTime(DateTimeT&& value) { SetDateTime(std::forward<DateTimeT>(value)); return *this;}
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 SetupExecutionDetails& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
83 inline SetupStatus GetStatus() const { return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 inline void SetStatus(SetupStatus value) { m_statusHasBeenSet = true; m_status = value; }
86 inline SetupExecutionDetails& WithStatus(SetupStatus value) { SetStatus(value); return *this;}
88
90
93 inline const Aws::String& GetStandardError() const { return m_standardError; }
94 inline bool StandardErrorHasBeenSet() const { return m_standardErrorHasBeenSet; }
95 template<typename StandardErrorT = Aws::String>
96 void SetStandardError(StandardErrorT&& value) { m_standardErrorHasBeenSet = true; m_standardError = std::forward<StandardErrorT>(value); }
97 template<typename StandardErrorT = Aws::String>
98 SetupExecutionDetails& WithStandardError(StandardErrorT&& value) { SetStandardError(std::forward<StandardErrorT>(value)); return *this;}
100
102
105 inline const Aws::String& GetStandardOutput() const { return m_standardOutput; }
106 inline bool StandardOutputHasBeenSet() const { return m_standardOutputHasBeenSet; }
107 template<typename StandardOutputT = Aws::String>
108 void SetStandardOutput(StandardOutputT&& value) { m_standardOutputHasBeenSet = true; m_standardOutput = std::forward<StandardOutputT>(value); }
109 template<typename StandardOutputT = Aws::String>
110 SetupExecutionDetails& WithStandardOutput(StandardOutputT&& value) { SetStandardOutput(std::forward<StandardOutputT>(value)); return *this;}
112
114
117 inline const Aws::String& GetVersion() const { return m_version; }
118 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
119 template<typename VersionT = Aws::String>
120 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
121 template<typename VersionT = Aws::String>
122 SetupExecutionDetails& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
124 private:
125
126 Aws::String m_command;
127 bool m_commandHasBeenSet = false;
128
129 Aws::Utils::DateTime m_dateTime{};
130 bool m_dateTimeHasBeenSet = false;
131
132 Aws::String m_name;
133 bool m_nameHasBeenSet = false;
134
136 bool m_statusHasBeenSet = false;
137
138 Aws::String m_standardError;
139 bool m_standardErrorHasBeenSet = false;
140
141 Aws::String m_standardOutput;
142 bool m_standardOutputHasBeenSet = false;
143
144 Aws::String m_version;
145 bool m_versionHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace Lightsail
150} // namespace Aws
SetupExecutionDetails & WithStatus(SetupStatus value)
SetupExecutionDetails & WithVersion(VersionT &&value)
AWS_LIGHTSAIL_API SetupExecutionDetails()=default
SetupExecutionDetails & WithStandardError(StandardErrorT &&value)
SetupExecutionDetails & WithName(NameT &&value)
SetupExecutionDetails & WithStandardOutput(StandardOutputT &&value)
const Aws::Utils::DateTime & GetDateTime() const
AWS_LIGHTSAIL_API SetupExecutionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
SetupExecutionDetails & WithCommand(CommandT &&value)
SetupExecutionDetails & WithDateTime(DateTimeT &&value)
AWS_LIGHTSAIL_API SetupExecutionDetails(Aws::Utils::Json::JsonView jsonValue)
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