AWS SDK for C++

AWS SDK for C++ Version 1.11.900

Loading...
Searching...
No Matches
UpdateSpaceRequest.h
1
6#pragma once
7#include <aws/cloudwatchomni/CloudWatchOmniRequest.h>
8#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
9#include <aws/cloudwatchomni/model/EncryptionConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CloudWatchOmni {
16namespace Model {
17
21 public:
22 AWS_CLOUDWATCHOMNI_API UpdateSpaceRequest() = 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 "UpdateSpace"; }
29
30 AWS_CLOUDWATCHOMNI_API Aws::String SerializePayload() const override;
31
32 AWS_CLOUDWATCHOMNI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
33
35
38 inline const Aws::String& GetSpaceId() const { return m_spaceId; }
39 inline bool SpaceIdHasBeenSet() const { return m_spaceIdHasBeenSet; }
40 template <typename SpaceIdT = Aws::String>
41 void SetSpaceId(SpaceIdT&& value) {
42 m_spaceIdHasBeenSet = true;
43 m_spaceId = std::forward<SpaceIdT>(value);
44 }
45 template <typename SpaceIdT = Aws::String>
46 UpdateSpaceRequest& WithSpaceId(SpaceIdT&& value) {
47 SetSpaceId(std::forward<SpaceIdT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
66 UpdateSpaceRequest& WithName(NameT&& value) {
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
78 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
79 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
80 template <typename EncryptionConfigurationT = EncryptionConfiguration>
81 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
82 m_encryptionConfigurationHasBeenSet = true;
83 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
84 }
85 template <typename EncryptionConfigurationT = EncryptionConfiguration>
86 UpdateSpaceRequest& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
87 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_spaceId;
93
94 Aws::String m_name;
95
96 EncryptionConfiguration m_encryptionConfiguration;
97 bool m_spaceIdHasBeenSet = false;
98 bool m_nameHasBeenSet = false;
99 bool m_encryptionConfigurationHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace CloudWatchOmni
104} // namespace Aws
const EncryptionConfiguration & GetEncryptionConfiguration() const
AWS_CLOUDWATCHOMNI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateSpaceRequest & WithSpaceId(SpaceIdT &&value)
AWS_CLOUDWATCHOMNI_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_CLOUDWATCHOMNI_API UpdateSpaceRequest()=default
UpdateSpaceRequest & WithName(NameT &&value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
UpdateSpaceRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String