AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
FileSystemAssociationSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/storagegateway/StorageGateway_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace StorageGateway {
20namespace Model {
21
29 public:
30 AWS_STORAGEGATEWAY_API FileSystemAssociationSummary() = default;
33 AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetFileSystemAssociationId() const { return m_fileSystemAssociationId; }
40 inline bool FileSystemAssociationIdHasBeenSet() const { return m_fileSystemAssociationIdHasBeenSet; }
41 template <typename FileSystemAssociationIdT = Aws::String>
42 void SetFileSystemAssociationId(FileSystemAssociationIdT&& value) {
43 m_fileSystemAssociationIdHasBeenSet = true;
44 m_fileSystemAssociationId = std::forward<FileSystemAssociationIdT>(value);
45 }
46 template <typename FileSystemAssociationIdT = Aws::String>
47 FileSystemAssociationSummary& WithFileSystemAssociationId(FileSystemAssociationIdT&& value) {
48 SetFileSystemAssociationId(std::forward<FileSystemAssociationIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetFileSystemAssociationARN() const { return m_fileSystemAssociationARN; }
58 inline bool FileSystemAssociationARNHasBeenSet() const { return m_fileSystemAssociationARNHasBeenSet; }
59 template <typename FileSystemAssociationARNT = Aws::String>
60 void SetFileSystemAssociationARN(FileSystemAssociationARNT&& value) {
61 m_fileSystemAssociationARNHasBeenSet = true;
62 m_fileSystemAssociationARN = std::forward<FileSystemAssociationARNT>(value);
63 }
64 template <typename FileSystemAssociationARNT = Aws::String>
65 FileSystemAssociationSummary& WithFileSystemAssociationARN(FileSystemAssociationARNT&& value) {
66 SetFileSystemAssociationARN(std::forward<FileSystemAssociationARNT>(value));
67 return *this;
68 }
70
72
77 inline const Aws::String& GetFileSystemAssociationStatus() const { return m_fileSystemAssociationStatus; }
78 inline bool FileSystemAssociationStatusHasBeenSet() const { return m_fileSystemAssociationStatusHasBeenSet; }
79 template <typename FileSystemAssociationStatusT = Aws::String>
80 void SetFileSystemAssociationStatus(FileSystemAssociationStatusT&& value) {
81 m_fileSystemAssociationStatusHasBeenSet = true;
82 m_fileSystemAssociationStatus = std::forward<FileSystemAssociationStatusT>(value);
83 }
84 template <typename FileSystemAssociationStatusT = Aws::String>
85 FileSystemAssociationSummary& WithFileSystemAssociationStatus(FileSystemAssociationStatusT&& value) {
86 SetFileSystemAssociationStatus(std::forward<FileSystemAssociationStatusT>(value));
87 return *this;
88 }
90
92
93 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
94 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
95 template <typename GatewayARNT = Aws::String>
96 void SetGatewayARN(GatewayARNT&& value) {
97 m_gatewayARNHasBeenSet = true;
98 m_gatewayARN = std::forward<GatewayARNT>(value);
99 }
100 template <typename GatewayARNT = Aws::String>
102 SetGatewayARN(std::forward<GatewayARNT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_fileSystemAssociationId;
108
109 Aws::String m_fileSystemAssociationARN;
110
111 Aws::String m_fileSystemAssociationStatus;
112
113 Aws::String m_gatewayARN;
114 bool m_fileSystemAssociationIdHasBeenSet = false;
115 bool m_fileSystemAssociationARNHasBeenSet = false;
116 bool m_fileSystemAssociationStatusHasBeenSet = false;
117 bool m_gatewayARNHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace StorageGateway
122} // namespace Aws
AWS_STORAGEGATEWAY_API FileSystemAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FileSystemAssociationSummary & WithFileSystemAssociationId(FileSystemAssociationIdT &&value)
AWS_STORAGEGATEWAY_API FileSystemAssociationSummary()=default
void SetFileSystemAssociationStatus(FileSystemAssociationStatusT &&value)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
FileSystemAssociationSummary & WithFileSystemAssociationARN(FileSystemAssociationARNT &&value)
AWS_STORAGEGATEWAY_API FileSystemAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
FileSystemAssociationSummary & WithGatewayARN(GatewayARNT &&value)
FileSystemAssociationSummary & WithFileSystemAssociationStatus(FileSystemAssociationStatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue