7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicediscovery/model/Instance.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
24namespace ServiceDiscovery
44 template<
typename ResourceOwnerT = Aws::String>
45 void SetResourceOwner(ResourceOwnerT&& value) { m_resourceOwnerHasBeenSet =
true; m_resourceOwner = std::forward<ResourceOwnerT>(value); }
46 template<
typename ResourceOwnerT = Aws::String>
55 template<
typename InstanceT = Instance>
56 void SetInstance(InstanceT&& value) { m_instanceHasBeenSet =
true; m_instance = std::forward<InstanceT>(value); }
57 template<
typename InstanceT = Instance>
64 template<
typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
66 template<
typename RequestIdT = Aws::String>
72 bool m_resourceOwnerHasBeenSet =
false;
75 bool m_instanceHasBeenSet =
false;
78 bool m_requestIdHasBeenSet =
false;
const Instance & GetInstance() const
void SetRequestId(RequestIdT &&value)
AWS_SERVICEDISCOVERY_API GetInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetResourceOwner() const
void SetInstance(InstanceT &&value)
GetInstanceResult & WithResourceOwner(ResourceOwnerT &&value)
AWS_SERVICEDISCOVERY_API GetInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetInstanceResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_SERVICEDISCOVERY_API GetInstanceResult()=default
void SetResourceOwner(ResourceOwnerT &&value)
GetInstanceResult & WithInstance(InstanceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue