AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ModelPackageGroupSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/ModelPackageGroupStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
30 public:
31 AWS_SAGEMAKER_API ModelPackageGroupSummary() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetModelPackageGroupName() const { return m_modelPackageGroupName; }
41 inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; }
42 template <typename ModelPackageGroupNameT = Aws::String>
43 void SetModelPackageGroupName(ModelPackageGroupNameT&& value) {
44 m_modelPackageGroupNameHasBeenSet = true;
45 m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value);
46 }
47 template <typename ModelPackageGroupNameT = Aws::String>
48 ModelPackageGroupSummary& WithModelPackageGroupName(ModelPackageGroupNameT&& value) {
49 SetModelPackageGroupName(std::forward<ModelPackageGroupNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetModelPackageGroupArn() const { return m_modelPackageGroupArn; }
59 inline bool ModelPackageGroupArnHasBeenSet() const { return m_modelPackageGroupArnHasBeenSet; }
60 template <typename ModelPackageGroupArnT = Aws::String>
61 void SetModelPackageGroupArn(ModelPackageGroupArnT&& value) {
62 m_modelPackageGroupArnHasBeenSet = true;
63 m_modelPackageGroupArn = std::forward<ModelPackageGroupArnT>(value);
64 }
65 template <typename ModelPackageGroupArnT = Aws::String>
66 ModelPackageGroupSummary& WithModelPackageGroupArn(ModelPackageGroupArnT&& value) {
67 SetModelPackageGroupArn(std::forward<ModelPackageGroupArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetModelPackageGroupDescription() const { return m_modelPackageGroupDescription; }
77 inline bool ModelPackageGroupDescriptionHasBeenSet() const { return m_modelPackageGroupDescriptionHasBeenSet; }
78 template <typename ModelPackageGroupDescriptionT = Aws::String>
79 void SetModelPackageGroupDescription(ModelPackageGroupDescriptionT&& value) {
80 m_modelPackageGroupDescriptionHasBeenSet = true;
81 m_modelPackageGroupDescription = std::forward<ModelPackageGroupDescriptionT>(value);
82 }
83 template <typename ModelPackageGroupDescriptionT = Aws::String>
84 ModelPackageGroupSummary& WithModelPackageGroupDescription(ModelPackageGroupDescriptionT&& value) {
85 SetModelPackageGroupDescription(std::forward<ModelPackageGroupDescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
95 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
96 template <typename CreationTimeT = Aws::Utils::DateTime>
97 void SetCreationTime(CreationTimeT&& value) {
98 m_creationTimeHasBeenSet = true;
99 m_creationTime = std::forward<CreationTimeT>(value);
100 }
101 template <typename CreationTimeT = Aws::Utils::DateTime>
103 SetCreationTime(std::forward<CreationTimeT>(value));
104 return *this;
105 }
107
109
112 inline ModelPackageGroupStatus GetModelPackageGroupStatus() const { return m_modelPackageGroupStatus; }
113 inline bool ModelPackageGroupStatusHasBeenSet() const { return m_modelPackageGroupStatusHasBeenSet; }
115 m_modelPackageGroupStatusHasBeenSet = true;
116 m_modelPackageGroupStatus = value;
117 }
120 return *this;
121 }
123 private:
124 Aws::String m_modelPackageGroupName;
125
126 Aws::String m_modelPackageGroupArn;
127
128 Aws::String m_modelPackageGroupDescription;
129
130 Aws::Utils::DateTime m_creationTime{};
131
133 bool m_modelPackageGroupNameHasBeenSet = false;
134 bool m_modelPackageGroupArnHasBeenSet = false;
135 bool m_modelPackageGroupDescriptionHasBeenSet = false;
136 bool m_creationTimeHasBeenSet = false;
137 bool m_modelPackageGroupStatusHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace SageMaker
142} // namespace Aws
AWS_SAGEMAKER_API ModelPackageGroupSummary(Aws::Utils::Json::JsonView jsonValue)
void SetModelPackageGroupStatus(ModelPackageGroupStatus value)
ModelPackageGroupSummary & WithCreationTime(CreationTimeT &&value)
void SetModelPackageGroupArn(ModelPackageGroupArnT &&value)
ModelPackageGroupSummary & WithModelPackageGroupName(ModelPackageGroupNameT &&value)
AWS_SAGEMAKER_API ModelPackageGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelPackageGroupSummary & WithModelPackageGroupDescription(ModelPackageGroupDescriptionT &&value)
void SetModelPackageGroupName(ModelPackageGroupNameT &&value)
ModelPackageGroupSummary & WithModelPackageGroupArn(ModelPackageGroupArnT &&value)
ModelPackageGroupSummary & WithModelPackageGroupStatus(ModelPackageGroupStatus value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelPackageGroupDescription(ModelPackageGroupDescriptionT &&value)
AWS_SAGEMAKER_API ModelPackageGroupSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue