AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EdgePresetDeploymentOutput.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/EdgePresetDeploymentType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/EdgePresetDeploymentStatus.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 SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API EdgePresetDeploymentOutput();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const EdgePresetDeploymentType& GetType() const{ return m_type; }
49 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 inline void SetType(const EdgePresetDeploymentType& value) { m_typeHasBeenSet = true; m_type = value; }
51 inline void SetType(EdgePresetDeploymentType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
52 inline EdgePresetDeploymentOutput& WithType(const EdgePresetDeploymentType& value) { SetType(value); return *this;}
53 inline EdgePresetDeploymentOutput& WithType(EdgePresetDeploymentType&& value) { SetType(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetArtifact() const{ return m_artifact; }
61 inline bool ArtifactHasBeenSet() const { return m_artifactHasBeenSet; }
62 inline void SetArtifact(const Aws::String& value) { m_artifactHasBeenSet = true; m_artifact = value; }
63 inline void SetArtifact(Aws::String&& value) { m_artifactHasBeenSet = true; m_artifact = std::move(value); }
64 inline void SetArtifact(const char* value) { m_artifactHasBeenSet = true; m_artifact.assign(value); }
65 inline EdgePresetDeploymentOutput& WithArtifact(const Aws::String& value) { SetArtifact(value); return *this;}
66 inline EdgePresetDeploymentOutput& WithArtifact(Aws::String&& value) { SetArtifact(std::move(value)); return *this;}
67 inline EdgePresetDeploymentOutput& WithArtifact(const char* value) { SetArtifact(value); return *this;}
69
71
74 inline const EdgePresetDeploymentStatus& GetStatus() const{ return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 inline void SetStatus(const EdgePresetDeploymentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
77 inline void SetStatus(EdgePresetDeploymentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
78 inline EdgePresetDeploymentOutput& WithStatus(const EdgePresetDeploymentStatus& value) { SetStatus(value); return *this;}
79 inline EdgePresetDeploymentOutput& WithStatus(EdgePresetDeploymentStatus&& value) { SetStatus(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
87 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
88 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
89 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
90 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
91 inline EdgePresetDeploymentOutput& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
92 inline EdgePresetDeploymentOutput& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
93 inline EdgePresetDeploymentOutput& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
95 private:
96
98 bool m_typeHasBeenSet = false;
99
100 Aws::String m_artifact;
101 bool m_artifactHasBeenSet = false;
102
104 bool m_statusHasBeenSet = false;
105
106 Aws::String m_statusMessage;
107 bool m_statusMessageHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace SageMaker
112} // namespace Aws
EdgePresetDeploymentOutput & WithStatus(EdgePresetDeploymentStatus &&value)
EdgePresetDeploymentOutput & WithType(EdgePresetDeploymentType &&value)
void SetType(const EdgePresetDeploymentType &value)
AWS_SAGEMAKER_API EdgePresetDeploymentOutput(Aws::Utils::Json::JsonView jsonValue)
EdgePresetDeploymentOutput & WithType(const EdgePresetDeploymentType &value)
EdgePresetDeploymentOutput & WithStatus(const EdgePresetDeploymentStatus &value)
EdgePresetDeploymentOutput & WithArtifact(const char *value)
EdgePresetDeploymentOutput & WithArtifact(Aws::String &&value)
EdgePresetDeploymentOutput & WithStatusMessage(Aws::String &&value)
EdgePresetDeploymentOutput & WithStatusMessage(const char *value)
void SetStatus(EdgePresetDeploymentStatus &&value)
const EdgePresetDeploymentStatus & GetStatus() const
EdgePresetDeploymentOutput & WithArtifact(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API EdgePresetDeploymentOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
EdgePresetDeploymentOutput & WithStatusMessage(const Aws::String &value)
void SetStatus(const EdgePresetDeploymentStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue