AWS SDK for C++  1.9.106
AWS SDK for C++
FileShareInfo.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace StorageGateway
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
42 
43  inline const FileShareType& GetFileShareType() const{ return m_fileShareType; }
44 
45 
46  inline bool FileShareTypeHasBeenSet() const { return m_fileShareTypeHasBeenSet; }
47 
48 
49  inline void SetFileShareType(const FileShareType& value) { m_fileShareTypeHasBeenSet = true; m_fileShareType = value; }
50 
51 
52  inline void SetFileShareType(FileShareType&& value) { m_fileShareTypeHasBeenSet = true; m_fileShareType = std::move(value); }
53 
54 
55  inline FileShareInfo& WithFileShareType(const FileShareType& value) { SetFileShareType(value); return *this;}
56 
57 
58  inline FileShareInfo& WithFileShareType(FileShareType&& value) { SetFileShareType(std::move(value)); return *this;}
59 
60 
61 
62  inline const Aws::String& GetFileShareARN() const{ return m_fileShareARN; }
63 
64 
65  inline bool FileShareARNHasBeenSet() const { return m_fileShareARNHasBeenSet; }
66 
67 
68  inline void SetFileShareARN(const Aws::String& value) { m_fileShareARNHasBeenSet = true; m_fileShareARN = value; }
69 
70 
71  inline void SetFileShareARN(Aws::String&& value) { m_fileShareARNHasBeenSet = true; m_fileShareARN = std::move(value); }
72 
73 
74  inline void SetFileShareARN(const char* value) { m_fileShareARNHasBeenSet = true; m_fileShareARN.assign(value); }
75 
76 
77  inline FileShareInfo& WithFileShareARN(const Aws::String& value) { SetFileShareARN(value); return *this;}
78 
79 
80  inline FileShareInfo& WithFileShareARN(Aws::String&& value) { SetFileShareARN(std::move(value)); return *this;}
81 
82 
83  inline FileShareInfo& WithFileShareARN(const char* value) { SetFileShareARN(value); return *this;}
84 
85 
86 
87  inline const Aws::String& GetFileShareId() const{ return m_fileShareId; }
88 
89 
90  inline bool FileShareIdHasBeenSet() const { return m_fileShareIdHasBeenSet; }
91 
92 
93  inline void SetFileShareId(const Aws::String& value) { m_fileShareIdHasBeenSet = true; m_fileShareId = value; }
94 
95 
96  inline void SetFileShareId(Aws::String&& value) { m_fileShareIdHasBeenSet = true; m_fileShareId = std::move(value); }
97 
98 
99  inline void SetFileShareId(const char* value) { m_fileShareIdHasBeenSet = true; m_fileShareId.assign(value); }
100 
101 
102  inline FileShareInfo& WithFileShareId(const Aws::String& value) { SetFileShareId(value); return *this;}
103 
104 
105  inline FileShareInfo& WithFileShareId(Aws::String&& value) { SetFileShareId(std::move(value)); return *this;}
106 
107 
108  inline FileShareInfo& WithFileShareId(const char* value) { SetFileShareId(value); return *this;}
109 
110 
111 
112  inline const Aws::String& GetFileShareStatus() const{ return m_fileShareStatus; }
113 
114 
115  inline bool FileShareStatusHasBeenSet() const { return m_fileShareStatusHasBeenSet; }
116 
117 
118  inline void SetFileShareStatus(const Aws::String& value) { m_fileShareStatusHasBeenSet = true; m_fileShareStatus = value; }
119 
120 
121  inline void SetFileShareStatus(Aws::String&& value) { m_fileShareStatusHasBeenSet = true; m_fileShareStatus = std::move(value); }
122 
123 
124  inline void SetFileShareStatus(const char* value) { m_fileShareStatusHasBeenSet = true; m_fileShareStatus.assign(value); }
125 
126 
127  inline FileShareInfo& WithFileShareStatus(const Aws::String& value) { SetFileShareStatus(value); return *this;}
128 
129 
130  inline FileShareInfo& WithFileShareStatus(Aws::String&& value) { SetFileShareStatus(std::move(value)); return *this;}
131 
132 
133  inline FileShareInfo& WithFileShareStatus(const char* value) { SetFileShareStatus(value); return *this;}
134 
135 
136 
137  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
138 
139 
140  inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
141 
142 
143  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
144 
145 
146  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
147 
148 
149  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
150 
151 
152  inline FileShareInfo& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
153 
154 
155  inline FileShareInfo& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
156 
157 
158  inline FileShareInfo& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
159 
160  private:
161 
162  FileShareType m_fileShareType;
163  bool m_fileShareTypeHasBeenSet;
164 
165  Aws::String m_fileShareARN;
166  bool m_fileShareARNHasBeenSet;
167 
168  Aws::String m_fileShareId;
169  bool m_fileShareIdHasBeenSet;
170 
171  Aws::String m_fileShareStatus;
172  bool m_fileShareStatusHasBeenSet;
173 
174  Aws::String m_gatewayARN;
175  bool m_gatewayARNHasBeenSet;
176  };
177 
178 } // namespace Model
179 } // namespace StorageGateway
180 } // namespace Aws
Aws::StorageGateway::Model::FileShareInfo::WithGatewayARN
FileShareInfo & WithGatewayARN(const char *value)
Definition: FileShareInfo.h:158
Aws::StorageGateway::Model::FileShareInfo::SetFileShareARN
void SetFileShareARN(const Aws::String &value)
Definition: FileShareInfo.h:68
Aws::StorageGateway::Model::FileShareInfo::FileShareIdHasBeenSet
bool FileShareIdHasBeenSet() const
Definition: FileShareInfo.h:90
Aws::StorageGateway::Model::FileShareInfo::WithGatewayARN
FileShareInfo & WithGatewayARN(const Aws::String &value)
Definition: FileShareInfo.h:152
Aws::StorageGateway::Model::FileShareInfo::WithFileShareId
FileShareInfo & WithFileShareId(const Aws::String &value)
Definition: FileShareInfo.h:102
Aws::StorageGateway::Model::FileShareInfo::SetFileShareId
void SetFileShareId(const Aws::String &value)
Definition: FileShareInfo.h:93
Aws::StorageGateway::Model::FileShareInfo::FileShareInfo
FileShareInfo()
Aws::StorageGateway::Model::FileShareInfo::operator=
FileShareInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::StorageGateway::Model::FileShareInfo::SetFileShareARN
void SetFileShareARN(Aws::String &&value)
Definition: FileShareInfo.h:71
Aws::StorageGateway::Model::FileShareInfo::WithFileShareType
FileShareInfo & WithFileShareType(FileShareType &&value)
Definition: FileShareInfo.h:58
Aws::StorageGateway::Model::FileShareInfo::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: FileShareInfo.h:143
Aws::StorageGateway::Model::FileShareInfo::WithFileShareARN
FileShareInfo & WithFileShareARN(const Aws::String &value)
Definition: FileShareInfo.h:77
Aws::StorageGateway::Model::FileShareInfo::SetFileShareStatus
void SetFileShareStatus(Aws::String &&value)
Definition: FileShareInfo.h:121
Aws::StorageGateway::Model::FileShareInfo::SetFileShareType
void SetFileShareType(const FileShareType &value)
Definition: FileShareInfo.h:49
Aws::StorageGateway::Model::FileShareInfo::FileShareStatusHasBeenSet
bool FileShareStatusHasBeenSet() const
Definition: FileShareInfo.h:115
Aws::StorageGateway::Model::FileShareInfo::GetFileShareType
const FileShareType & GetFileShareType() const
Definition: FileShareInfo.h:43
Aws::StorageGateway::Model::FileShareInfo::SetFileShareId
void SetFileShareId(Aws::String &&value)
Definition: FileShareInfo.h:96
Aws::StorageGateway::Model::FileShareInfo
Definition: FileShareInfo.h:34
Aws::StorageGateway::Model::FileShareInfo::WithFileShareARN
FileShareInfo & WithFileShareARN(const char *value)
Definition: FileShareInfo.h:83
Aws::StorageGateway::Model::FileShareInfo::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: FileShareInfo.h:146
Aws::StorageGateway::Model::FileShareInfo::GetFileShareId
const Aws::String & GetFileShareId() const
Definition: FileShareInfo.h:87
Aws::StorageGateway::Model::FileShareInfo::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: FileShareInfo.h:149
Aws::StorageGateway::Model::FileShareInfo::SetFileShareStatus
void SetFileShareStatus(const char *value)
Definition: FileShareInfo.h:124
Aws::StorageGateway::Model::FileShareInfo::GetFileShareARN
const Aws::String & GetFileShareARN() const
Definition: FileShareInfo.h:62
Aws::StorageGateway::Model::FileShareInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::StorageGateway::Model::FileShareInfo::SetFileShareType
void SetFileShareType(FileShareType &&value)
Definition: FileShareInfo.h:52
Aws::StorageGateway::Model::FileShareInfo::SetFileShareARN
void SetFileShareARN(const char *value)
Definition: FileShareInfo.h:74
Aws::StorageGateway::Model::FileShareInfo::GetFileShareStatus
const Aws::String & GetFileShareStatus() const
Definition: FileShareInfo.h:112
Aws::StorageGateway::Model::FileShareInfo::WithFileShareStatus
FileShareInfo & WithFileShareStatus(const Aws::String &value)
Definition: FileShareInfo.h:127
Aws::StorageGateway::Model::FileShareInfo::SetFileShareStatus
void SetFileShareStatus(const Aws::String &value)
Definition: FileShareInfo.h:118
Aws::StorageGateway::Model::FileShareInfo::WithFileShareId
FileShareInfo & WithFileShareId(Aws::String &&value)
Definition: FileShareInfo.h:105
Aws::StorageGateway::Model::FileShareInfo::WithFileShareStatus
FileShareInfo & WithFileShareStatus(Aws::String &&value)
Definition: FileShareInfo.h:130
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::StorageGateway::Model::FileShareInfo::WithFileShareType
FileShareInfo & WithFileShareType(const FileShareType &value)
Definition: FileShareInfo.h:55
AWSString.h
Aws::StorageGateway::Model::FileShareInfo::WithGatewayARN
FileShareInfo & WithGatewayARN(Aws::String &&value)
Definition: FileShareInfo.h:155
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::FileShareInfo::WithFileShareARN
FileShareInfo & WithFileShareARN(Aws::String &&value)
Definition: FileShareInfo.h:80
Aws::StorageGateway::Model::FileShareInfo::WithFileShareStatus
FileShareInfo & WithFileShareStatus(const char *value)
Definition: FileShareInfo.h:133
Aws::StorageGateway::Model::FileShareInfo::GatewayARNHasBeenSet
bool GatewayARNHasBeenSet() const
Definition: FileShareInfo.h:140
FileShareType.h
Aws::StorageGateway::Model::FileShareInfo::FileShareInfo
FileShareInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::StorageGateway::Model::FileShareType
FileShareType
Definition: FileShareType.h:17
Aws::StorageGateway::Model::FileShareInfo::FileShareARNHasBeenSet
bool FileShareARNHasBeenSet() const
Definition: FileShareInfo.h:65
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::FileShareInfo::SetFileShareId
void SetFileShareId(const char *value)
Definition: FileShareInfo.h:99
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::FileShareInfo::FileShareTypeHasBeenSet
bool FileShareTypeHasBeenSet() const
Definition: FileShareInfo.h:46
Aws::StorageGateway::Model::FileShareInfo::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: FileShareInfo.h:137
Aws::StorageGateway::Model::FileShareInfo::WithFileShareId
FileShareInfo & WithFileShareId(const char *value)
Definition: FileShareInfo.h:108