AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ModelPackageGroupSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/ModelPackageGroupStatus.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
34 {
35 public:
36 AWS_SAGEMAKER_API ModelPackageGroupSummary() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetModelPackageGroupName() const { return m_modelPackageGroupName; }
47 inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; }
48 template<typename ModelPackageGroupNameT = Aws::String>
49 void SetModelPackageGroupName(ModelPackageGroupNameT&& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value); }
50 template<typename ModelPackageGroupNameT = Aws::String>
51 ModelPackageGroupSummary& WithModelPackageGroupName(ModelPackageGroupNameT&& value) { SetModelPackageGroupName(std::forward<ModelPackageGroupNameT>(value)); return *this;}
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) { m_modelPackageGroupArnHasBeenSet = true; m_modelPackageGroupArn = std::forward<ModelPackageGroupArnT>(value); }
62 template<typename ModelPackageGroupArnT = Aws::String>
63 ModelPackageGroupSummary& WithModelPackageGroupArn(ModelPackageGroupArnT&& value) { SetModelPackageGroupArn(std::forward<ModelPackageGroupArnT>(value)); return *this;}
65
67
70 inline const Aws::String& GetModelPackageGroupDescription() const { return m_modelPackageGroupDescription; }
71 inline bool ModelPackageGroupDescriptionHasBeenSet() const { return m_modelPackageGroupDescriptionHasBeenSet; }
72 template<typename ModelPackageGroupDescriptionT = Aws::String>
73 void SetModelPackageGroupDescription(ModelPackageGroupDescriptionT&& value) { m_modelPackageGroupDescriptionHasBeenSet = true; m_modelPackageGroupDescription = std::forward<ModelPackageGroupDescriptionT>(value); }
74 template<typename ModelPackageGroupDescriptionT = Aws::String>
75 ModelPackageGroupSummary& WithModelPackageGroupDescription(ModelPackageGroupDescriptionT&& value) { SetModelPackageGroupDescription(std::forward<ModelPackageGroupDescriptionT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
83 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
84 template<typename CreationTimeT = Aws::Utils::DateTime>
85 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
86 template<typename CreationTimeT = Aws::Utils::DateTime>
87 ModelPackageGroupSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
89
91
94 inline ModelPackageGroupStatus GetModelPackageGroupStatus() const { return m_modelPackageGroupStatus; }
95 inline bool ModelPackageGroupStatusHasBeenSet() const { return m_modelPackageGroupStatusHasBeenSet; }
96 inline void SetModelPackageGroupStatus(ModelPackageGroupStatus value) { m_modelPackageGroupStatusHasBeenSet = true; m_modelPackageGroupStatus = value; }
99 private:
100
101 Aws::String m_modelPackageGroupName;
102 bool m_modelPackageGroupNameHasBeenSet = false;
103
104 Aws::String m_modelPackageGroupArn;
105 bool m_modelPackageGroupArnHasBeenSet = false;
106
107 Aws::String m_modelPackageGroupDescription;
108 bool m_modelPackageGroupDescriptionHasBeenSet = false;
109
110 Aws::Utils::DateTime m_creationTime{};
111 bool m_creationTimeHasBeenSet = false;
112
114 bool m_modelPackageGroupStatusHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace SageMaker
119} // 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