AWS SDK for C++  1.9.19
AWS SDK for C++
UpdateVirtualServiceResult.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 AppMesh
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
43  inline const VirtualServiceData& GetVirtualService() const{ return m_virtualService; }
44 
48  inline void SetVirtualService(const VirtualServiceData& value) { m_virtualService = value; }
49 
53  inline void SetVirtualService(VirtualServiceData&& value) { m_virtualService = std::move(value); }
54 
58  inline UpdateVirtualServiceResult& WithVirtualService(const VirtualServiceData& value) { SetVirtualService(value); return *this;}
59 
63  inline UpdateVirtualServiceResult& WithVirtualService(VirtualServiceData&& value) { SetVirtualService(std::move(value)); return *this;}
64 
65  private:
66 
67  VirtualServiceData m_virtualService;
68  };
69 
70 } // namespace Model
71 } // namespace AppMesh
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppMesh::Model::UpdateVirtualServiceResult::WithVirtualService
UpdateVirtualServiceResult & WithVirtualService(const VirtualServiceData &value)
Definition: UpdateVirtualServiceResult.h:58
Aws::AppMesh::Model::UpdateVirtualServiceResult::SetVirtualService
void SetVirtualService(const VirtualServiceData &value)
Definition: UpdateVirtualServiceResult.h:48
Aws::AppMesh::Model::UpdateVirtualServiceResult::UpdateVirtualServiceResult
UpdateVirtualServiceResult()
AppMesh_EXPORTS.h
VirtualServiceData.h
Aws::AppMesh::Model::UpdateVirtualServiceResult::WithVirtualService
UpdateVirtualServiceResult & WithVirtualService(VirtualServiceData &&value)
Definition: UpdateVirtualServiceResult.h:63
Aws::AppMesh::Model::UpdateVirtualServiceResult::UpdateVirtualServiceResult
UpdateVirtualServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppMesh::Model::UpdateVirtualServiceResult::GetVirtualService
const VirtualServiceData & GetVirtualService() const
Definition: UpdateVirtualServiceResult.h:43
Aws::AppMesh::Model::UpdateVirtualServiceResult::operator=
UpdateVirtualServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualServiceData
Definition: VirtualServiceData.h:36
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::UpdateVirtualServiceResult::SetVirtualService
void SetVirtualService(VirtualServiceData &&value)
Definition: UpdateVirtualServiceResult.h:53
Aws::AppMesh::Model::UpdateVirtualServiceResult
Definition: UpdateVirtualServiceResult.h:33