7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm-sap/model/IpAddressMember.h>
51 inline void SetHostname(
const char* value) { m_hostnameHasBeenSet =
true; m_hostname.assign(value); }
65 inline void SetEc2InstanceId(
const char* value) { m_ec2InstanceIdHasBeenSet =
true; m_ec2InstanceId.assign(value); }
93 inline void SetOsVersion(
const char* value) { m_osVersionHasBeenSet =
true; m_osVersion.assign(value); }
101 bool m_hostnameHasBeenSet =
false;
104 bool m_ec2InstanceIdHasBeenSet =
false;
107 bool m_ipAddressesHasBeenSet =
false;
110 bool m_osVersionHasBeenSet =
false;
void SetOsVersion(Aws::String &&value)
void SetEc2InstanceId(const Aws::String &value)
bool Ec2InstanceIdHasBeenSet() const
AWS_SSMSAP_API AssociatedHost()
void SetOsVersion(const char *value)
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEc2InstanceId(Aws::String &&value)
AssociatedHost & WithEc2InstanceId(const Aws::String &value)
bool IpAddressesHasBeenSet() const
AWS_SSMSAP_API AssociatedHost(Aws::Utils::Json::JsonView jsonValue)
AssociatedHost & WithEc2InstanceId(const char *value)
void SetIpAddresses(Aws::Vector< IpAddressMember > &&value)
const Aws::String & GetOsVersion() const
bool OsVersionHasBeenSet() const
bool HostnameHasBeenSet() const
AssociatedHost & AddIpAddresses(const IpAddressMember &value)
AssociatedHost & WithIpAddresses(Aws::Vector< IpAddressMember > &&value)
void SetHostname(const Aws::String &value)
AssociatedHost & WithHostname(const Aws::String &value)
AssociatedHost & WithIpAddresses(const Aws::Vector< IpAddressMember > &value)
AssociatedHost & WithOsVersion(Aws::String &&value)
void SetIpAddresses(const Aws::Vector< IpAddressMember > &value)
const Aws::String & GetHostname() const
AssociatedHost & WithHostname(const char *value)
AssociatedHost & WithEc2InstanceId(Aws::String &&value)
AssociatedHost & WithHostname(Aws::String &&value)
void SetHostname(const char *value)
const Aws::Vector< IpAddressMember > & GetIpAddresses() const
AssociatedHost & AddIpAddresses(IpAddressMember &&value)
AssociatedHost & WithOsVersion(const Aws::String &value)
const Aws::String & GetEc2InstanceId() const
AssociatedHost & WithOsVersion(const char *value)
void SetHostname(Aws::String &&value)
void SetEc2InstanceId(const char *value)
void SetOsVersion(const Aws::String &value)
AWS_SSMSAP_API AssociatedHost & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue