7#include <aws/apiportal/APIPortal_EXPORTS.h>
8#include <aws/apiportal/model/HttpMethod.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
41 template <
typename ResourceArnT = Aws::String>
43 m_resourceArnHasBeenSet =
true;
44 m_resourceArn = std::forward<ResourceArnT>(value);
46 template <
typename ResourceArnT = Aws::String>
60 m_methodHasBeenSet =
true;
75 template <
typename HostnameT = Aws::String>
77 m_hostnameHasBeenSet =
true;
78 m_hostname = std::forward<HostnameT>(value);
80 template <
typename HostnameT = Aws::String>
91 inline int GetPort()
const {
return m_port; }
94 m_portHasBeenSet =
true;
109 template <
typename PathT = Aws::String>
111 m_pathHasBeenSet =
true;
112 m_path = std::forward<PathT>(value);
114 template <
typename PathT = Aws::String>
116 SetPath(std::forward<PathT>(value));
130 bool m_resourceArnHasBeenSet =
false;
131 bool m_methodHasBeenSet =
false;
132 bool m_hostnameHasBeenSet =
false;
133 bool m_portHasBeenSet =
false;
134 bool m_pathHasBeenSet =
false;
AWS_APIPORTAL_API ApiSignature & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPath() const
void SetMethod(HttpMethod value)
bool PathHasBeenSet() const
AWS_APIPORTAL_API ApiSignature(Aws::Utils::Json::JsonView jsonValue)
ApiSignature & WithPort(int value)
bool MethodHasBeenSet() const
const Aws::String & GetResourceArn() const
void SetHostname(HostnameT &&value)
bool ResourceArnHasBeenSet() const
bool PortHasBeenSet() const
AWS_APIPORTAL_API ApiSignature()=default
void SetResourceArn(ResourceArnT &&value)
ApiSignature & WithPath(PathT &&value)
const Aws::String & GetHostname() const
HttpMethod GetMethod() const
ApiSignature & WithMethod(HttpMethod value)
ApiSignature & WithResourceArn(ResourceArnT &&value)
bool HostnameHasBeenSet() const
void SetPath(PathT &&value)
ApiSignature & WithHostname(HostnameT &&value)
AWS_APIPORTAL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue