AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
51 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
52 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
53 inline ClusterListEntry& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
54 inline ClusterListEntry& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
55 inline ClusterListEntry& WithClusterId(const char* value) { SetClusterId(value); return *this;}
57
59
63 inline const ClusterState& GetClusterState() const{ return m_clusterState; }
64 inline bool ClusterStateHasBeenSet() const { return m_clusterStateHasBeenSet; }
65 inline void SetClusterState(const ClusterState& value) { m_clusterStateHasBeenSet = true; m_clusterState = value; }
66 inline void SetClusterState(ClusterState&& value) { m_clusterStateHasBeenSet = true; m_clusterState = std::move(value); }
67 inline ClusterListEntry& WithClusterState(const ClusterState& value) { SetClusterState(value); return *this;}
68 inline ClusterListEntry& WithClusterState(ClusterState&& value) { SetClusterState(std::move(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
76 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
77 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
78 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
79 inline ClusterListEntry& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
80 inline ClusterListEntry& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
82
84
88 inline const Aws::String& GetDescription() const{ return m_description; }
89 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
91 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
92 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
93 inline ClusterListEntry& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
94 inline ClusterListEntry& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
95 inline ClusterListEntry& WithDescription(const char* value) { SetDescription(value); return *this;}
97 private:
98
99 Aws::String m_clusterId;
100 bool m_clusterIdHasBeenSet = false;
101
102 ClusterState m_clusterState;
103 bool m_clusterStateHasBeenSet = false;
104
105 Aws::Utils::DateTime m_creationDate;
106 bool m_creationDateHasBeenSet = false;
107
108 Aws::String m_description;
109 bool m_descriptionHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Snowball
114} // namespace Aws
ClusterListEntry & WithDescription(const char *value)
void SetCreationDate(Aws::Utils::DateTime &&value)
ClusterListEntry & WithClusterId(const char *value)
ClusterListEntry & WithClusterId(Aws::String &&value)
bool CreationDateHasBeenSet() const
ClusterListEntry & WithDescription(const Aws::String &value)
ClusterListEntry & WithCreationDate(const Aws::Utils::DateTime &value)
void SetClusterId(const Aws::String &value)
ClusterListEntry & WithDescription(Aws::String &&value)
void SetClusterState(const ClusterState &value)
AWS_SNOWBALL_API ClusterListEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterListEntry & WithClusterState(ClusterState &&value)
void SetDescription(const Aws::String &value)
const ClusterState & GetClusterState() const
const Aws::String & GetDescription() const
void SetClusterId(const char *value)
const Aws::String & GetClusterId() const
void SetDescription(Aws::String &&value)
void SetClusterState(ClusterState &&value)
ClusterListEntry & WithClusterState(const ClusterState &value)
ClusterListEntry & WithCreationDate(Aws::Utils::DateTime &&value)
bool ClusterStateHasBeenSet() const
const Aws::Utils::DateTime & GetCreationDate() const
bool DescriptionHasBeenSet() const
AWS_SNOWBALL_API ClusterListEntry()
bool ClusterIdHasBeenSet() const
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const char *value)
void SetClusterId(Aws::String &&value)
ClusterListEntry & WithClusterId(const Aws::String &value)
AWS_SNOWBALL_API ClusterListEntry(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDate(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue