AWS SDK for C++  1.9.153
AWS SDK for C++
BackendDefaults.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 
44  inline const ClientPolicy& GetClientPolicy() const{ return m_clientPolicy; }
45 
49  inline bool ClientPolicyHasBeenSet() const { return m_clientPolicyHasBeenSet; }
50 
54  inline void SetClientPolicy(const ClientPolicy& value) { m_clientPolicyHasBeenSet = true; m_clientPolicy = value; }
55 
59  inline void SetClientPolicy(ClientPolicy&& value) { m_clientPolicyHasBeenSet = true; m_clientPolicy = std::move(value); }
60 
64  inline BackendDefaults& WithClientPolicy(const ClientPolicy& value) { SetClientPolicy(value); return *this;}
65 
69  inline BackendDefaults& WithClientPolicy(ClientPolicy&& value) { SetClientPolicy(std::move(value)); return *this;}
70 
71  private:
72 
73  ClientPolicy m_clientPolicy;
74  bool m_clientPolicyHasBeenSet;
75  };
76 
77 } // namespace Model
78 } // namespace AppMesh
79 } // namespace Aws
Aws::AppMesh::Model::ClientPolicy
Definition: ClientPolicy.h:32
Aws::AppMesh::Model::BackendDefaults::GetClientPolicy
const ClientPolicy & GetClientPolicy() const
Definition: BackendDefaults.h:44
ClientPolicy.h
Aws::AppMesh::Model::BackendDefaults::WithClientPolicy
BackendDefaults & WithClientPolicy(ClientPolicy &&value)
Definition: BackendDefaults.h:69
Aws::AppMesh::Model::BackendDefaults::SetClientPolicy
void SetClientPolicy(ClientPolicy &&value)
Definition: BackendDefaults.h:59
Aws::AppMesh::Model::BackendDefaults::operator=
BackendDefaults & operator=(Aws::Utils::Json::JsonView jsonValue)
AppMesh_EXPORTS.h
Aws::AppMesh::Model::BackendDefaults::BackendDefaults
BackendDefaults(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::BackendDefaults::SetClientPolicy
void SetClientPolicy(const ClientPolicy &value)
Definition: BackendDefaults.h:54
Aws::AppMesh::Model::BackendDefaults::ClientPolicyHasBeenSet
bool ClientPolicyHasBeenSet() const
Definition: BackendDefaults.h:49
Aws::AppMesh::Model::BackendDefaults::WithClientPolicy
BackendDefaults & WithClientPolicy(const ClientPolicy &value)
Definition: BackendDefaults.h:64
Aws::AppMesh::Model::BackendDefaults
Definition: BackendDefaults.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::BackendDefaults::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::BackendDefaults::BackendDefaults
BackendDefaults()