AWS SDK for C++  1.9.108
AWS SDK for C++
CancelInstanceRefreshResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace AutoScaling
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetInstanceRefreshId() const{ return m_instanceRefreshId; }
40 
44  inline void SetInstanceRefreshId(const Aws::String& value) { m_instanceRefreshId = value; }
45 
49  inline void SetInstanceRefreshId(Aws::String&& value) { m_instanceRefreshId = std::move(value); }
50 
54  inline void SetInstanceRefreshId(const char* value) { m_instanceRefreshId.assign(value); }
55 
59  inline CancelInstanceRefreshResult& WithInstanceRefreshId(const Aws::String& value) { SetInstanceRefreshId(value); return *this;}
60 
64  inline CancelInstanceRefreshResult& WithInstanceRefreshId(Aws::String&& value) { SetInstanceRefreshId(std::move(value)); return *this;}
65 
69  inline CancelInstanceRefreshResult& WithInstanceRefreshId(const char* value) { SetInstanceRefreshId(value); return *this;}
70 
71 
72 
73  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
74 
75 
76  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
77 
78 
79  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
80 
81 
82  inline CancelInstanceRefreshResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
83 
84 
85  inline CancelInstanceRefreshResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
86 
87  private:
88 
89  Aws::String m_instanceRefreshId;
90 
91  ResponseMetadata m_responseMetadata;
92  };
93 
94 } // namespace Model
95 } // namespace AutoScaling
96 } // namespace Aws
Aws::AutoScaling::Model::CancelInstanceRefreshResult::WithResponseMetadata
CancelInstanceRefreshResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: CancelInstanceRefreshResult.h:85
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AutoScaling::Model::CancelInstanceRefreshResult::WithInstanceRefreshId
CancelInstanceRefreshResult & WithInstanceRefreshId(const char *value)
Definition: CancelInstanceRefreshResult.h:69
Aws::AutoScaling::Model::CancelInstanceRefreshResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CancelInstanceRefreshResult.h:79
Aws::AutoScaling::Model::CancelInstanceRefreshResult::GetInstanceRefreshId
const Aws::String & GetInstanceRefreshId() const
Definition: CancelInstanceRefreshResult.h:39
Aws::AutoScaling::Model::CancelInstanceRefreshResult::WithInstanceRefreshId
CancelInstanceRefreshResult & WithInstanceRefreshId(const Aws::String &value)
Definition: CancelInstanceRefreshResult.h:59
Aws::AutoScaling::Model::CancelInstanceRefreshResult::operator=
CancelInstanceRefreshResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AutoScaling::Model::CancelInstanceRefreshResult::WithResponseMetadata
CancelInstanceRefreshResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: CancelInstanceRefreshResult.h:82
Aws::AutoScaling::Model::CancelInstanceRefreshResult::SetInstanceRefreshId
void SetInstanceRefreshId(Aws::String &&value)
Definition: CancelInstanceRefreshResult.h:49
Aws::AutoScaling::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Aws::AutoScaling::Model::CancelInstanceRefreshResult
Definition: CancelInstanceRefreshResult.h:29
Aws::AutoScaling::Model::CancelInstanceRefreshResult::WithInstanceRefreshId
CancelInstanceRefreshResult & WithInstanceRefreshId(Aws::String &&value)
Definition: CancelInstanceRefreshResult.h:64
AWSString.h
Aws::AutoScaling::Model::CancelInstanceRefreshResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CancelInstanceRefreshResult.h:76
Aws::AutoScaling::Model::CancelInstanceRefreshResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CancelInstanceRefreshResult.h:73
AutoScaling_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::AutoScaling::Model::CancelInstanceRefreshResult::SetInstanceRefreshId
void SetInstanceRefreshId(const char *value)
Definition: CancelInstanceRefreshResult.h:54
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::AutoScaling::Model::CancelInstanceRefreshResult::CancelInstanceRefreshResult
CancelInstanceRefreshResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AutoScaling::Model::CancelInstanceRefreshResult::CancelInstanceRefreshResult
CancelInstanceRefreshResult()
Aws::AutoScaling::Model::CancelInstanceRefreshResult::SetInstanceRefreshId
void SetInstanceRefreshId(const Aws::String &value)
Definition: CancelInstanceRefreshResult.h:44