AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StorageConnector.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/model/StorageConnectorTypeEnum.h>
9#include <aws/workspaces/model/StorageConnectorStatusEnum.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WorkSpaces
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WORKSPACES_API StorageConnector();
36 AWS_WORKSPACES_API StorageConnector(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const StorageConnectorTypeEnum& GetConnectorType() const{ return m_connectorType; }
46 inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; }
47 inline void SetConnectorType(const StorageConnectorTypeEnum& value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; }
48 inline void SetConnectorType(StorageConnectorTypeEnum&& value) { m_connectorTypeHasBeenSet = true; m_connectorType = std::move(value); }
49 inline StorageConnector& WithConnectorType(const StorageConnectorTypeEnum& value) { SetConnectorType(value); return *this;}
50 inline StorageConnector& WithConnectorType(StorageConnectorTypeEnum&& value) { SetConnectorType(std::move(value)); return *this;}
52
54
57 inline const StorageConnectorStatusEnum& GetStatus() const{ return m_status; }
58 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
59 inline void SetStatus(const StorageConnectorStatusEnum& value) { m_statusHasBeenSet = true; m_status = value; }
60 inline void SetStatus(StorageConnectorStatusEnum&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
61 inline StorageConnector& WithStatus(const StorageConnectorStatusEnum& value) { SetStatus(value); return *this;}
62 inline StorageConnector& WithStatus(StorageConnectorStatusEnum&& value) { SetStatus(std::move(value)); return *this;}
64 private:
65
66 StorageConnectorTypeEnum m_connectorType;
67 bool m_connectorTypeHasBeenSet = false;
68
70 bool m_statusHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace WorkSpaces
75} // namespace Aws
void SetConnectorType(StorageConnectorTypeEnum &&value)
const StorageConnectorStatusEnum & GetStatus() const
StorageConnector & WithConnectorType(StorageConnectorTypeEnum &&value)
AWS_WORKSPACES_API StorageConnector & operator=(Aws::Utils::Json::JsonView jsonValue)
StorageConnector & WithStatus(const StorageConnectorStatusEnum &value)
void SetStatus(const StorageConnectorStatusEnum &value)
StorageConnector & WithStatus(StorageConnectorStatusEnum &&value)
StorageConnector & WithConnectorType(const StorageConnectorTypeEnum &value)
void SetStatus(StorageConnectorStatusEnum &&value)
AWS_WORKSPACES_API StorageConnector(Aws::Utils::Json::JsonView jsonValue)
const StorageConnectorTypeEnum & GetConnectorType() const
void SetConnectorType(const StorageConnectorTypeEnum &value)
AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue