AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfirmProductInstanceResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
29 {
30 public:
34
35
37
42 inline bool GetReturn() const{ return m_return; }
43 inline void SetReturn(bool value) { m_return = value; }
44 inline ConfirmProductInstanceResponse& WithReturn(bool value) { SetReturn(value); return *this;}
46
48
52 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
53 inline void SetOwnerId(const Aws::String& value) { m_ownerId = value; }
54 inline void SetOwnerId(Aws::String&& value) { m_ownerId = std::move(value); }
55 inline void SetOwnerId(const char* value) { m_ownerId.assign(value); }
56 inline ConfirmProductInstanceResponse& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
57 inline ConfirmProductInstanceResponse& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
58 inline ConfirmProductInstanceResponse& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
60
62
63 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
64 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
65 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
69 private:
70
71 bool m_return;
72
73 Aws::String m_ownerId;
74
75 ResponseMetadata m_responseMetadata;
76 };
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
ConfirmProductInstanceResponse & WithOwnerId(Aws::String &&value)
ConfirmProductInstanceResponse & WithOwnerId(const Aws::String &value)
AWS_EC2_API ConfirmProductInstanceResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_EC2_API ConfirmProductInstanceResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ConfirmProductInstanceResponse & WithResponseMetadata(ResponseMetadata &&value)
ConfirmProductInstanceResponse & WithOwnerId(const char *value)
ConfirmProductInstanceResponse & WithResponseMetadata(const ResponseMetadata &value)
ConfirmProductInstanceResponse & WithReturn(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument