AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
LineageGroupSummary.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_SAGEMAKER_API LineageGroupSummary() = default;
38 AWS_SAGEMAKER_API LineageGroupSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetLineageGroupArn() const { return m_lineageGroupArn; }
48 inline bool LineageGroupArnHasBeenSet() const { return m_lineageGroupArnHasBeenSet; }
49 template<typename LineageGroupArnT = Aws::String>
50 void SetLineageGroupArn(LineageGroupArnT&& value) { m_lineageGroupArnHasBeenSet = true; m_lineageGroupArn = std::forward<LineageGroupArnT>(value); }
51 template<typename LineageGroupArnT = Aws::String>
52 LineageGroupSummary& WithLineageGroupArn(LineageGroupArnT&& value) { SetLineageGroupArn(std::forward<LineageGroupArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetLineageGroupName() const { return m_lineageGroupName; }
60 inline bool LineageGroupNameHasBeenSet() const { return m_lineageGroupNameHasBeenSet; }
61 template<typename LineageGroupNameT = Aws::String>
62 void SetLineageGroupName(LineageGroupNameT&& value) { m_lineageGroupNameHasBeenSet = true; m_lineageGroupName = std::forward<LineageGroupNameT>(value); }
63 template<typename LineageGroupNameT = Aws::String>
64 LineageGroupSummary& WithLineageGroupName(LineageGroupNameT&& value) { SetLineageGroupName(std::forward<LineageGroupNameT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDisplayName() const { return m_displayName; }
72 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
73 template<typename DisplayNameT = Aws::String>
74 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
75 template<typename DisplayNameT = Aws::String>
76 LineageGroupSummary& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
84 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
85 template<typename CreationTimeT = Aws::Utils::DateTime>
86 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
87 template<typename CreationTimeT = Aws::Utils::DateTime>
88 LineageGroupSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
96 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
97 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
98 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
99 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
100 LineageGroupSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
102 private:
103
104 Aws::String m_lineageGroupArn;
105 bool m_lineageGroupArnHasBeenSet = false;
106
107 Aws::String m_lineageGroupName;
108 bool m_lineageGroupNameHasBeenSet = false;
109
110 Aws::String m_displayName;
111 bool m_displayNameHasBeenSet = false;
112
113 Aws::Utils::DateTime m_creationTime{};
114 bool m_creationTimeHasBeenSet = false;
115
116 Aws::Utils::DateTime m_lastModifiedTime{};
117 bool m_lastModifiedTimeHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace SageMaker
122} // namespace Aws
AWS_SAGEMAKER_API LineageGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LineageGroupSummary & WithLineageGroupName(LineageGroupNameT &&value)
LineageGroupSummary & WithCreationTime(CreationTimeT &&value)
void SetLineageGroupArn(LineageGroupArnT &&value)
AWS_SAGEMAKER_API LineageGroupSummary()=default
LineageGroupSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API LineageGroupSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLineageGroupName() const
LineageGroupSummary & WithDisplayName(DisplayNameT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetLineageGroupName(LineageGroupNameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
LineageGroupSummary & WithLineageGroupArn(LineageGroupArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue