AWS SDK for C++  1.9.159
AWS SDK for C++
VolumeiSCSIAttributes.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 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetTargetARN() const{ return m_targetARN; }
44 
48  inline bool TargetARNHasBeenSet() const { return m_targetARNHasBeenSet; }
49 
53  inline void SetTargetARN(const Aws::String& value) { m_targetARNHasBeenSet = true; m_targetARN = value; }
54 
58  inline void SetTargetARN(Aws::String&& value) { m_targetARNHasBeenSet = true; m_targetARN = std::move(value); }
59 
63  inline void SetTargetARN(const char* value) { m_targetARNHasBeenSet = true; m_targetARN.assign(value); }
64 
68  inline VolumeiSCSIAttributes& WithTargetARN(const Aws::String& value) { SetTargetARN(value); return *this;}
69 
73  inline VolumeiSCSIAttributes& WithTargetARN(Aws::String&& value) { SetTargetARN(std::move(value)); return *this;}
74 
78  inline VolumeiSCSIAttributes& WithTargetARN(const char* value) { SetTargetARN(value); return *this;}
79 
80 
84  inline const Aws::String& GetNetworkInterfaceId() const{ return m_networkInterfaceId; }
85 
89  inline bool NetworkInterfaceIdHasBeenSet() const { return m_networkInterfaceIdHasBeenSet; }
90 
94  inline void SetNetworkInterfaceId(const Aws::String& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = value; }
95 
99  inline void SetNetworkInterfaceId(Aws::String&& value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId = std::move(value); }
100 
104  inline void SetNetworkInterfaceId(const char* value) { m_networkInterfaceIdHasBeenSet = true; m_networkInterfaceId.assign(value); }
105 
109  inline VolumeiSCSIAttributes& WithNetworkInterfaceId(const Aws::String& value) { SetNetworkInterfaceId(value); return *this;}
110 
114  inline VolumeiSCSIAttributes& WithNetworkInterfaceId(Aws::String&& value) { SetNetworkInterfaceId(std::move(value)); return *this;}
115 
119  inline VolumeiSCSIAttributes& WithNetworkInterfaceId(const char* value) { SetNetworkInterfaceId(value); return *this;}
120 
121 
125  inline int GetNetworkInterfacePort() const{ return m_networkInterfacePort; }
126 
130  inline bool NetworkInterfacePortHasBeenSet() const { return m_networkInterfacePortHasBeenSet; }
131 
135  inline void SetNetworkInterfacePort(int value) { m_networkInterfacePortHasBeenSet = true; m_networkInterfacePort = value; }
136 
140  inline VolumeiSCSIAttributes& WithNetworkInterfacePort(int value) { SetNetworkInterfacePort(value); return *this;}
141 
142 
146  inline int GetLunNumber() const{ return m_lunNumber; }
147 
151  inline bool LunNumberHasBeenSet() const { return m_lunNumberHasBeenSet; }
152 
156  inline void SetLunNumber(int value) { m_lunNumberHasBeenSet = true; m_lunNumber = value; }
157 
161  inline VolumeiSCSIAttributes& WithLunNumber(int value) { SetLunNumber(value); return *this;}
162 
163 
167  inline bool GetChapEnabled() const{ return m_chapEnabled; }
168 
172  inline bool ChapEnabledHasBeenSet() const { return m_chapEnabledHasBeenSet; }
173 
177  inline void SetChapEnabled(bool value) { m_chapEnabledHasBeenSet = true; m_chapEnabled = value; }
178 
182  inline VolumeiSCSIAttributes& WithChapEnabled(bool value) { SetChapEnabled(value); return *this;}
183 
184  private:
185 
186  Aws::String m_targetARN;
187  bool m_targetARNHasBeenSet;
188 
189  Aws::String m_networkInterfaceId;
190  bool m_networkInterfaceIdHasBeenSet;
191 
192  int m_networkInterfacePort;
193  bool m_networkInterfacePortHasBeenSet;
194 
195  int m_lunNumber;
196  bool m_lunNumberHasBeenSet;
197 
198  bool m_chapEnabled;
199  bool m_chapEnabledHasBeenSet;
200  };
201 
202 } // namespace Model
203 } // namespace StorageGateway
204 } // namespace Aws
Aws::StorageGateway::Model::VolumeiSCSIAttributes::operator=
VolumeiSCSIAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::StorageGateway::Model::VolumeiSCSIAttributes::ChapEnabledHasBeenSet
bool ChapEnabledHasBeenSet() const
Definition: VolumeiSCSIAttributes.h:172
Aws::StorageGateway::Model::VolumeiSCSIAttributes::WithNetworkInterfaceId
VolumeiSCSIAttributes & WithNetworkInterfaceId(Aws::String &&value)
Definition: VolumeiSCSIAttributes.h:114
Aws::StorageGateway::Model::VolumeiSCSIAttributes
Definition: VolumeiSCSIAttributes.h:32
Aws::StorageGateway::Model::VolumeiSCSIAttributes::SetNetworkInterfaceId
void SetNetworkInterfaceId(const Aws::String &value)
Definition: VolumeiSCSIAttributes.h:94
Aws::StorageGateway::Model::VolumeiSCSIAttributes::NetworkInterfaceIdHasBeenSet
bool NetworkInterfaceIdHasBeenSet() const
Definition: VolumeiSCSIAttributes.h:89
Aws::StorageGateway::Model::VolumeiSCSIAttributes::SetTargetARN
void SetTargetARN(const char *value)
Definition: VolumeiSCSIAttributes.h:63
Aws::StorageGateway::Model::VolumeiSCSIAttributes::SetNetworkInterfaceId
void SetNetworkInterfaceId(const char *value)
Definition: VolumeiSCSIAttributes.h:104
Aws::StorageGateway::Model::VolumeiSCSIAttributes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::StorageGateway::Model::VolumeiSCSIAttributes::GetLunNumber
int GetLunNumber() const
Definition: VolumeiSCSIAttributes.h:146
Aws::StorageGateway::Model::VolumeiSCSIAttributes::GetChapEnabled
bool GetChapEnabled() const
Definition: VolumeiSCSIAttributes.h:167
Aws::StorageGateway::Model::VolumeiSCSIAttributes::SetNetworkInterfacePort
void SetNetworkInterfacePort(int value)
Definition: VolumeiSCSIAttributes.h:135
Aws::StorageGateway::Model::VolumeiSCSIAttributes::GetNetworkInterfaceId
const Aws::String & GetNetworkInterfaceId() const
Definition: VolumeiSCSIAttributes.h:84
Aws::StorageGateway::Model::VolumeiSCSIAttributes::WithTargetARN
VolumeiSCSIAttributes & WithTargetARN(Aws::String &&value)
Definition: VolumeiSCSIAttributes.h:73
Aws::StorageGateway::Model::VolumeiSCSIAttributes::GetTargetARN
const Aws::String & GetTargetARN() const
Definition: VolumeiSCSIAttributes.h:43
Aws::StorageGateway::Model::VolumeiSCSIAttributes::SetTargetARN
void SetTargetARN(const Aws::String &value)
Definition: VolumeiSCSIAttributes.h:53
Aws::StorageGateway::Model::VolumeiSCSIAttributes::WithTargetARN
VolumeiSCSIAttributes & WithTargetARN(const Aws::String &value)
Definition: VolumeiSCSIAttributes.h:68
Aws::StorageGateway::Model::VolumeiSCSIAttributes::VolumeiSCSIAttributes
VolumeiSCSIAttributes()
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::VolumeiSCSIAttributes::SetNetworkInterfaceId
void SetNetworkInterfaceId(Aws::String &&value)
Definition: VolumeiSCSIAttributes.h:99
Aws::StorageGateway::Model::VolumeiSCSIAttributes::TargetARNHasBeenSet
bool TargetARNHasBeenSet() const
Definition: VolumeiSCSIAttributes.h:48
Aws::StorageGateway::Model::VolumeiSCSIAttributes::SetLunNumber
void SetLunNumber(int value)
Definition: VolumeiSCSIAttributes.h:156
Aws::StorageGateway::Model::VolumeiSCSIAttributes::GetNetworkInterfacePort
int GetNetworkInterfacePort() const
Definition: VolumeiSCSIAttributes.h:125
Aws::StorageGateway::Model::VolumeiSCSIAttributes::NetworkInterfacePortHasBeenSet
bool NetworkInterfacePortHasBeenSet() const
Definition: VolumeiSCSIAttributes.h:130
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::VolumeiSCSIAttributes::WithLunNumber
VolumeiSCSIAttributes & WithLunNumber(int value)
Definition: VolumeiSCSIAttributes.h:161
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::VolumeiSCSIAttributes::WithNetworkInterfaceId
VolumeiSCSIAttributes & WithNetworkInterfaceId(const Aws::String &value)
Definition: VolumeiSCSIAttributes.h:109
Aws::StorageGateway::Model::VolumeiSCSIAttributes::SetTargetARN
void SetTargetARN(Aws::String &&value)
Definition: VolumeiSCSIAttributes.h:58
Aws::StorageGateway::Model::VolumeiSCSIAttributes::WithNetworkInterfacePort
VolumeiSCSIAttributes & WithNetworkInterfacePort(int value)
Definition: VolumeiSCSIAttributes.h:140
Aws::StorageGateway::Model::VolumeiSCSIAttributes::WithChapEnabled
VolumeiSCSIAttributes & WithChapEnabled(bool value)
Definition: VolumeiSCSIAttributes.h:182
Aws::StorageGateway::Model::VolumeiSCSIAttributes::SetChapEnabled
void SetChapEnabled(bool value)
Definition: VolumeiSCSIAttributes.h:177
Aws::StorageGateway::Model::VolumeiSCSIAttributes::WithNetworkInterfaceId
VolumeiSCSIAttributes & WithNetworkInterfaceId(const char *value)
Definition: VolumeiSCSIAttributes.h:119
Aws::StorageGateway::Model::VolumeiSCSIAttributes::WithTargetARN
VolumeiSCSIAttributes & WithTargetARN(const char *value)
Definition: VolumeiSCSIAttributes.h:78
Aws::StorageGateway::Model::VolumeiSCSIAttributes::VolumeiSCSIAttributes
VolumeiSCSIAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::StorageGateway::Model::VolumeiSCSIAttributes::LunNumberHasBeenSet
bool LunNumberHasBeenSet() const
Definition: VolumeiSCSIAttributes.h:151