AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ModifyStreamingPropertiesRequest.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/StreamingProperties.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WorkSpaces
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WORKSPACES_API ModifyStreamingPropertiesRequest() = default;
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 "ModifyStreamingProperties"; }
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 template<typename ResourceIdT = Aws::String>
45 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::forward<ResourceIdT>(value); }
46 template<typename ResourceIdT = Aws::String>
47 ModifyStreamingPropertiesRequest& WithResourceId(ResourceIdT&& value) { SetResourceId(std::forward<ResourceIdT>(value)); return *this;}
49
51
54 inline const StreamingProperties& GetStreamingProperties() const { return m_streamingProperties; }
55 inline bool StreamingPropertiesHasBeenSet() const { return m_streamingPropertiesHasBeenSet; }
56 template<typename StreamingPropertiesT = StreamingProperties>
57 void SetStreamingProperties(StreamingPropertiesT&& value) { m_streamingPropertiesHasBeenSet = true; m_streamingProperties = std::forward<StreamingPropertiesT>(value); }
58 template<typename StreamingPropertiesT = StreamingProperties>
59 ModifyStreamingPropertiesRequest& WithStreamingProperties(StreamingPropertiesT&& value) { SetStreamingProperties(std::forward<StreamingPropertiesT>(value)); return *this;}
61 private:
62
63 Aws::String m_resourceId;
64 bool m_resourceIdHasBeenSet = false;
65
66 StreamingProperties m_streamingProperties;
67 bool m_streamingPropertiesHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace WorkSpaces
72} // namespace Aws
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ModifyStreamingPropertiesRequest & WithResourceId(ResourceIdT &&value)
AWS_WORKSPACES_API ModifyStreamingPropertiesRequest()=default
ModifyStreamingPropertiesRequest & WithStreamingProperties(StreamingPropertiesT &&value)
AWS_WORKSPACES_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String