AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetHostResult.h
1
6#pragma once
7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codestar-connections/model/ProviderType.h>
10#include <aws/codestar-connections/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 CodeStarconnections
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CODESTARCONNECTIONS_API GetHostResult() = default;
35
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 template<typename NameT = Aws::String>
43 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
44 template<typename NameT = Aws::String>
45 GetHostResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetStatus() const { return m_status; }
53 template<typename StatusT = Aws::String>
54 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
55 template<typename StatusT = Aws::String>
56 GetHostResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
58
60
64 inline ProviderType GetProviderType() const { return m_providerType; }
65 inline void SetProviderType(ProviderType value) { m_providerTypeHasBeenSet = true; m_providerType = value; }
66 inline GetHostResult& WithProviderType(ProviderType value) { SetProviderType(value); return *this;}
68
70
73 inline const Aws::String& GetProviderEndpoint() const { return m_providerEndpoint; }
74 template<typename ProviderEndpointT = Aws::String>
75 void SetProviderEndpoint(ProviderEndpointT&& value) { m_providerEndpointHasBeenSet = true; m_providerEndpoint = std::forward<ProviderEndpointT>(value); }
76 template<typename ProviderEndpointT = Aws::String>
77 GetHostResult& WithProviderEndpoint(ProviderEndpointT&& value) { SetProviderEndpoint(std::forward<ProviderEndpointT>(value)); return *this;}
79
81
84 inline const VpcConfiguration& GetVpcConfiguration() const { return m_vpcConfiguration; }
85 template<typename VpcConfigurationT = VpcConfiguration>
86 void SetVpcConfiguration(VpcConfigurationT&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::forward<VpcConfigurationT>(value); }
87 template<typename VpcConfigurationT = VpcConfiguration>
88 GetHostResult& WithVpcConfiguration(VpcConfigurationT&& value) { SetVpcConfiguration(std::forward<VpcConfigurationT>(value)); return *this;}
90
92
93 inline const Aws::String& GetRequestId() const { return m_requestId; }
94 template<typename RequestIdT = Aws::String>
95 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
96 template<typename RequestIdT = Aws::String>
97 GetHostResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
99 private:
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
104 Aws::String m_status;
105 bool m_statusHasBeenSet = false;
106
107 ProviderType m_providerType{ProviderType::NOT_SET};
108 bool m_providerTypeHasBeenSet = false;
109
110 Aws::String m_providerEndpoint;
111 bool m_providerEndpointHasBeenSet = false;
112
113 VpcConfiguration m_vpcConfiguration;
114 bool m_vpcConfigurationHasBeenSet = false;
115
116 Aws::String m_requestId;
117 bool m_requestIdHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace CodeStarconnections
122} // namespace Aws
GetHostResult & WithRequestId(RequestIdT &&value)
void SetProviderEndpoint(ProviderEndpointT &&value)
AWS_CODESTARCONNECTIONS_API GetHostResult()=default
AWS_CODESTARCONNECTIONS_API GetHostResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetHostResult & WithProviderEndpoint(ProviderEndpointT &&value)
GetHostResult & WithName(NameT &&value)
const Aws::String & GetProviderEndpoint() const
AWS_CODESTARCONNECTIONS_API GetHostResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetHostResult & WithStatus(StatusT &&value)
const VpcConfiguration & GetVpcConfiguration() const
GetHostResult & WithProviderType(ProviderType value)
void SetVpcConfiguration(VpcConfigurationT &&value)
GetHostResult & WithVpcConfiguration(VpcConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue