AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetHostResult.h
1
6#pragma once
7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeconnections/model/ProviderType.h>
10#include <aws/codeconnections/model/VpcConfiguration.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 CodeConnections
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CODECONNECTIONS_API GetHostResult();
35
36
38
41 inline const Aws::String& GetName() const{ return m_name; }
42 inline void SetName(const Aws::String& value) { m_name = value; }
43 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
44 inline void SetName(const char* value) { m_name.assign(value); }
45 inline GetHostResult& WithName(const Aws::String& value) { SetName(value); return *this;}
46 inline GetHostResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
47 inline GetHostResult& WithName(const char* value) { SetName(value); return *this;}
49
51
54 inline const Aws::String& GetStatus() const{ return m_status; }
55 inline void SetStatus(const Aws::String& value) { m_status = value; }
56 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
57 inline void SetStatus(const char* value) { m_status.assign(value); }
58 inline GetHostResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
59 inline GetHostResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
60 inline GetHostResult& WithStatus(const char* value) { SetStatus(value); return *this;}
62
64
68 inline const ProviderType& GetProviderType() const{ return m_providerType; }
69 inline void SetProviderType(const ProviderType& value) { m_providerType = value; }
70 inline void SetProviderType(ProviderType&& value) { m_providerType = std::move(value); }
71 inline GetHostResult& WithProviderType(const ProviderType& value) { SetProviderType(value); return *this;}
72 inline GetHostResult& WithProviderType(ProviderType&& value) { SetProviderType(std::move(value)); return *this;}
74
76
79 inline const Aws::String& GetProviderEndpoint() const{ return m_providerEndpoint; }
80 inline void SetProviderEndpoint(const Aws::String& value) { m_providerEndpoint = value; }
81 inline void SetProviderEndpoint(Aws::String&& value) { m_providerEndpoint = std::move(value); }
82 inline void SetProviderEndpoint(const char* value) { m_providerEndpoint.assign(value); }
83 inline GetHostResult& WithProviderEndpoint(const Aws::String& value) { SetProviderEndpoint(value); return *this;}
84 inline GetHostResult& WithProviderEndpoint(Aws::String&& value) { SetProviderEndpoint(std::move(value)); return *this;}
85 inline GetHostResult& WithProviderEndpoint(const char* value) { SetProviderEndpoint(value); return *this;}
87
89
92 inline const VpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
93 inline void SetVpcConfiguration(const VpcConfiguration& value) { m_vpcConfiguration = value; }
94 inline void SetVpcConfiguration(VpcConfiguration&& value) { m_vpcConfiguration = std::move(value); }
95 inline GetHostResult& WithVpcConfiguration(const VpcConfiguration& value) { SetVpcConfiguration(value); return *this;}
96 inline GetHostResult& WithVpcConfiguration(VpcConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;}
98
100
101 inline const Aws::String& GetRequestId() const{ return m_requestId; }
102 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
103 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
104 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
105 inline GetHostResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
106 inline GetHostResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 inline GetHostResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
109 private:
110
111 Aws::String m_name;
112
113 Aws::String m_status;
114
115 ProviderType m_providerType;
116
117 Aws::String m_providerEndpoint;
118
119 VpcConfiguration m_vpcConfiguration;
120
121 Aws::String m_requestId;
122 };
123
124} // namespace Model
125} // namespace CodeConnections
126} // namespace Aws
void SetProviderType(const ProviderType &value)
const VpcConfiguration & GetVpcConfiguration() const
void SetProviderType(ProviderType &&value)
GetHostResult & WithRequestId(const char *value)
GetHostResult & WithStatus(const Aws::String &value)
void SetStatus(const Aws::String &value)
void SetProviderEndpoint(const Aws::String &value)
void SetVpcConfiguration(const VpcConfiguration &value)
void SetProviderEndpoint(Aws::String &&value)
AWS_CODECONNECTIONS_API GetHostResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetHostResult & WithProviderEndpoint(const Aws::String &value)
const ProviderType & GetProviderType() const
void SetName(const Aws::String &value)
GetHostResult & WithVpcConfiguration(const VpcConfiguration &value)
GetHostResult & WithVpcConfiguration(VpcConfiguration &&value)
GetHostResult & WithName(Aws::String &&value)
void SetProviderEndpoint(const char *value)
const Aws::String & GetStatus() const
GetHostResult & WithRequestId(Aws::String &&value)
GetHostResult & WithName(const Aws::String &value)
const Aws::String & GetProviderEndpoint() const
GetHostResult & WithRequestId(const Aws::String &value)
GetHostResult & WithStatus(const char *value)
void SetVpcConfiguration(VpcConfiguration &&value)
GetHostResult & WithName(const char *value)
const Aws::String & GetRequestId() const
const Aws::String & GetName() const
GetHostResult & WithProviderEndpoint(Aws::String &&value)
AWS_CODECONNECTIONS_API GetHostResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetHostResult & WithProviderType(ProviderType &&value)
GetHostResult & WithStatus(Aws::String &&value)
GetHostResult & WithProviderEndpoint(const char *value)
AWS_CODECONNECTIONS_API GetHostResult()
GetHostResult & WithProviderType(const ProviderType &value)
void SetRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue