AWS SDK for C++  1.9.103
AWS SDK for C++
ClusterListEntry.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Snowball
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
47  inline const Aws::String& GetClusterId() const{ return m_clusterId; }
48 
53  inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
54 
59  inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
60 
65  inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
66 
71  inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
72 
77  inline ClusterListEntry& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
78 
83  inline ClusterListEntry& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
84 
89  inline ClusterListEntry& WithClusterId(const char* value) { SetClusterId(value); return *this;}
90 
91 
96  inline const ClusterState& GetClusterState() const{ return m_clusterState; }
97 
102  inline bool ClusterStateHasBeenSet() const { return m_clusterStateHasBeenSet; }
103 
108  inline void SetClusterState(const ClusterState& value) { m_clusterStateHasBeenSet = true; m_clusterState = value; }
109 
114  inline void SetClusterState(ClusterState&& value) { m_clusterStateHasBeenSet = true; m_clusterState = std::move(value); }
115 
120  inline ClusterListEntry& WithClusterState(const ClusterState& value) { SetClusterState(value); return *this;}
121 
126  inline ClusterListEntry& WithClusterState(ClusterState&& value) { SetClusterState(std::move(value)); return *this;}
127 
128 
132  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
133 
137  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
138 
142  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
143 
147  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
148 
152  inline ClusterListEntry& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
153 
157  inline ClusterListEntry& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
158 
159 
164  inline const Aws::String& GetDescription() const{ return m_description; }
165 
170  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
171 
176  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
177 
182  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
183 
188  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
189 
194  inline ClusterListEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
195 
200  inline ClusterListEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
201 
206  inline ClusterListEntry& WithDescription(const char* value) { SetDescription(value); return *this;}
207 
208  private:
209 
210  Aws::String m_clusterId;
211  bool m_clusterIdHasBeenSet;
212 
213  ClusterState m_clusterState;
214  bool m_clusterStateHasBeenSet;
215 
216  Aws::Utils::DateTime m_creationDate;
217  bool m_creationDateHasBeenSet;
218 
219  Aws::String m_description;
220  bool m_descriptionHasBeenSet;
221  };
222 
223 } // namespace Model
224 } // namespace Snowball
225 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Snowball::Model::ClusterListEntry::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: ClusterListEntry.h:147
Aws::Snowball::Model::ClusterListEntry::WithClusterState
ClusterListEntry & WithClusterState(ClusterState &&value)
Definition: ClusterListEntry.h:126
Aws::Snowball::Model::ClusterListEntry::WithClusterState
ClusterListEntry & WithClusterState(const ClusterState &value)
Definition: ClusterListEntry.h:120
Aws::Snowball::Model::ClusterListEntry::ClusterListEntry
ClusterListEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::Snowball::Model::ClusterListEntry::ClusterListEntry
ClusterListEntry()
DateTime.h
Aws::Snowball::Model::ClusterListEntry::SetClusterId
void SetClusterId(const Aws::String &value)
Definition: ClusterListEntry.h:59
Aws::Snowball::Model::ClusterListEntry::SetClusterState
void SetClusterState(ClusterState &&value)
Definition: ClusterListEntry.h:114
Aws::Snowball::Model::ClusterListEntry::WithClusterId
ClusterListEntry & WithClusterId(const char *value)
Definition: ClusterListEntry.h:89
ClusterState.h
Aws::Snowball::Model::ClusterListEntry::SetDescription
void SetDescription(const char *value)
Definition: ClusterListEntry.h:188
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::ClusterListEntry::GetClusterId
const Aws::String & GetClusterId() const
Definition: ClusterListEntry.h:47
Aws::Snowball::Model::ClusterListEntry::WithCreationDate
ClusterListEntry & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: ClusterListEntry.h:157
Aws::Snowball::Model::ClusterListEntry::WithDescription
ClusterListEntry & WithDescription(const Aws::String &value)
Definition: ClusterListEntry.h:194
Aws::Snowball::Model::ClusterListEntry::ClusterStateHasBeenSet
bool ClusterStateHasBeenSet() const
Definition: ClusterListEntry.h:102
Aws::Snowball::Model::ClusterListEntry::SetDescription
void SetDescription(const Aws::String &value)
Definition: ClusterListEntry.h:176
Aws::Snowball::Model::ClusterListEntry::ClusterIdHasBeenSet
bool ClusterIdHasBeenSet() const
Definition: ClusterListEntry.h:53
Aws::Snowball::Model::ClusterListEntry::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: ClusterListEntry.h:137
Aws::Snowball::Model::ClusterListEntry::SetDescription
void SetDescription(Aws::String &&value)
Definition: ClusterListEntry.h:182
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Snowball::Model::ClusterListEntry::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: ClusterListEntry.h:142
Aws::Snowball::Model::ClusterState
ClusterState
Definition: ClusterState.h:17
Aws::Snowball::Model::ClusterListEntry::WithDescription
ClusterListEntry & WithDescription(Aws::String &&value)
Definition: ClusterListEntry.h:200
Aws::Snowball::Model::ClusterListEntry::operator=
ClusterListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Snowball::Model::ClusterListEntry
Definition: ClusterListEntry.h:35
Aws::Snowball::Model::ClusterListEntry::SetClusterState
void SetClusterState(const ClusterState &value)
Definition: ClusterListEntry.h:108
Aws::Snowball::Model::ClusterListEntry::WithClusterId
ClusterListEntry & WithClusterId(const Aws::String &value)
Definition: ClusterListEntry.h:77
Aws::Snowball::Model::ClusterListEntry::WithCreationDate
ClusterListEntry & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: ClusterListEntry.h:152
Aws::Snowball::Model::ClusterListEntry::SetClusterId
void SetClusterId(Aws::String &&value)
Definition: ClusterListEntry.h:65
Aws::Snowball::Model::ClusterListEntry::WithDescription
ClusterListEntry & WithDescription(const char *value)
Definition: ClusterListEntry.h:206
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::ClusterListEntry::WithClusterId
ClusterListEntry & WithClusterId(Aws::String &&value)
Definition: ClusterListEntry.h:83
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Snowball::Model::ClusterListEntry::GetDescription
const Aws::String & GetDescription() const
Definition: ClusterListEntry.h:164
Aws::Snowball::Model::ClusterListEntry::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: ClusterListEntry.h:132
Snowball_EXPORTS.h
Aws::Snowball::Model::ClusterListEntry::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ClusterListEntry.h:170
Aws::Snowball::Model::ClusterListEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Snowball::Model::ClusterListEntry::GetClusterState
const ClusterState & GetClusterState() const
Definition: ClusterListEntry.h:96
Aws::Snowball::Model::ClusterListEntry::SetClusterId
void SetClusterId(const char *value)
Definition: ClusterListEntry.h:71