AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FileShareInfo.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/model/FileShareType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 StorageGateway
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_STORAGEGATEWAY_API FileShareInfo();
37 AWS_STORAGEGATEWAY_API FileShareInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_STORAGEGATEWAY_API FileShareInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const FileShareType& GetFileShareType() const{ return m_fileShareType; }
45 inline bool FileShareTypeHasBeenSet() const { return m_fileShareTypeHasBeenSet; }
46 inline void SetFileShareType(const FileShareType& value) { m_fileShareTypeHasBeenSet = true; m_fileShareType = value; }
47 inline void SetFileShareType(FileShareType&& value) { m_fileShareTypeHasBeenSet = true; m_fileShareType = std::move(value); }
48 inline FileShareInfo& WithFileShareType(const FileShareType& value) { SetFileShareType(value); return *this;}
49 inline FileShareInfo& WithFileShareType(FileShareType&& value) { SetFileShareType(std::move(value)); return *this;}
51
53
54 inline const Aws::String& GetFileShareARN() const{ return m_fileShareARN; }
55 inline bool FileShareARNHasBeenSet() const { return m_fileShareARNHasBeenSet; }
56 inline void SetFileShareARN(const Aws::String& value) { m_fileShareARNHasBeenSet = true; m_fileShareARN = value; }
57 inline void SetFileShareARN(Aws::String&& value) { m_fileShareARNHasBeenSet = true; m_fileShareARN = std::move(value); }
58 inline void SetFileShareARN(const char* value) { m_fileShareARNHasBeenSet = true; m_fileShareARN.assign(value); }
59 inline FileShareInfo& WithFileShareARN(const Aws::String& value) { SetFileShareARN(value); return *this;}
60 inline FileShareInfo& WithFileShareARN(Aws::String&& value) { SetFileShareARN(std::move(value)); return *this;}
61 inline FileShareInfo& WithFileShareARN(const char* value) { SetFileShareARN(value); return *this;}
63
65
66 inline const Aws::String& GetFileShareId() const{ return m_fileShareId; }
67 inline bool FileShareIdHasBeenSet() const { return m_fileShareIdHasBeenSet; }
68 inline void SetFileShareId(const Aws::String& value) { m_fileShareIdHasBeenSet = true; m_fileShareId = value; }
69 inline void SetFileShareId(Aws::String&& value) { m_fileShareIdHasBeenSet = true; m_fileShareId = std::move(value); }
70 inline void SetFileShareId(const char* value) { m_fileShareIdHasBeenSet = true; m_fileShareId.assign(value); }
71 inline FileShareInfo& WithFileShareId(const Aws::String& value) { SetFileShareId(value); return *this;}
72 inline FileShareInfo& WithFileShareId(Aws::String&& value) { SetFileShareId(std::move(value)); return *this;}
73 inline FileShareInfo& WithFileShareId(const char* value) { SetFileShareId(value); return *this;}
75
77
78 inline const Aws::String& GetFileShareStatus() const{ return m_fileShareStatus; }
79 inline bool FileShareStatusHasBeenSet() const { return m_fileShareStatusHasBeenSet; }
80 inline void SetFileShareStatus(const Aws::String& value) { m_fileShareStatusHasBeenSet = true; m_fileShareStatus = value; }
81 inline void SetFileShareStatus(Aws::String&& value) { m_fileShareStatusHasBeenSet = true; m_fileShareStatus = std::move(value); }
82 inline void SetFileShareStatus(const char* value) { m_fileShareStatusHasBeenSet = true; m_fileShareStatus.assign(value); }
83 inline FileShareInfo& WithFileShareStatus(const Aws::String& value) { SetFileShareStatus(value); return *this;}
84 inline FileShareInfo& WithFileShareStatus(Aws::String&& value) { SetFileShareStatus(std::move(value)); return *this;}
85 inline FileShareInfo& WithFileShareStatus(const char* value) { SetFileShareStatus(value); return *this;}
87
89
90 inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
91 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
92 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
93 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
94 inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
95 inline FileShareInfo& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
96 inline FileShareInfo& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
97 inline FileShareInfo& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
99 private:
100
101 FileShareType m_fileShareType;
102 bool m_fileShareTypeHasBeenSet = false;
103
104 Aws::String m_fileShareARN;
105 bool m_fileShareARNHasBeenSet = false;
106
107 Aws::String m_fileShareId;
108 bool m_fileShareIdHasBeenSet = false;
109
110 Aws::String m_fileShareStatus;
111 bool m_fileShareStatusHasBeenSet = false;
112
113 Aws::String m_gatewayARN;
114 bool m_gatewayARNHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace StorageGateway
119} // namespace Aws
FileShareInfo & WithFileShareId(Aws::String &&value)
AWS_STORAGEGATEWAY_API FileShareInfo(Aws::Utils::Json::JsonView jsonValue)
FileShareInfo & WithFileShareId(const Aws::String &value)
FileShareInfo & WithGatewayARN(const char *value)
FileShareInfo & WithFileShareId(const char *value)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const FileShareType & GetFileShareType() const
FileShareInfo & WithFileShareType(FileShareType &&value)
const Aws::String & GetGatewayARN() const
const Aws::String & GetFileShareStatus() const
FileShareInfo & WithFileShareARN(const Aws::String &value)
FileShareInfo & WithFileShareStatus(const Aws::String &value)
void SetGatewayARN(Aws::String &&value)
void SetFileShareARN(const Aws::String &value)
void SetFileShareType(FileShareType &&value)
FileShareInfo & WithFileShareType(const FileShareType &value)
void SetFileShareStatus(Aws::String &&value)
AWS_STORAGEGATEWAY_API FileShareInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFileShareId(Aws::String &&value)
FileShareInfo & WithFileShareARN(Aws::String &&value)
void SetFileShareARN(Aws::String &&value)
FileShareInfo & WithGatewayARN(Aws::String &&value)
void SetGatewayARN(const Aws::String &value)
AWS_STORAGEGATEWAY_API FileShareInfo()
FileShareInfo & WithFileShareARN(const char *value)
FileShareInfo & WithGatewayARN(const Aws::String &value)
void SetFileShareId(const Aws::String &value)
const Aws::String & GetFileShareId() const
FileShareInfo & WithFileShareStatus(const char *value)
void SetFileShareStatus(const char *value)
const Aws::String & GetFileShareARN() const
FileShareInfo & WithFileShareStatus(Aws::String &&value)
void SetFileShareType(const FileShareType &value)
void SetFileShareStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue