AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeImageResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/ImageStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SAGEMAKER_API DescribeImageResult();
35
36
38
41 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
42 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
43 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
44 inline DescribeImageResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
45 inline DescribeImageResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
47
49
52 inline const Aws::String& GetDescription() const{ return m_description; }
53 inline void SetDescription(const Aws::String& value) { m_description = value; }
54 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
55 inline void SetDescription(const char* value) { m_description.assign(value); }
56 inline DescribeImageResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
57 inline DescribeImageResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
58 inline DescribeImageResult& WithDescription(const char* value) { SetDescription(value); return *this;}
60
62
65 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
66 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
67 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
68 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
69 inline DescribeImageResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
70 inline DescribeImageResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
71 inline DescribeImageResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
73
75
79 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
80 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
81 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
82 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
83 inline DescribeImageResult& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
84 inline DescribeImageResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
85 inline DescribeImageResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
87
89
92 inline const Aws::String& GetImageArn() const{ return m_imageArn; }
93 inline void SetImageArn(const Aws::String& value) { m_imageArn = value; }
94 inline void SetImageArn(Aws::String&& value) { m_imageArn = std::move(value); }
95 inline void SetImageArn(const char* value) { m_imageArn.assign(value); }
96 inline DescribeImageResult& WithImageArn(const Aws::String& value) { SetImageArn(value); return *this;}
97 inline DescribeImageResult& WithImageArn(Aws::String&& value) { SetImageArn(std::move(value)); return *this;}
98 inline DescribeImageResult& WithImageArn(const char* value) { SetImageArn(value); return *this;}
100
102
105 inline const Aws::String& GetImageName() const{ return m_imageName; }
106 inline void SetImageName(const Aws::String& value) { m_imageName = value; }
107 inline void SetImageName(Aws::String&& value) { m_imageName = std::move(value); }
108 inline void SetImageName(const char* value) { m_imageName.assign(value); }
109 inline DescribeImageResult& WithImageName(const Aws::String& value) { SetImageName(value); return *this;}
110 inline DescribeImageResult& WithImageName(Aws::String&& value) { SetImageName(std::move(value)); return *this;}
111 inline DescribeImageResult& WithImageName(const char* value) { SetImageName(value); return *this;}
113
115
118 inline const ImageStatus& GetImageStatus() const{ return m_imageStatus; }
119 inline void SetImageStatus(const ImageStatus& value) { m_imageStatus = value; }
120 inline void SetImageStatus(ImageStatus&& value) { m_imageStatus = std::move(value); }
121 inline DescribeImageResult& WithImageStatus(const ImageStatus& value) { SetImageStatus(value); return *this;}
122 inline DescribeImageResult& WithImageStatus(ImageStatus&& value) { SetImageStatus(std::move(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
130 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
131 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
133 inline DescribeImageResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
135
137
141 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
142 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
143 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
144 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
145 inline DescribeImageResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
146 inline DescribeImageResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
147 inline DescribeImageResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
149
151
152 inline const Aws::String& GetRequestId() const{ return m_requestId; }
153 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
154 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
155 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
156 inline DescribeImageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
157 inline DescribeImageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
158 inline DescribeImageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
160 private:
161
162 Aws::Utils::DateTime m_creationTime;
163
164 Aws::String m_description;
165
166 Aws::String m_displayName;
167
168 Aws::String m_failureReason;
169
170 Aws::String m_imageArn;
171
172 Aws::String m_imageName;
173
174 ImageStatus m_imageStatus;
175
176 Aws::Utils::DateTime m_lastModifiedTime;
177
178 Aws::String m_roleArn;
179
180 Aws::String m_requestId;
181 };
182
183} // namespace Model
184} // namespace SageMaker
185} // namespace Aws
void SetCreationTime(Aws::Utils::DateTime &&value)
DescribeImageResult & WithDescription(Aws::String &&value)
void SetRequestId(const Aws::String &value)
DescribeImageResult & WithRoleArn(Aws::String &&value)
void SetFailureReason(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeImageResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeImageResult & WithImageArn(const char *value)
DescribeImageResult & WithRequestId(const Aws::String &value)
DescribeImageResult & WithDescription(const Aws::String &value)
DescribeImageResult & WithImageName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeImageResult & WithFailureReason(const Aws::String &value)
AWS_SAGEMAKER_API DescribeImageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeImageResult & WithImageName(const Aws::String &value)
DescribeImageResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetDisplayName(const Aws::String &value)
DescribeImageResult & WithImageStatus(const ImageStatus &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeImageResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeImageResult & WithImageArn(Aws::String &&value)
DescribeImageResult & WithFailureReason(Aws::String &&value)
void SetImageStatus(const ImageStatus &value)
DescribeImageResult & WithRequestId(Aws::String &&value)
DescribeImageResult & WithRoleArn(const Aws::String &value)
DescribeImageResult & WithDisplayName(const char *value)
DescribeImageResult & WithDisplayName(Aws::String &&value)
AWS_SAGEMAKER_API DescribeImageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeImageResult & WithImageName(const char *value)
DescribeImageResult & WithImageArn(const Aws::String &value)
DescribeImageResult & WithFailureReason(const char *value)
DescribeImageResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeImageResult & WithDisplayName(const Aws::String &value)
DescribeImageResult & WithDescription(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetImageArn(const Aws::String &value)
DescribeImageResult & WithRoleArn(const char *value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeImageResult & WithRequestId(const char *value)
void SetImageName(const Aws::String &value)
void SetDescription(const Aws::String &value)
DescribeImageResult & WithImageStatus(ImageStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue