AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyClientPropertiesRequest.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/WorkSpacesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workspaces/model/ClientProperties.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WorkSpaces
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WORKSPACES_API ModifyClientPropertiesRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ModifyClientProperties"; }
32
33 AWS_WORKSPACES_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
43 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
44 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
45 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
46 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
47 inline ModifyClientPropertiesRequest& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
48 inline ModifyClientPropertiesRequest& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
49 inline ModifyClientPropertiesRequest& WithResourceId(const char* value) { SetResourceId(value); return *this;}
51
53
56 inline const ClientProperties& GetClientProperties() const{ return m_clientProperties; }
57 inline bool ClientPropertiesHasBeenSet() const { return m_clientPropertiesHasBeenSet; }
58 inline void SetClientProperties(const ClientProperties& value) { m_clientPropertiesHasBeenSet = true; m_clientProperties = value; }
59 inline void SetClientProperties(ClientProperties&& value) { m_clientPropertiesHasBeenSet = true; m_clientProperties = std::move(value); }
63 private:
64
65 Aws::String m_resourceId;
66 bool m_resourceIdHasBeenSet = false;
67
68 ClientProperties m_clientProperties;
69 bool m_clientPropertiesHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace WorkSpaces
74} // namespace Aws
ModifyClientPropertiesRequest & WithResourceId(Aws::String &&value)
ModifyClientPropertiesRequest & WithResourceId(const Aws::String &value)
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ModifyClientPropertiesRequest & WithClientProperties(ClientProperties &&value)
AWS_WORKSPACES_API Aws::String SerializePayload() const override
ModifyClientPropertiesRequest & WithClientProperties(const ClientProperties &value)
ModifyClientPropertiesRequest & WithResourceId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String