AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
ConfigurationListItem.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/Omics_EXPORTS.h>
10#include <aws/omics/model/ConfigurationStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Omics {
22namespace Model {
23
31 public:
32 AWS_OMICS_API ConfigurationListItem() = default;
35 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 template <typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) {
81 m_descriptionHasBeenSet = true;
82 m_description = std::forward<DescriptionT>(value);
83 }
84 template <typename DescriptionT = Aws::String>
85 ConfigurationListItem& WithDescription(DescriptionT&& value) {
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90
92
95 inline ConfigurationStatus GetStatus() const { return m_status; }
96 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
97 inline void SetStatus(ConfigurationStatus value) {
98 m_statusHasBeenSet = true;
99 m_status = value;
100 }
102 SetStatus(value);
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
112 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
113 template <typename CreationTimeT = Aws::Utils::DateTime>
114 void SetCreationTime(CreationTimeT&& value) {
115 m_creationTimeHasBeenSet = true;
116 m_creationTime = std::forward<CreationTimeT>(value);
117 }
118 template <typename CreationTimeT = Aws::Utils::DateTime>
119 ConfigurationListItem& WithCreationTime(CreationTimeT&& value) {
120 SetCreationTime(std::forward<CreationTimeT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_arn;
126
127 Aws::String m_name;
128
129 Aws::String m_description;
130
132
133 Aws::Utils::DateTime m_creationTime{};
134 bool m_arnHasBeenSet = false;
135 bool m_nameHasBeenSet = false;
136 bool m_descriptionHasBeenSet = false;
137 bool m_statusHasBeenSet = false;
138 bool m_creationTimeHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace Omics
143} // namespace Aws
void SetStatus(ConfigurationStatus value)
AWS_OMICS_API ConfigurationListItem(Aws::Utils::Json::JsonView jsonValue)
ConfigurationListItem & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AWS_OMICS_API ConfigurationListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationListItem & WithDescription(DescriptionT &&value)
AWS_OMICS_API ConfigurationListItem()=default
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigurationListItem & WithStatus(ConfigurationStatus value)
ConfigurationListItem & WithName(NameT &&value)
ConfigurationListItem & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue