7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename IdT = Aws::String>
47 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
48 template<
typename IdT = Aws::String>
58 template<
typename ServiceT = Aws::String>
59 void SetService(ServiceT&& value) { m_serviceHasBeenSet =
true; m_service = std::forward<ServiceT>(value); }
60 template<
typename ServiceT = Aws::String>
66 bool m_idHasBeenSet =
false;
69 bool m_serviceHasBeenSet =
false;
AWS_LIGHTSAIL_API DestinationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetService() const
DestinationInfo & WithService(ServiceT &&value)
void SetService(ServiceT &&value)
const Aws::String & GetId() const
AWS_LIGHTSAIL_API DestinationInfo()=default
bool ServiceHasBeenSet() const
DestinationInfo & WithId(IdT &&value)
bool IdHasBeenSet() const
AWS_LIGHTSAIL_API DestinationInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue