7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/model/ResourceType.h>
10#include <aws/lightsail/model/RegionName.h>
11#include <aws/lightsail/model/OriginProtocolPolicyEnum.h>
55 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
107 inline void SetResponseTimeout(
int value) { m_responseTimeoutHasBeenSet =
true; m_responseTimeout = value; }
113 bool m_nameHasBeenSet =
false;
116 bool m_resourceTypeHasBeenSet =
false;
119 bool m_regionNameHasBeenSet =
false;
122 bool m_protocolPolicyHasBeenSet =
false;
124 int m_responseTimeout;
125 bool m_responseTimeoutHasBeenSet =
false;
int GetResponseTimeout() const
AWS_LIGHTSAIL_API Origin()
const RegionName & GetRegionName() const
bool ProtocolPolicyHasBeenSet() const
void SetRegionName(const RegionName &value)
void SetName(Aws::String &&value)
AWS_LIGHTSAIL_API Origin(Aws::Utils::Json::JsonView jsonValue)
void SetResourceType(const ResourceType &value)
void SetName(const char *value)
bool NameHasBeenSet() const
Origin & WithResponseTimeout(int value)
void SetName(const Aws::String &value)
void SetRegionName(RegionName &&value)
bool ResponseTimeoutHasBeenSet() const
Origin & WithProtocolPolicy(OriginProtocolPolicyEnum &&value)
bool RegionNameHasBeenSet() const
Origin & WithResourceType(const ResourceType &value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
Origin & WithResourceType(ResourceType &&value)
Origin & WithName(const Aws::String &value)
void SetResponseTimeout(int value)
Origin & WithName(const char *value)
Origin & WithProtocolPolicy(const OriginProtocolPolicyEnum &value)
AWS_LIGHTSAIL_API Origin & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProtocolPolicy(OriginProtocolPolicyEnum &&value)
void SetProtocolPolicy(const OriginProtocolPolicyEnum &value)
const OriginProtocolPolicyEnum & GetProtocolPolicy() const
bool ResourceTypeHasBeenSet() const
void SetResourceType(ResourceType &&value)
Origin & WithName(Aws::String &&value)
const ResourceType & GetResourceType() const
Origin & WithRegionName(RegionName &&value)
const Aws::String & GetName() const
Origin & WithRegionName(const RegionName &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue