7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
9#include <aws/servicediscovery/model/Instance.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
22namespace ServiceDiscovery {
38 template <
typename ResourceOwnerT = Aws::String>
40 m_resourceOwnerHasBeenSet =
true;
41 m_resourceOwner = std::forward<ResourceOwnerT>(value);
43 template <
typename ResourceOwnerT = Aws::String>
55 template <
typename InstanceT = Instance>
57 m_instanceHasBeenSet =
true;
58 m_instance = std::forward<InstanceT>(value);
60 template <
typename InstanceT = Instance>
70 template <
typename RequestIdT = Aws::String>
72 m_requestIdHasBeenSet =
true;
73 m_requestId = std::forward<RequestIdT>(value);
75 template <
typename RequestIdT = Aws::String>
87 bool m_resourceOwnerHasBeenSet =
false;
88 bool m_instanceHasBeenSet =
false;
89 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