7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/storagegateway/model/HostEnvironment.h>
22namespace StorageGateway
49 template<
typename GatewayIdT = Aws::String>
50 void SetGatewayId(GatewayIdT&& value) { m_gatewayIdHasBeenSet =
true; m_gatewayId = std::forward<GatewayIdT>(value); }
51 template<
typename GatewayIdT = Aws::String>
63 template<
typename GatewayARNT = Aws::String>
64 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet =
true; m_gatewayARN = std::forward<GatewayARNT>(value); }
65 template<
typename GatewayARNT = Aws::String>
80 template<
typename GatewayTypeT = Aws::String>
81 void SetGatewayType(GatewayTypeT&& value) { m_gatewayTypeHasBeenSet =
true; m_gatewayType = std::forward<GatewayTypeT>(value); }
82 template<
typename GatewayTypeT = Aws::String>
93 template<
typename GatewayOperationalStateT = Aws::String>
94 void SetGatewayOperationalState(GatewayOperationalStateT&& value) { m_gatewayOperationalStateHasBeenSet =
true; m_gatewayOperationalState = std::forward<GatewayOperationalStateT>(value); }
95 template<
typename GatewayOperationalStateT = Aws::String>
105 template<
typename GatewayNameT = Aws::String>
106 void SetGatewayName(GatewayNameT&& value) { m_gatewayNameHasBeenSet =
true; m_gatewayName = std::forward<GatewayNameT>(value); }
107 template<
typename GatewayNameT = Aws::String>
117 template<
typename Ec2InstanceIdT = Aws::String>
118 void SetEc2InstanceId(Ec2InstanceIdT&& value) { m_ec2InstanceIdHasBeenSet =
true; m_ec2InstanceId = std::forward<Ec2InstanceIdT>(value); }
119 template<
typename Ec2InstanceIdT = Aws::String>
129 template<
typename Ec2InstanceRegionT = Aws::String>
130 void SetEc2InstanceRegion(Ec2InstanceRegionT&& value) { m_ec2InstanceRegionHasBeenSet =
true; m_ec2InstanceRegion = std::forward<Ec2InstanceRegionT>(value); }
131 template<
typename Ec2InstanceRegionT = Aws::String>
155 template<
typename HostEnvironmentIdT = Aws::String>
156 void SetHostEnvironmentId(HostEnvironmentIdT&& value) { m_hostEnvironmentIdHasBeenSet =
true; m_hostEnvironmentId = std::forward<HostEnvironmentIdT>(value); }
157 template<
typename HostEnvironmentIdT = Aws::String>
168 template<
typename DeprecationDateT = Aws::String>
169 void SetDeprecationDate(DeprecationDateT&& value) { m_deprecationDateHasBeenSet =
true; m_deprecationDate = std::forward<DeprecationDateT>(value); }
170 template<
typename DeprecationDateT = Aws::String>
180 template<
typename SoftwareVersionT = Aws::String>
181 void SetSoftwareVersion(SoftwareVersionT&& value) { m_softwareVersionHasBeenSet =
true; m_softwareVersion = std::forward<SoftwareVersionT>(value); }
182 template<
typename SoftwareVersionT = Aws::String>
188 bool m_gatewayIdHasBeenSet =
false;
191 bool m_gatewayARNHasBeenSet =
false;
194 bool m_gatewayTypeHasBeenSet =
false;
197 bool m_gatewayOperationalStateHasBeenSet =
false;
200 bool m_gatewayNameHasBeenSet =
false;
203 bool m_ec2InstanceIdHasBeenSet =
false;
206 bool m_ec2InstanceRegionHasBeenSet =
false;
209 bool m_hostEnvironmentHasBeenSet =
false;
212 bool m_hostEnvironmentIdHasBeenSet =
false;
215 bool m_deprecationDateHasBeenSet =
false;
218 bool m_softwareVersionHasBeenSet =
false;
void SetGatewayName(GatewayNameT &&value)
GatewayInfo & WithEc2InstanceRegion(Ec2InstanceRegionT &&value)
GatewayInfo & WithEc2InstanceId(Ec2InstanceIdT &&value)
bool GatewayNameHasBeenSet() const
bool GatewayARNHasBeenSet() const
bool GatewayIdHasBeenSet() const
GatewayInfo & WithHostEnvironment(HostEnvironment value)
const Aws::String & GetHostEnvironmentId() const
const Aws::String & GetGatewayId() const
GatewayInfo & WithHostEnvironmentId(HostEnvironmentIdT &&value)
void SetHostEnvironment(HostEnvironment value)
const Aws::String & GetDeprecationDate() const
void SetEc2InstanceId(Ec2InstanceIdT &&value)
AWS_STORAGEGATEWAY_API GatewayInfo(Aws::Utils::Json::JsonView jsonValue)
GatewayInfo & WithGatewayId(GatewayIdT &&value)
const Aws::String & GetGatewayOperationalState() const
void SetGatewayOperationalState(GatewayOperationalStateT &&value)
GatewayInfo & WithGatewayName(GatewayNameT &&value)
bool Ec2InstanceIdHasBeenSet() const
bool GatewayOperationalStateHasBeenSet() const
void SetGatewayId(GatewayIdT &&value)
AWS_STORAGEGATEWAY_API GatewayInfo()=default
bool HostEnvironmentHasBeenSet() const
GatewayInfo & WithGatewayOperationalState(GatewayOperationalStateT &&value)
AWS_STORAGEGATEWAY_API GatewayInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
GatewayInfo & WithSoftwareVersion(SoftwareVersionT &&value)
HostEnvironment GetHostEnvironment() const
const Aws::String & GetGatewayName() const
bool Ec2InstanceRegionHasBeenSet() const
bool DeprecationDateHasBeenSet() const
bool HostEnvironmentIdHasBeenSet() const
bool SoftwareVersionHasBeenSet() const
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
GatewayInfo & WithGatewayARN(GatewayARNT &&value)
void SetGatewayType(GatewayTypeT &&value)
bool GatewayTypeHasBeenSet() const
void SetHostEnvironmentId(HostEnvironmentIdT &&value)
void SetDeprecationDate(DeprecationDateT &&value)
void SetSoftwareVersion(SoftwareVersionT &&value)
const Aws::String & GetGatewayARN() const
GatewayInfo & WithDeprecationDate(DeprecationDateT &&value)
GatewayInfo & WithGatewayType(GatewayTypeT &&value)
const Aws::String & GetEc2InstanceId() const
const Aws::String & GetSoftwareVersion() const
void SetGatewayARN(GatewayARNT &&value)
const Aws::String & GetEc2InstanceRegion() const
const Aws::String & GetGatewayType() const
void SetEc2InstanceRegion(Ec2InstanceRegionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue