AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelPackageGroupName(const Aws::String& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = value; }
49 inline void SetModelPackageGroupName(Aws::String&& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = std::move(value); }
50 inline void SetModelPackageGroupName(const char* value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName.assign(value); }
53 inline ModelPackageGroupSummary& WithModelPackageGroupName(const char* value) { SetModelPackageGroupName(value); return *this;}
55
57
60 inline const Aws::String& GetModelPackageGroupArn() const{ return m_modelPackageGroupArn; }
61 inline bool ModelPackageGroupArnHasBeenSet() const { return m_modelPackageGroupArnHasBeenSet; }
62 inline void SetModelPackageGroupArn(const Aws::String& value) { m_modelPackageGroupArnHasBeenSet = true; m_modelPackageGroupArn = value; }
63 inline void SetModelPackageGroupArn(Aws::String&& value) { m_modelPackageGroupArnHasBeenSet = true; m_modelPackageGroupArn = std::move(value); }
64 inline void SetModelPackageGroupArn(const char* value) { m_modelPackageGroupArnHasBeenSet = true; m_modelPackageGroupArn.assign(value); }
66 inline ModelPackageGroupSummary& WithModelPackageGroupArn(Aws::String&& value) { SetModelPackageGroupArn(std::move(value)); return *this;}
67 inline ModelPackageGroupSummary& WithModelPackageGroupArn(const char* value) { SetModelPackageGroupArn(value); return *this;}
69
71
74 inline const Aws::String& GetModelPackageGroupDescription() const{ return m_modelPackageGroupDescription; }
75 inline bool ModelPackageGroupDescriptionHasBeenSet() const { return m_modelPackageGroupDescriptionHasBeenSet; }
76 inline void SetModelPackageGroupDescription(const Aws::String& value) { m_modelPackageGroupDescriptionHasBeenSet = true; m_modelPackageGroupDescription = value; }
77 inline void SetModelPackageGroupDescription(Aws::String&& value) { m_modelPackageGroupDescriptionHasBeenSet = true; m_modelPackageGroupDescription = std::move(value); }
78 inline void SetModelPackageGroupDescription(const char* value) { m_modelPackageGroupDescriptionHasBeenSet = true; m_modelPackageGroupDescription.assign(value); }
83
85
88 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
89 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
90 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
91 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
93 inline ModelPackageGroupSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
95
97
100 inline const ModelPackageGroupStatus& GetModelPackageGroupStatus() const{ return m_modelPackageGroupStatus; }
101 inline bool ModelPackageGroupStatusHasBeenSet() const { return m_modelPackageGroupStatusHasBeenSet; }
102 inline void SetModelPackageGroupStatus(const ModelPackageGroupStatus& value) { m_modelPackageGroupStatusHasBeenSet = true; m_modelPackageGroupStatus = value; }
103 inline void SetModelPackageGroupStatus(ModelPackageGroupStatus&& value) { m_modelPackageGroupStatusHasBeenSet = true; m_modelPackageGroupStatus = std::move(value); }
107 private:
108
109 Aws::String m_modelPackageGroupName;
110 bool m_modelPackageGroupNameHasBeenSet = false;
111
112 Aws::String m_modelPackageGroupArn;
113 bool m_modelPackageGroupArnHasBeenSet = false;
114
115 Aws::String m_modelPackageGroupDescription;
116 bool m_modelPackageGroupDescriptionHasBeenSet = false;
117
118 Aws::Utils::DateTime m_creationTime;
119 bool m_creationTimeHasBeenSet = false;
120
121 ModelPackageGroupStatus m_modelPackageGroupStatus;
122 bool m_modelPackageGroupStatusHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace SageMaker
127} // namespace Aws
ModelPackageGroupSummary & WithCreationTime(Aws::Utils::DateTime &&value)
ModelPackageGroupSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetModelPackageGroupDescription(const Aws::String &value)
void SetModelPackageGroupStatus(const ModelPackageGroupStatus &value)
AWS_SAGEMAKER_API ModelPackageGroupSummary(Aws::Utils::Json::JsonView jsonValue)
ModelPackageGroupSummary & WithModelPackageGroupName(const char *value)
ModelPackageGroupSummary & WithModelPackageGroupDescription(Aws::String &&value)
ModelPackageGroupSummary & WithModelPackageGroupStatus(const ModelPackageGroupStatus &value)
AWS_SAGEMAKER_API ModelPackageGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelPackageGroupSummary & WithModelPackageGroupName(const Aws::String &value)
ModelPackageGroupSummary & WithModelPackageGroupArn(Aws::String &&value)
ModelPackageGroupSummary & WithModelPackageGroupArn(const char *value)
ModelPackageGroupSummary & WithModelPackageGroupName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ModelPackageGroupSummary & WithModelPackageGroupDescription(const char *value)
ModelPackageGroupSummary & WithModelPackageGroupDescription(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
ModelPackageGroupSummary & WithModelPackageGroupArn(const Aws::String &value)
const ModelPackageGroupStatus & GetModelPackageGroupStatus() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelPackageGroupSummary & WithModelPackageGroupStatus(ModelPackageGroupStatus &&value)
void SetModelPackageGroupStatus(ModelPackageGroupStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue