AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DestinationToCreate.h
1
6#pragma once
7#include <aws/elasticfilesystem/EFS_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 EFS
22{
23namespace Model
24{
25
55 {
56 public:
57 AWS_EFS_API DestinationToCreate() = default;
61
62
64
73 inline const Aws::String& GetRegion() const { return m_region; }
74 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
75 template<typename RegionT = Aws::String>
76 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
77 template<typename RegionT = Aws::String>
78 DestinationToCreate& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
80
82
86 inline const Aws::String& GetAvailabilityZoneName() const { return m_availabilityZoneName; }
87 inline bool AvailabilityZoneNameHasBeenSet() const { return m_availabilityZoneNameHasBeenSet; }
88 template<typename AvailabilityZoneNameT = Aws::String>
89 void SetAvailabilityZoneName(AvailabilityZoneNameT&& value) { m_availabilityZoneNameHasBeenSet = true; m_availabilityZoneName = std::forward<AvailabilityZoneNameT>(value); }
90 template<typename AvailabilityZoneNameT = Aws::String>
91 DestinationToCreate& WithAvailabilityZoneName(AvailabilityZoneNameT&& value) { SetAvailabilityZoneName(std::forward<AvailabilityZoneNameT>(value)); return *this;}
93
95
110 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
111 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
112 template<typename KmsKeyIdT = Aws::String>
113 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
114 template<typename KmsKeyIdT = Aws::String>
115 DestinationToCreate& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
117
119
131 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
132 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
133 template<typename FileSystemIdT = Aws::String>
134 void SetFileSystemId(FileSystemIdT&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::forward<FileSystemIdT>(value); }
135 template<typename FileSystemIdT = Aws::String>
136 DestinationToCreate& WithFileSystemId(FileSystemIdT&& value) { SetFileSystemId(std::forward<FileSystemIdT>(value)); return *this;}
138
140
145 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
146 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
147 template<typename RoleArnT = Aws::String>
148 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
149 template<typename RoleArnT = Aws::String>
150 DestinationToCreate& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
152 private:
153
154 Aws::String m_region;
155 bool m_regionHasBeenSet = false;
156
157 Aws::String m_availabilityZoneName;
158 bool m_availabilityZoneNameHasBeenSet = false;
159
160 Aws::String m_kmsKeyId;
161 bool m_kmsKeyIdHasBeenSet = false;
162
163 Aws::String m_fileSystemId;
164 bool m_fileSystemIdHasBeenSet = false;
165
166 Aws::String m_roleArn;
167 bool m_roleArnHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace EFS
172} // namespace Aws
const Aws::String & GetKmsKeyId() const
DestinationToCreate & WithFileSystemId(FileSystemIdT &&value)
AWS_EFS_API DestinationToCreate & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRoleArn() const
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
DestinationToCreate & WithRegion(RegionT &&value)
void SetFileSystemId(FileSystemIdT &&value)
const Aws::String & GetFileSystemId() const
const Aws::String & GetRegion() const
DestinationToCreate & WithAvailabilityZoneName(AvailabilityZoneNameT &&value)
AWS_EFS_API DestinationToCreate()=default
void SetAvailabilityZoneName(AvailabilityZoneNameT &&value)
const Aws::String & GetAvailabilityZoneName() const
AWS_EFS_API DestinationToCreate(Aws::Utils::Json::JsonView jsonValue)
DestinationToCreate & WithKmsKeyId(KmsKeyIdT &&value)
DestinationToCreate & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue