AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PartnerAppSummary.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/PartnerAppStatus.h>
11#include <aws/sagemaker/model/PartnerAppType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker {
23namespace Model {
24
33 public:
34 AWS_SAGEMAKER_API PartnerAppSummary() = default;
35 AWS_SAGEMAKER_API PartnerAppSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
45 template <typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) {
47 m_arnHasBeenSet = true;
48 m_arn = std::forward<ArnT>(value);
49 }
50 template <typename ArnT = Aws::String>
51 PartnerAppSummary& WithArn(ArnT&& value) {
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetName() const { return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 template <typename NameT = Aws::String>
64 void SetName(NameT&& value) {
65 m_nameHasBeenSet = true;
66 m_name = std::forward<NameT>(value);
67 }
68 template <typename NameT = Aws::String>
69 PartnerAppSummary& WithName(NameT&& value) {
70 SetName(std::forward<NameT>(value));
71 return *this;
72 }
74
76
81 inline PartnerAppType GetType() const { return m_type; }
82 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
83 inline void SetType(PartnerAppType value) {
84 m_typeHasBeenSet = true;
85 m_type = value;
86 }
88 SetType(value);
89 return *this;
90 }
92
94
97 inline PartnerAppStatus GetStatus() const { return m_status; }
98 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 inline void SetStatus(PartnerAppStatus value) {
100 m_statusHasBeenSet = true;
101 m_status = value;
102 }
104 SetStatus(value);
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
114 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
115 template <typename CreationTimeT = Aws::Utils::DateTime>
116 void SetCreationTime(CreationTimeT&& value) {
117 m_creationTimeHasBeenSet = true;
118 m_creationTime = std::forward<CreationTimeT>(value);
119 }
120 template <typename CreationTimeT = Aws::Utils::DateTime>
121 PartnerAppSummary& WithCreationTime(CreationTimeT&& value) {
122 SetCreationTime(std::forward<CreationTimeT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_arn;
128
129 Aws::String m_name;
130
132
134
135 Aws::Utils::DateTime m_creationTime{};
136 bool m_arnHasBeenSet = false;
137 bool m_nameHasBeenSet = false;
138 bool m_typeHasBeenSet = false;
139 bool m_statusHasBeenSet = false;
140 bool m_creationTimeHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace SageMaker
145} // namespace Aws
PartnerAppSummary & WithType(PartnerAppType value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
PartnerAppSummary & WithArn(ArnT &&value)
AWS_SAGEMAKER_API PartnerAppSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API PartnerAppSummary()=default
AWS_SAGEMAKER_API PartnerAppSummary(Aws::Utils::Json::JsonView jsonValue)
PartnerAppSummary & WithCreationTime(CreationTimeT &&value)
PartnerAppSummary & WithName(NameT &&value)
void SetCreationTime(CreationTimeT &&value)
PartnerAppSummary & WithStatus(PartnerAppStatus value)
void SetStatus(PartnerAppStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue