AWS SDK for C++  1.9.159
AWS SDK for C++
DescribeInstanceResult.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 Connect
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Instance& GetInstance() const{ return m_instance; }
39 
43  inline void SetInstance(const Instance& value) { m_instance = value; }
44 
48  inline void SetInstance(Instance&& value) { m_instance = std::move(value); }
49 
53  inline DescribeInstanceResult& WithInstance(const Instance& value) { SetInstance(value); return *this;}
54 
58  inline DescribeInstanceResult& WithInstance(Instance&& value) { SetInstance(std::move(value)); return *this;}
59 
60  private:
61 
62  Instance m_instance;
63  };
64 
65 } // namespace Model
66 } // namespace Connect
67 } // namespace Aws
Aws::Connect::Model::DescribeInstanceResult::operator=
DescribeInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::DescribeInstanceResult::DescribeInstanceResult
DescribeInstanceResult()
Aws::Connect::Model::DescribeInstanceResult::WithInstance
DescribeInstanceResult & WithInstance(Instance &&value)
Definition: DescribeInstanceResult.h:58
Aws::Connect::Model::DescribeInstanceResult::SetInstance
void SetInstance(Instance &&value)
Definition: DescribeInstanceResult.h:48
Aws::Connect::Model::Instance
Definition: Instance.h:36
Aws::Connect::Model::DescribeInstanceResult
Definition: DescribeInstanceResult.h:28
Aws::Connect::Model::DescribeInstanceResult::WithInstance
DescribeInstanceResult & WithInstance(const Instance &value)
Definition: DescribeInstanceResult.h:53
Aws::Connect::Model::DescribeInstanceResult::SetInstance
void SetInstance(const Instance &value)
Definition: DescribeInstanceResult.h:43
Instance.h
Aws::Connect::Model::DescribeInstanceResult::GetInstance
const Instance & GetInstance() const
Definition: DescribeInstanceResult.h:38
Aws::Connect::Model::DescribeInstanceResult::DescribeInstanceResult
DescribeInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h