7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename UrlT = Aws::String>
61 void SetUrl(UrlT&& value) { m_urlHasBeenSet =
true; m_url = std::forward<UrlT>(value); }
62 template<
typename UrlT = Aws::String>
73 inline void SetIsPrimary(
bool value) { m_isPrimaryHasBeenSet =
true; m_isPrimary = value; }
79 bool m_nameHasBeenSet =
false;
82 bool m_urlHasBeenSet =
false;
84 bool m_isPrimary{
false};
85 bool m_isPrimaryHasBeenSet =
false;
const Aws::String & GetName() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
Session & WithIsPrimary(bool value)
AWS_LIGHTSAIL_API Session()=default
void SetUrl(UrlT &&value)
AWS_LIGHTSAIL_API Session(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
Session & WithName(NameT &&value)
bool IsPrimaryHasBeenSet() const
Session & WithUrl(UrlT &&value)
void SetIsPrimary(bool value)
bool GetIsPrimary() const
AWS_LIGHTSAIL_API Session & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool UrlHasBeenSet() const
const Aws::String & GetUrl() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue