AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
49 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
50 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
51 inline UpdateMeshRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
52 inline UpdateMeshRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
53 inline UpdateMeshRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
55
57
60 inline const Aws::String& GetMeshName() const{ return m_meshName; }
61 inline bool MeshNameHasBeenSet() const { return m_meshNameHasBeenSet; }
62 inline void SetMeshName(const Aws::String& value) { m_meshNameHasBeenSet = true; m_meshName = value; }
63 inline void SetMeshName(Aws::String&& value) { m_meshNameHasBeenSet = true; m_meshName = std::move(value); }
64 inline void SetMeshName(const char* value) { m_meshNameHasBeenSet = true; m_meshName.assign(value); }
65 inline UpdateMeshRequest& WithMeshName(const Aws::String& value) { SetMeshName(value); return *this;}
66 inline UpdateMeshRequest& WithMeshName(Aws::String&& value) { SetMeshName(std::move(value)); return *this;}
67 inline UpdateMeshRequest& WithMeshName(const char* value) { SetMeshName(value); return *this;}
69
71
74 inline const MeshSpec& GetSpec() const{ return m_spec; }
75 inline bool SpecHasBeenSet() const { return m_specHasBeenSet; }
76 inline void SetSpec(const MeshSpec& value) { m_specHasBeenSet = true; m_spec = value; }
77 inline void SetSpec(MeshSpec&& value) { m_specHasBeenSet = true; m_spec = std::move(value); }
78 inline UpdateMeshRequest& WithSpec(const MeshSpec& value) { SetSpec(value); return *this;}
79 inline UpdateMeshRequest& WithSpec(MeshSpec&& value) { SetSpec(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_clientToken;
84 bool m_clientTokenHasBeenSet = false;
85
86 Aws::String m_meshName;
87 bool m_meshNameHasBeenSet = false;
88
89 MeshSpec m_spec;
90 bool m_specHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace AppMesh
95} // namespace Aws
void SetMeshName(const Aws::String &value)
UpdateMeshRequest & WithClientToken(const Aws::String &value)
void SetSpec(const MeshSpec &value)
UpdateMeshRequest & WithClientToken(Aws::String &&value)
const Aws::String & GetClientToken() const
UpdateMeshRequest & WithMeshName(Aws::String &&value)
UpdateMeshRequest & WithClientToken(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateMeshRequest & WithMeshName(const char *value)
AWS_APPMESH_API Aws::String SerializePayload() const override
UpdateMeshRequest & WithMeshName(const Aws::String &value)
const Aws::String & GetMeshName() const
void SetClientToken(const Aws::String &value)
void SetClientToken(Aws::String &&value)
UpdateMeshRequest & WithSpec(MeshSpec &&value)
UpdateMeshRequest & WithSpec(const MeshSpec &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String