AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
33 {
34 public:
35 AWS_EFS_API DestinationToCreate();
39
40
42
46 inline const Aws::String& GetRegion() const{ return m_region; }
47 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
48 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
49 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
50 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
51 inline DestinationToCreate& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
52 inline DestinationToCreate& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
53 inline DestinationToCreate& WithRegion(const char* value) { SetRegion(value); return *this;}
55
57
61 inline const Aws::String& GetAvailabilityZoneName() const{ return m_availabilityZoneName; }
62 inline bool AvailabilityZoneNameHasBeenSet() const { return m_availabilityZoneNameHasBeenSet; }
63 inline void SetAvailabilityZoneName(const Aws::String& value) { m_availabilityZoneNameHasBeenSet = true; m_availabilityZoneName = value; }
64 inline void SetAvailabilityZoneName(Aws::String&& value) { m_availabilityZoneNameHasBeenSet = true; m_availabilityZoneName = std::move(value); }
65 inline void SetAvailabilityZoneName(const char* value) { m_availabilityZoneNameHasBeenSet = true; m_availabilityZoneName.assign(value); }
67 inline DestinationToCreate& WithAvailabilityZoneName(Aws::String&& value) { SetAvailabilityZoneName(std::move(value)); return *this;}
68 inline DestinationToCreate& WithAvailabilityZoneName(const char* value) { SetAvailabilityZoneName(value); return *this;}
70
72
87 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
88 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
89 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
90 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
91 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
92 inline DestinationToCreate& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
93 inline DestinationToCreate& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
94 inline DestinationToCreate& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
96
98
103 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
104 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
105 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
106 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
107 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
108 inline DestinationToCreate& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
109 inline DestinationToCreate& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
110 inline DestinationToCreate& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
112 private:
113
114 Aws::String m_region;
115 bool m_regionHasBeenSet = false;
116
117 Aws::String m_availabilityZoneName;
118 bool m_availabilityZoneNameHasBeenSet = false;
119
120 Aws::String m_kmsKeyId;
121 bool m_kmsKeyIdHasBeenSet = false;
122
123 Aws::String m_fileSystemId;
124 bool m_fileSystemIdHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace EFS
129} // namespace Aws
const Aws::String & GetKmsKeyId() const
DestinationToCreate & WithFileSystemId(const Aws::String &value)
DestinationToCreate & WithRegion(const char *value)
AWS_EFS_API DestinationToCreate & operator=(Aws::Utils::Json::JsonView jsonValue)
DestinationToCreate & WithAvailabilityZoneName(const char *value)
void SetAvailabilityZoneName(Aws::String &&value)
DestinationToCreate & WithFileSystemId(const char *value)
AWS_EFS_API Aws::Utils::Json::JsonValue Jsonize() const
DestinationToCreate & WithAvailabilityZoneName(Aws::String &&value)
void SetKmsKeyId(const Aws::String &value)
void SetFileSystemId(Aws::String &&value)
DestinationToCreate & WithKmsKeyId(Aws::String &&value)
void SetAvailabilityZoneName(const Aws::String &value)
DestinationToCreate & WithKmsKeyId(const char *value)
void SetFileSystemId(const Aws::String &value)
const Aws::String & GetFileSystemId() const
const Aws::String & GetRegion() const
DestinationToCreate & WithKmsKeyId(const Aws::String &value)
void SetAvailabilityZoneName(const char *value)
const Aws::String & GetAvailabilityZoneName() const
DestinationToCreate & WithAvailabilityZoneName(const Aws::String &value)
AWS_EFS_API DestinationToCreate(Aws::Utils::Json::JsonView jsonValue)
DestinationToCreate & WithRegion(Aws::String &&value)
DestinationToCreate & WithRegion(const Aws::String &value)
DestinationToCreate & WithFileSystemId(Aws::String &&value)
void SetRegion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue