AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 FileShareType GetFileShareType() const { return m_fileShareType; }
45 inline bool FileShareTypeHasBeenSet() const { return m_fileShareTypeHasBeenSet; }
46 inline void SetFileShareType(FileShareType value) { m_fileShareTypeHasBeenSet = true; m_fileShareType = value; }
47 inline FileShareInfo& WithFileShareType(FileShareType value) { SetFileShareType(value); return *this;}
49
51
52 inline const Aws::String& GetFileShareARN() const { return m_fileShareARN; }
53 inline bool FileShareARNHasBeenSet() const { return m_fileShareARNHasBeenSet; }
54 template<typename FileShareARNT = Aws::String>
55 void SetFileShareARN(FileShareARNT&& value) { m_fileShareARNHasBeenSet = true; m_fileShareARN = std::forward<FileShareARNT>(value); }
56 template<typename FileShareARNT = Aws::String>
57 FileShareInfo& WithFileShareARN(FileShareARNT&& value) { SetFileShareARN(std::forward<FileShareARNT>(value)); return *this;}
59
61
62 inline const Aws::String& GetFileShareId() const { return m_fileShareId; }
63 inline bool FileShareIdHasBeenSet() const { return m_fileShareIdHasBeenSet; }
64 template<typename FileShareIdT = Aws::String>
65 void SetFileShareId(FileShareIdT&& value) { m_fileShareIdHasBeenSet = true; m_fileShareId = std::forward<FileShareIdT>(value); }
66 template<typename FileShareIdT = Aws::String>
67 FileShareInfo& WithFileShareId(FileShareIdT&& value) { SetFileShareId(std::forward<FileShareIdT>(value)); return *this;}
69
71
72 inline const Aws::String& GetFileShareStatus() const { return m_fileShareStatus; }
73 inline bool FileShareStatusHasBeenSet() const { return m_fileShareStatusHasBeenSet; }
74 template<typename FileShareStatusT = Aws::String>
75 void SetFileShareStatus(FileShareStatusT&& value) { m_fileShareStatusHasBeenSet = true; m_fileShareStatus = std::forward<FileShareStatusT>(value); }
76 template<typename FileShareStatusT = Aws::String>
77 FileShareInfo& WithFileShareStatus(FileShareStatusT&& value) { SetFileShareStatus(std::forward<FileShareStatusT>(value)); return *this;}
79
81
82 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
83 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
84 template<typename GatewayARNT = Aws::String>
85 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::forward<GatewayARNT>(value); }
86 template<typename GatewayARNT = Aws::String>
87 FileShareInfo& WithGatewayARN(GatewayARNT&& value) { SetGatewayARN(std::forward<GatewayARNT>(value)); return *this;}
89 private:
90
92 bool m_fileShareTypeHasBeenSet = false;
93
94 Aws::String m_fileShareARN;
95 bool m_fileShareARNHasBeenSet = false;
96
97 Aws::String m_fileShareId;
98 bool m_fileShareIdHasBeenSet = false;
99
100 Aws::String m_fileShareStatus;
101 bool m_fileShareStatusHasBeenSet = false;
102
103 Aws::String m_gatewayARN;
104 bool m_gatewayARNHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace StorageGateway
109} // namespace Aws
AWS_STORAGEGATEWAY_API FileShareInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetGatewayARN() const
const Aws::String & GetFileShareStatus() const
FileShareInfo & WithFileShareARN(FileShareARNT &&value)
void SetFileShareStatus(FileShareStatusT &&value)
FileShareInfo & WithFileShareType(FileShareType value)
AWS_STORAGEGATEWAY_API FileShareInfo()=default
AWS_STORAGEGATEWAY_API FileShareInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
FileShareInfo & WithFileShareStatus(FileShareStatusT &&value)
void SetFileShareARN(FileShareARNT &&value)
FileShareInfo & WithFileShareId(FileShareIdT &&value)
void SetFileShareId(FileShareIdT &&value)
const Aws::String & GetFileShareId() const
FileShareInfo & WithGatewayARN(GatewayARNT &&value)
const Aws::String & GetFileShareARN() const
void SetFileShareType(FileShareType value)
void SetGatewayARN(GatewayARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue