AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateWorkspaceAliasRequest.h
1
6#pragma once
7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/PrometheusServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace PrometheusService
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_PROMETHEUSSERVICE_API UpdateWorkspaceAliasRequest();
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 "UpdateWorkspaceAlias"; }
36
37 AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override;
38
39
41
46 inline const Aws::String& GetAlias() const{ return m_alias; }
47 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
48 inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; }
49 inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
50 inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); }
51 inline UpdateWorkspaceAliasRequest& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
52 inline UpdateWorkspaceAliasRequest& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
53 inline UpdateWorkspaceAliasRequest& WithAlias(const char* value) { SetAlias(value); return *this;}
55
57
61 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
62 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
63 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
64 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
65 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
66 inline UpdateWorkspaceAliasRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
67 inline UpdateWorkspaceAliasRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
68 inline UpdateWorkspaceAliasRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
70
72
75 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
76 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
77 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
78 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
79 inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
80 inline UpdateWorkspaceAliasRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
81 inline UpdateWorkspaceAliasRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
82 inline UpdateWorkspaceAliasRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
84 private:
85
86 Aws::String m_alias;
87 bool m_aliasHasBeenSet = false;
88
89 Aws::String m_clientToken;
90 bool m_clientTokenHasBeenSet = false;
91
92 Aws::String m_workspaceId;
93 bool m_workspaceIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace PrometheusService
98} // namespace Aws
AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override
UpdateWorkspaceAliasRequest & WithAlias(const char *value)
UpdateWorkspaceAliasRequest & WithWorkspaceId(const Aws::String &value)
UpdateWorkspaceAliasRequest & WithClientToken(const Aws::String &value)
UpdateWorkspaceAliasRequest & WithClientToken(const char *value)
UpdateWorkspaceAliasRequest & WithAlias(Aws::String &&value)
UpdateWorkspaceAliasRequest & WithWorkspaceId(Aws::String &&value)
UpdateWorkspaceAliasRequest & WithClientToken(Aws::String &&value)
UpdateWorkspaceAliasRequest & WithWorkspaceId(const char *value)
UpdateWorkspaceAliasRequest & WithAlias(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String