AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FileSystemAssociationSummary.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace StorageGateway
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_STORAGEGATEWAY_API FileSystemAssociationSummary() = default;
38 AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetFileSystemAssociationId() const { return m_fileSystemAssociationId; }
46 inline bool FileSystemAssociationIdHasBeenSet() const { return m_fileSystemAssociationIdHasBeenSet; }
47 template<typename FileSystemAssociationIdT = Aws::String>
48 void SetFileSystemAssociationId(FileSystemAssociationIdT&& value) { m_fileSystemAssociationIdHasBeenSet = true; m_fileSystemAssociationId = std::forward<FileSystemAssociationIdT>(value); }
49 template<typename FileSystemAssociationIdT = Aws::String>
50 FileSystemAssociationSummary& WithFileSystemAssociationId(FileSystemAssociationIdT&& value) { SetFileSystemAssociationId(std::forward<FileSystemAssociationIdT>(value)); return *this;}
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) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN = std::forward<FileSystemAssociationARNT>(value); }
61 template<typename FileSystemAssociationARNT = Aws::String>
62 FileSystemAssociationSummary& WithFileSystemAssociationARN(FileSystemAssociationARNT&& value) { SetFileSystemAssociationARN(std::forward<FileSystemAssociationARNT>(value)); return *this;}
64
66
71 inline const Aws::String& GetFileSystemAssociationStatus() const { return m_fileSystemAssociationStatus; }
72 inline bool FileSystemAssociationStatusHasBeenSet() const { return m_fileSystemAssociationStatusHasBeenSet; }
73 template<typename FileSystemAssociationStatusT = Aws::String>
74 void SetFileSystemAssociationStatus(FileSystemAssociationStatusT&& value) { m_fileSystemAssociationStatusHasBeenSet = true; m_fileSystemAssociationStatus = std::forward<FileSystemAssociationStatusT>(value); }
75 template<typename FileSystemAssociationStatusT = Aws::String>
76 FileSystemAssociationSummary& WithFileSystemAssociationStatus(FileSystemAssociationStatusT&& value) { SetFileSystemAssociationStatus(std::forward<FileSystemAssociationStatusT>(value)); return *this;}
78
80
81 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
82 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
83 template<typename GatewayARNT = Aws::String>
84 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::forward<GatewayARNT>(value); }
85 template<typename GatewayARNT = Aws::String>
86 FileSystemAssociationSummary& WithGatewayARN(GatewayARNT&& value) { SetGatewayARN(std::forward<GatewayARNT>(value)); return *this;}
88 private:
89
90 Aws::String m_fileSystemAssociationId;
91 bool m_fileSystemAssociationIdHasBeenSet = false;
92
93 Aws::String m_fileSystemAssociationARN;
94 bool m_fileSystemAssociationARNHasBeenSet = false;
95
96 Aws::String m_fileSystemAssociationStatus;
97 bool m_fileSystemAssociationStatusHasBeenSet = false;
98
99 Aws::String m_gatewayARN;
100 bool m_gatewayARNHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace StorageGateway
105} // 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