AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateMeshRequest.h
1
6#pragma once
7#include <aws/appmesh/AppMesh_EXPORTS.h>
8#include <aws/appmesh/AppMeshRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appmesh/model/MeshSpec.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace AppMesh
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_APPMESH_API UpdateMeshRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateMesh"; }
36
37 AWS_APPMESH_API Aws::String SerializePayload() const override;
38
39
41
46 inline const Aws::String& GetClientToken() const { return m_clientToken; }
47 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
48 template<typename ClientTokenT = Aws::String>
49 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
50 template<typename ClientTokenT = Aws::String>
51 UpdateMeshRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
53
55
58 inline const Aws::String& GetMeshName() const { return m_meshName; }
59 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
60 template<typename MeshNameT = Aws::String>
61 void SetMeshName(MeshNameT&& value) { m_meshNameHasBeenSet = true; m_meshName = std::forward<MeshNameT>(value); }
62 template<typename MeshNameT = Aws::String>
63 UpdateMeshRequest& WithMeshName(MeshNameT&& value) { SetMeshName(std::forward<MeshNameT>(value)); return *this;}
65
67
70 inline const MeshSpec& GetSpec() const { return m_spec; }
71 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
72 template<typename SpecT = MeshSpec>
73 void SetSpec(SpecT&& value) { m_specHasBeenSet = true; m_spec = std::forward<SpecT>(value); }
74 template<typename SpecT = MeshSpec>
75 UpdateMeshRequest& WithSpec(SpecT&& value) { SetSpec(std::forward<SpecT>(value)); return *this;}
77 private:
78
80 bool m_clientTokenHasBeenSet = true;
81
82 Aws::String m_meshName;
83 bool m_meshNameHasBeenSet = false;
84
85 MeshSpec m_spec;
86 bool m_specHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace AppMesh
91} // namespace Aws
const Aws::String & GetClientToken() const
void SetClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
UpdateMeshRequest & WithMeshName(MeshNameT &&value)
AWS_APPMESH_API Aws::String SerializePayload() const override
const Aws::String & GetMeshName() const
AWS_APPMESH_API UpdateMeshRequest()=default
UpdateMeshRequest & WithClientToken(ClientTokenT &&value)
UpdateMeshRequest & WithSpec(SpecT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String