AWS SDK for C++  1.9.104
AWS SDK for C++
DeregisterInstanceResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace ServiceDiscovery
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
40  inline const Aws::String& GetOperationId() const{ return m_operationId; }
41 
47  inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
48 
54  inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
55 
61  inline void SetOperationId(const char* value) { m_operationId.assign(value); }
62 
68  inline DeregisterInstanceResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
69 
75  inline DeregisterInstanceResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
76 
82  inline DeregisterInstanceResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
83 
84  private:
85 
86  Aws::String m_operationId;
87  };
88 
89 } // namespace Model
90 } // namespace ServiceDiscovery
91 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_SERVICEDISCOVERY_API
#define AWS_SERVICEDISCOVERY_API
Definition: ServiceDiscovery_EXPORTS.h:28
Aws::ServiceDiscovery::Model::DeregisterInstanceResult::SetOperationId
void SetOperationId(const Aws::String &value)
Definition: DeregisterInstanceResult.h:47
ServiceDiscovery_EXPORTS.h
Aws::ServiceDiscovery::Model::DeregisterInstanceResult::GetOperationId
const Aws::String & GetOperationId() const
Definition: DeregisterInstanceResult.h:40
Aws::ServiceDiscovery::Model::DeregisterInstanceResult::DeregisterInstanceResult
DeregisterInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ServiceDiscovery::Model::DeregisterInstanceResult::WithOperationId
DeregisterInstanceResult & WithOperationId(const Aws::String &value)
Definition: DeregisterInstanceResult.h:68
Aws::ServiceDiscovery::Model::DeregisterInstanceResult
Definition: DeregisterInstanceResult.h:28
AWSString.h
Aws::ServiceDiscovery::Model::DeregisterInstanceResult::WithOperationId
DeregisterInstanceResult & WithOperationId(Aws::String &&value)
Definition: DeregisterInstanceResult.h:75
Aws::ServiceDiscovery::Model::DeregisterInstanceResult::SetOperationId
void SetOperationId(Aws::String &&value)
Definition: DeregisterInstanceResult.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceDiscovery::Model::DeregisterInstanceResult::DeregisterInstanceResult
DeregisterInstanceResult()
Aws::ServiceDiscovery::Model::DeregisterInstanceResult::operator=
DeregisterInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceDiscovery::Model::DeregisterInstanceResult::SetOperationId
void SetOperationId(const char *value)
Definition: DeregisterInstanceResult.h:61
Aws::ServiceDiscovery::Model::DeregisterInstanceResult::WithOperationId
DeregisterInstanceResult & WithOperationId(const char *value)
Definition: DeregisterInstanceResult.h:82