AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
ModifyStreamingPropertiesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workspaces/WorkSpacesRequest.h>
9#include <aws/workspaces/WorkSpaces_EXPORTS.h>
10#include <aws/workspaces/model/StreamingProperties.h>
11
12#include <utility>
13
14namespace Aws {
15namespace WorkSpaces {
16namespace Model {
17
21 public:
22 AWS_WORKSPACES_API ModifyStreamingPropertiesRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ModifyStreamingProperties"; }
29
30 AWS_WORKSPACES_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetResourceId() const { return m_resourceId; }
39 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
40 template <typename ResourceIdT = Aws::String>
41 void SetResourceId(ResourceIdT&& value) {
42 m_resourceIdHasBeenSet = true;
43 m_resourceId = std::forward<ResourceIdT>(value);
44 }
45 template <typename ResourceIdT = Aws::String>
47 SetResourceId(std::forward<ResourceIdT>(value));
48 return *this;
49 }
51
53
56 inline const StreamingProperties& GetStreamingProperties() const { return m_streamingProperties; }
57 inline bool StreamingPropertiesHasBeenSet() const { return m_streamingPropertiesHasBeenSet; }
58 template <typename StreamingPropertiesT = StreamingProperties>
59 void SetStreamingProperties(StreamingPropertiesT&& value) {
60 m_streamingPropertiesHasBeenSet = true;
61 m_streamingProperties = std::forward<StreamingPropertiesT>(value);
62 }
63 template <typename StreamingPropertiesT = StreamingProperties>
65 SetStreamingProperties(std::forward<StreamingPropertiesT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_resourceId;
71
72 StreamingProperties m_streamingProperties;
73 bool m_resourceIdHasBeenSet = false;
74 bool m_streamingPropertiesHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace WorkSpaces
79} // 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