AWS SDK for C++  1.9.123
AWS SDK for C++
FileSystemAssociationSummary.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace StorageGateway
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetFileSystemAssociationId() const{ return m_fileSystemAssociationId; }
45 
49  inline bool FileSystemAssociationIdHasBeenSet() const { return m_fileSystemAssociationIdHasBeenSet; }
50 
54  inline void SetFileSystemAssociationId(const Aws::String& value) { m_fileSystemAssociationIdHasBeenSet = true; m_fileSystemAssociationId = value; }
55 
59  inline void SetFileSystemAssociationId(Aws::String&& value) { m_fileSystemAssociationIdHasBeenSet = true; m_fileSystemAssociationId = std::move(value); }
60 
64  inline void SetFileSystemAssociationId(const char* value) { m_fileSystemAssociationIdHasBeenSet = true; m_fileSystemAssociationId.assign(value); }
65 
69  inline FileSystemAssociationSummary& WithFileSystemAssociationId(const Aws::String& value) { SetFileSystemAssociationId(value); return *this;}
70 
74  inline FileSystemAssociationSummary& WithFileSystemAssociationId(Aws::String&& value) { SetFileSystemAssociationId(std::move(value)); return *this;}
75 
79  inline FileSystemAssociationSummary& WithFileSystemAssociationId(const char* value) { SetFileSystemAssociationId(value); return *this;}
80 
81 
85  inline const Aws::String& GetFileSystemAssociationARN() const{ return m_fileSystemAssociationARN; }
86 
90  inline bool FileSystemAssociationARNHasBeenSet() const { return m_fileSystemAssociationARNHasBeenSet; }
91 
95  inline void SetFileSystemAssociationARN(const Aws::String& value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN = value; }
96 
100  inline void SetFileSystemAssociationARN(Aws::String&& value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN = std::move(value); }
101 
105  inline void SetFileSystemAssociationARN(const char* value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN.assign(value); }
106 
110  inline FileSystemAssociationSummary& WithFileSystemAssociationARN(const Aws::String& value) { SetFileSystemAssociationARN(value); return *this;}
111 
115  inline FileSystemAssociationSummary& WithFileSystemAssociationARN(Aws::String&& value) { SetFileSystemAssociationARN(std::move(value)); return *this;}
116 
120  inline FileSystemAssociationSummary& WithFileSystemAssociationARN(const char* value) { SetFileSystemAssociationARN(value); return *this;}
121 
122 
128  inline const Aws::String& GetFileSystemAssociationStatus() const{ return m_fileSystemAssociationStatus; }
129 
135  inline bool FileSystemAssociationStatusHasBeenSet() const { return m_fileSystemAssociationStatusHasBeenSet; }
136 
142  inline void SetFileSystemAssociationStatus(const Aws::String& value) { m_fileSystemAssociationStatusHasBeenSet = true; m_fileSystemAssociationStatus = value; }
143 
149  inline void SetFileSystemAssociationStatus(Aws::String&& value) { m_fileSystemAssociationStatusHasBeenSet = true; m_fileSystemAssociationStatus = std::move(value); }
150 
156  inline void SetFileSystemAssociationStatus(const char* value) { m_fileSystemAssociationStatusHasBeenSet = true; m_fileSystemAssociationStatus.assign(value); }
157 
163  inline FileSystemAssociationSummary& WithFileSystemAssociationStatus(const Aws::String& value) { SetFileSystemAssociationStatus(value); return *this;}
164 
170  inline FileSystemAssociationSummary& WithFileSystemAssociationStatus(Aws::String&& value) { SetFileSystemAssociationStatus(std::move(value)); return *this;}
171 
177  inline FileSystemAssociationSummary& WithFileSystemAssociationStatus(const char* value) { SetFileSystemAssociationStatus(value); return *this;}
178 
179 
180 
181  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
182 
183 
184  inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
185 
186 
187  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
188 
189 
190  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
191 
192 
193  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
194 
195 
196  inline FileSystemAssociationSummary& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
197 
198 
199  inline FileSystemAssociationSummary& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
200 
201 
202  inline FileSystemAssociationSummary& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
203 
204  private:
205 
206  Aws::String m_fileSystemAssociationId;
207  bool m_fileSystemAssociationIdHasBeenSet;
208 
209  Aws::String m_fileSystemAssociationARN;
210  bool m_fileSystemAssociationARNHasBeenSet;
211 
212  Aws::String m_fileSystemAssociationStatus;
213  bool m_fileSystemAssociationStatusHasBeenSet;
214 
215  Aws::String m_gatewayARN;
216  bool m_gatewayARNHasBeenSet;
217  };
218 
219 } // namespace Model
220 } // namespace StorageGateway
221 } // namespace Aws
Aws::StorageGateway::Model::FileSystemAssociationSummary::GetFileSystemAssociationId
const Aws::String & GetFileSystemAssociationId() const
Definition: FileSystemAssociationSummary.h:44
Aws::StorageGateway::Model::FileSystemAssociationSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::StorageGateway::Model::FileSystemAssociationSummary::GetFileSystemAssociationStatus
const Aws::String & GetFileSystemAssociationStatus() const
Definition: FileSystemAssociationSummary.h:128
Aws::StorageGateway::Model::FileSystemAssociationSummary::WithGatewayARN
FileSystemAssociationSummary & WithGatewayARN(const Aws::String &value)
Definition: FileSystemAssociationSummary.h:196
Aws::StorageGateway::Model::FileSystemAssociationSummary::WithFileSystemAssociationId
FileSystemAssociationSummary & WithFileSystemAssociationId(const char *value)
Definition: FileSystemAssociationSummary.h:79
Aws::StorageGateway::Model::FileSystemAssociationSummary::SetFileSystemAssociationId
void SetFileSystemAssociationId(const Aws::String &value)
Definition: FileSystemAssociationSummary.h:54
Aws::StorageGateway::Model::FileSystemAssociationSummary::WithFileSystemAssociationId
FileSystemAssociationSummary & WithFileSystemAssociationId(const Aws::String &value)
Definition: FileSystemAssociationSummary.h:69
Aws::StorageGateway::Model::FileSystemAssociationSummary::WithFileSystemAssociationARN
FileSystemAssociationSummary & WithFileSystemAssociationARN(const Aws::String &value)
Definition: FileSystemAssociationSummary.h:110
Aws::StorageGateway::Model::FileSystemAssociationSummary::operator=
FileSystemAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::StorageGateway::Model::FileSystemAssociationSummary::FileSystemAssociationIdHasBeenSet
bool FileSystemAssociationIdHasBeenSet() const
Definition: FileSystemAssociationSummary.h:49
Aws::StorageGateway::Model::FileSystemAssociationSummary::FileSystemAssociationARNHasBeenSet
bool FileSystemAssociationARNHasBeenSet() const
Definition: FileSystemAssociationSummary.h:90
Aws::StorageGateway::Model::FileSystemAssociationSummary::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: FileSystemAssociationSummary.h:187
Aws::StorageGateway::Model::FileSystemAssociationSummary::WithFileSystemAssociationStatus
FileSystemAssociationSummary & WithFileSystemAssociationStatus(const Aws::String &value)
Definition: FileSystemAssociationSummary.h:163
Aws::StorageGateway::Model::FileSystemAssociationSummary::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: FileSystemAssociationSummary.h:181
Aws::StorageGateway::Model::FileSystemAssociationSummary::WithFileSystemAssociationStatus
FileSystemAssociationSummary & WithFileSystemAssociationStatus(const char *value)
Definition: FileSystemAssociationSummary.h:177
Aws::StorageGateway::Model::FileSystemAssociationSummary::WithFileSystemAssociationId
FileSystemAssociationSummary & WithFileSystemAssociationId(Aws::String &&value)
Definition: FileSystemAssociationSummary.h:74
Aws::StorageGateway::Model::FileSystemAssociationSummary::FileSystemAssociationStatusHasBeenSet
bool FileSystemAssociationStatusHasBeenSet() const
Definition: FileSystemAssociationSummary.h:135
Aws::StorageGateway::Model::FileSystemAssociationSummary::WithFileSystemAssociationARN
FileSystemAssociationSummary & WithFileSystemAssociationARN(const char *value)
Definition: FileSystemAssociationSummary.h:120
Aws::StorageGateway::Model::FileSystemAssociationSummary::WithFileSystemAssociationARN
FileSystemAssociationSummary & WithFileSystemAssociationARN(Aws::String &&value)
Definition: FileSystemAssociationSummary.h:115
Aws::StorageGateway::Model::FileSystemAssociationSummary::SetFileSystemAssociationStatus
void SetFileSystemAssociationStatus(Aws::String &&value)
Definition: FileSystemAssociationSummary.h:149
Aws::StorageGateway::Model::FileSystemAssociationSummary::GetFileSystemAssociationARN
const Aws::String & GetFileSystemAssociationARN() const
Definition: FileSystemAssociationSummary.h:85
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::FileSystemAssociationSummary::WithGatewayARN
FileSystemAssociationSummary & WithGatewayARN(const char *value)
Definition: FileSystemAssociationSummary.h:202
Aws::StorageGateway::Model::FileSystemAssociationSummary::SetFileSystemAssociationId
void SetFileSystemAssociationId(Aws::String &&value)
Definition: FileSystemAssociationSummary.h:59
Aws::StorageGateway::Model::FileSystemAssociationSummary::SetFileSystemAssociationARN
void SetFileSystemAssociationARN(Aws::String &&value)
Definition: FileSystemAssociationSummary.h:100
Aws::StorageGateway::Model::FileSystemAssociationSummary::SetFileSystemAssociationARN
void SetFileSystemAssociationARN(const Aws::String &value)
Definition: FileSystemAssociationSummary.h:95
Aws::StorageGateway::Model::FileSystemAssociationSummary::SetFileSystemAssociationARN
void SetFileSystemAssociationARN(const char *value)
Definition: FileSystemAssociationSummary.h:105
Aws::StorageGateway::Model::FileSystemAssociationSummary::SetFileSystemAssociationStatus
void SetFileSystemAssociationStatus(const Aws::String &value)
Definition: FileSystemAssociationSummary.h:142
Aws::StorageGateway::Model::FileSystemAssociationSummary::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: FileSystemAssociationSummary.h:193
Aws
Definition: AccessManagementClient.h:15
Aws::StorageGateway::Model::FileSystemAssociationSummary::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: FileSystemAssociationSummary.h:190
StorageGateway_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::FileSystemAssociationSummary::FileSystemAssociationSummary
FileSystemAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::StorageGateway::Model::FileSystemAssociationSummary::FileSystemAssociationSummary
FileSystemAssociationSummary()
Aws::StorageGateway::Model::FileSystemAssociationSummary::WithGatewayARN
FileSystemAssociationSummary & WithGatewayARN(Aws::String &&value)
Definition: FileSystemAssociationSummary.h:199
Aws::StorageGateway::Model::FileSystemAssociationSummary::GatewayARNHasBeenSet
bool GatewayARNHasBeenSet() const
Definition: FileSystemAssociationSummary.h:184
Aws::StorageGateway::Model::FileSystemAssociationSummary::SetFileSystemAssociationStatus
void SetFileSystemAssociationStatus(const char *value)
Definition: FileSystemAssociationSummary.h:156
Aws::StorageGateway::Model::FileSystemAssociationSummary::SetFileSystemAssociationId
void SetFileSystemAssociationId(const char *value)
Definition: FileSystemAssociationSummary.h:64
Aws::StorageGateway::Model::FileSystemAssociationSummary
Definition: FileSystemAssociationSummary.h:33
Aws::StorageGateway::Model::FileSystemAssociationSummary::WithFileSystemAssociationStatus
FileSystemAssociationSummary & WithFileSystemAssociationStatus(Aws::String &&value)
Definition: FileSystemAssociationSummary.h:170