AWS SDK for C++  1.9.16
AWS SDK for C++
VirtualServiceSpec.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AppMesh
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const VirtualServiceProvider& GetProvider() const{ return m_provider; }
46 
51  inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
52 
57  inline void SetProvider(const VirtualServiceProvider& value) { m_providerHasBeenSet = true; m_provider = value; }
58 
63  inline void SetProvider(VirtualServiceProvider&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); }
64 
69  inline VirtualServiceSpec& WithProvider(const VirtualServiceProvider& value) { SetProvider(value); return *this;}
70 
75  inline VirtualServiceSpec& WithProvider(VirtualServiceProvider&& value) { SetProvider(std::move(value)); return *this;}
76 
77  private:
78 
79  VirtualServiceProvider m_provider;
80  bool m_providerHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace AppMesh
85 } // namespace Aws
VirtualServiceProvider.h
Aws::AppMesh::Model::VirtualServiceSpec::ProviderHasBeenSet
bool ProviderHasBeenSet() const
Definition: VirtualServiceSpec.h:51
Aws::AppMesh::Model::VirtualServiceSpec::VirtualServiceSpec
VirtualServiceSpec(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualServiceSpec::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualServiceSpec::WithProvider
VirtualServiceSpec & WithProvider(const VirtualServiceProvider &value)
Definition: VirtualServiceSpec.h:69
Aws::AppMesh::Model::VirtualServiceSpec::operator=
VirtualServiceSpec & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualServiceProvider
Definition: VirtualServiceProvider.h:34
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::VirtualServiceSpec::GetProvider
const VirtualServiceProvider & GetProvider() const
Definition: VirtualServiceSpec.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::VirtualServiceSpec::SetProvider
void SetProvider(VirtualServiceProvider &&value)
Definition: VirtualServiceSpec.h:63
Aws::AppMesh::Model::VirtualServiceSpec
Definition: VirtualServiceSpec.h:33
Aws::AppMesh::Model::VirtualServiceSpec::SetProvider
void SetProvider(const VirtualServiceProvider &value)
Definition: VirtualServiceSpec.h:57
Aws::AppMesh::Model::VirtualServiceSpec::VirtualServiceSpec
VirtualServiceSpec()
Aws::AppMesh::Model::VirtualServiceSpec::WithProvider
VirtualServiceSpec & WithProvider(VirtualServiceProvider &&value)
Definition: VirtualServiceSpec.h:75
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28