AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ClusterListEntry.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/snowball/model/ClusterState.h>
10#include <aws/core/utils/DateTime.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 Snowball
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SNOWBALL_API ClusterListEntry() = default;
38 AWS_SNOWBALL_API ClusterListEntry(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetClusterId() const { return m_clusterId; }
49 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
50 template<typename ClusterIdT = Aws::String>
51 void SetClusterId(ClusterIdT&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::forward<ClusterIdT>(value); }
52 template<typename ClusterIdT = Aws::String>
53 ClusterListEntry& WithClusterId(ClusterIdT&& value) { SetClusterId(std::forward<ClusterIdT>(value)); return *this;}
55
57
61 inline ClusterState GetClusterState() const { return m_clusterState; }
62 inline bool ClusterStateHasBeenSet() const { return m_clusterStateHasBeenSet; }
63 inline void SetClusterState(ClusterState value) { m_clusterStateHasBeenSet = true; m_clusterState = value; }
64 inline ClusterListEntry& WithClusterState(ClusterState value) { SetClusterState(value); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
72 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
73 template<typename CreationDateT = Aws::Utils::DateTime>
74 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
75 template<typename CreationDateT = Aws::Utils::DateTime>
76 ClusterListEntry& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
78
80
84 inline const Aws::String& GetDescription() const { return m_description; }
85 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
86 template<typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
88 template<typename DescriptionT = Aws::String>
89 ClusterListEntry& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
91 private:
92
93 Aws::String m_clusterId;
94 bool m_clusterIdHasBeenSet = false;
95
96 ClusterState m_clusterState{ClusterState::NOT_SET};
97 bool m_clusterStateHasBeenSet = false;
98
99 Aws::Utils::DateTime m_creationDate{};
100 bool m_creationDateHasBeenSet = false;
101
102 Aws::String m_description;
103 bool m_descriptionHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Snowball
108} // namespace Aws
ClusterState GetClusterState() const
void SetClusterId(ClusterIdT &&value)
ClusterListEntry & WithClusterState(ClusterState value)
bool CreationDateHasBeenSet() const
AWS_SNOWBALL_API ClusterListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
ClusterListEntry & WithCreationDate(CreationDateT &&value)
void SetCreationDate(CreationDateT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetClusterId() const
void SetClusterState(ClusterState value)
ClusterListEntry & WithClusterId(ClusterIdT &&value)
bool ClusterStateHasBeenSet() const
const Aws::Utils::DateTime & GetCreationDate() const
bool DescriptionHasBeenSet() const
bool ClusterIdHasBeenSet() const
AWS_SNOWBALL_API ClusterListEntry()=default
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterListEntry & WithDescription(DescriptionT &&value)
AWS_SNOWBALL_API ClusterListEntry(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue