AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeInstanceResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/Instance.h>
9#include <aws/connect/model/ReplicationConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Connect
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CONNECT_API DescribeInstanceResult();
35
36
38
41 inline const Instance& GetInstance() const{ return m_instance; }
42 inline void SetInstance(const Instance& value) { m_instance = value; }
43 inline void SetInstance(Instance&& value) { m_instance = std::move(value); }
44 inline DescribeInstanceResult& WithInstance(const Instance& value) { SetInstance(value); return *this;}
45 inline DescribeInstanceResult& WithInstance(Instance&& value) { SetInstance(std::move(value)); return *this;}
47
49
59 inline const ReplicationConfiguration& GetReplicationConfiguration() const{ return m_replicationConfiguration; }
60 inline void SetReplicationConfiguration(const ReplicationConfiguration& value) { m_replicationConfiguration = value; }
61 inline void SetReplicationConfiguration(ReplicationConfiguration&& value) { m_replicationConfiguration = std::move(value); }
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline DescribeInstanceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline DescribeInstanceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline DescribeInstanceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 Instance m_instance;
79
80 ReplicationConfiguration m_replicationConfiguration;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace Connect
87} // namespace Aws
DescribeInstanceResult & WithReplicationConfiguration(const ReplicationConfiguration &value)
DescribeInstanceResult & WithRequestId(const char *value)
const ReplicationConfiguration & GetReplicationConfiguration() const
DescribeInstanceResult & WithInstance(const Instance &value)
void SetReplicationConfiguration(ReplicationConfiguration &&value)
DescribeInstanceResult & WithInstance(Instance &&value)
AWS_CONNECT_API DescribeInstanceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInstanceResult & WithRequestId(const Aws::String &value)
AWS_CONNECT_API DescribeInstanceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInstanceResult & WithRequestId(Aws::String &&value)
void SetReplicationConfiguration(const ReplicationConfiguration &value)
DescribeInstanceResult & WithReplicationConfiguration(ReplicationConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue