AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
GetOnPremisesInstanceResult.h
Go to the documentation of this file.
1
6#pragma once
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CodeDeploy
24{
25namespace Model
26{
34 {
35 public:
39
40
44 inline const InstanceInfo& GetInstanceInfo() const{ return m_instanceInfo; }
45
49 inline void SetInstanceInfo(const InstanceInfo& value) { m_instanceInfo = value; }
50
54 inline void SetInstanceInfo(InstanceInfo&& value) { m_instanceInfo = std::move(value); }
55
59 inline GetOnPremisesInstanceResult& WithInstanceInfo(const InstanceInfo& value) { SetInstanceInfo(value); return *this;}
60
64 inline GetOnPremisesInstanceResult& WithInstanceInfo(InstanceInfo&& value) { SetInstanceInfo(std::move(value)); return *this;}
65
66 private:
67
68 InstanceInfo m_instanceInfo;
69 };
70
71} // namespace Model
72} // namespace CodeDeploy
73} // namespace Aws
#define AWS_CODEDEPLOY_API
AWS_CODEDEPLOY_API GetOnPremisesInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOnPremisesInstanceResult & WithInstanceInfo(const InstanceInfo &value)
AWS_CODEDEPLOY_API GetOnPremisesInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOnPremisesInstanceResult & WithInstanceInfo(InstanceInfo &&value)