AWS SDK for C++  1.9.104
AWS SDK for C++
GetInstanceAccessDetailsResult.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 Lightsail
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const InstanceAccessDetails& GetAccessDetails() const{ return m_accessDetails; }
40 
45  inline void SetAccessDetails(const InstanceAccessDetails& value) { m_accessDetails = value; }
46 
51  inline void SetAccessDetails(InstanceAccessDetails&& value) { m_accessDetails = std::move(value); }
52 
57  inline GetInstanceAccessDetailsResult& WithAccessDetails(const InstanceAccessDetails& value) { SetAccessDetails(value); return *this;}
58 
63  inline GetInstanceAccessDetailsResult& WithAccessDetails(InstanceAccessDetails&& value) { SetAccessDetails(std::move(value)); return *this;}
64 
65  private:
66 
67  InstanceAccessDetails m_accessDetails;
68  };
69 
70 } // namespace Model
71 } // namespace Lightsail
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetInstanceAccessDetailsResult::SetAccessDetails
void SetAccessDetails(const InstanceAccessDetails &value)
Definition: GetInstanceAccessDetailsResult.h:45
Aws::Lightsail::Model::GetInstanceAccessDetailsResult::GetAccessDetails
const InstanceAccessDetails & GetAccessDetails() const
Definition: GetInstanceAccessDetailsResult.h:39
Aws::Lightsail::Model::GetInstanceAccessDetailsResult::WithAccessDetails
GetInstanceAccessDetailsResult & WithAccessDetails(const InstanceAccessDetails &value)
Definition: GetInstanceAccessDetailsResult.h:57
Aws::Lightsail::Model::InstanceAccessDetails
Definition: InstanceAccessDetails.h:38
Aws::Lightsail::Model::GetInstanceAccessDetailsResult::GetInstanceAccessDetailsResult
GetInstanceAccessDetailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::GetInstanceAccessDetailsResult
Definition: GetInstanceAccessDetailsResult.h:28
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetInstanceAccessDetailsResult::WithAccessDetails
GetInstanceAccessDetailsResult & WithAccessDetails(InstanceAccessDetails &&value)
Definition: GetInstanceAccessDetailsResult.h:63
Aws::Lightsail::Model::GetInstanceAccessDetailsResult::GetInstanceAccessDetailsResult
GetInstanceAccessDetailsResult()
Aws::Lightsail::Model::GetInstanceAccessDetailsResult::SetAccessDetails
void SetAccessDetails(InstanceAccessDetails &&value)
Definition: GetInstanceAccessDetailsResult.h:51
Aws
Definition: AccessManagementClient.h:15
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
InstanceAccessDetails.h
Aws::Lightsail::Model::GetInstanceAccessDetailsResult::operator=
GetInstanceAccessDetailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)