AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DryRunConfigOutput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/synthetics/Synthetics_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Synthetics {
20namespace Model {
21
29 public:
30 AWS_SYNTHETICS_API DryRunConfigOutput() = default;
31 AWS_SYNTHETICS_API DryRunConfigOutput(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetDryRunId() const { return m_dryRunId; }
41 inline bool DryRunIdHasBeenSet() const { return m_dryRunIdHasBeenSet; }
42 template <typename DryRunIdT = Aws::String>
43 void SetDryRunId(DryRunIdT&& value) {
44 m_dryRunIdHasBeenSet = true;
45 m_dryRunId = std::forward<DryRunIdT>(value);
46 }
47 template <typename DryRunIdT = Aws::String>
48 DryRunConfigOutput& WithDryRunId(DryRunIdT&& value) {
49 SetDryRunId(std::forward<DryRunIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetLastDryRunExecutionStatus() const { return m_lastDryRunExecutionStatus; }
59 inline bool LastDryRunExecutionStatusHasBeenSet() const { return m_lastDryRunExecutionStatusHasBeenSet; }
60 template <typename LastDryRunExecutionStatusT = Aws::String>
61 void SetLastDryRunExecutionStatus(LastDryRunExecutionStatusT&& value) {
62 m_lastDryRunExecutionStatusHasBeenSet = true;
63 m_lastDryRunExecutionStatus = std::forward<LastDryRunExecutionStatusT>(value);
64 }
65 template <typename LastDryRunExecutionStatusT = Aws::String>
66 DryRunConfigOutput& WithLastDryRunExecutionStatus(LastDryRunExecutionStatusT&& value) {
67 SetLastDryRunExecutionStatus(std::forward<LastDryRunExecutionStatusT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_dryRunId;
73 bool m_dryRunIdHasBeenSet = false;
74
75 Aws::String m_lastDryRunExecutionStatus;
76 bool m_lastDryRunExecutionStatusHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Synthetics
81} // namespace Aws
AWS_SYNTHETICS_API DryRunConfigOutput(Aws::Utils::Json::JsonView jsonValue)
void SetLastDryRunExecutionStatus(LastDryRunExecutionStatusT &&value)
AWS_SYNTHETICS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLastDryRunExecutionStatus() const
DryRunConfigOutput & WithLastDryRunExecutionStatus(LastDryRunExecutionStatusT &&value)
AWS_SYNTHETICS_API DryRunConfigOutput()=default
AWS_SYNTHETICS_API DryRunConfigOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
DryRunConfigOutput & WithDryRunId(DryRunIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue