AWS SDK for C++

AWS SDK for C++ Version 1.11.808

Loading...
Searching...
No Matches
UpdateAttachedFilesConfigurationRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/AttachmentScope.h>
10#include <aws/connect/model/ExtensionConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Connect {
17namespace Model {
18
22 public:
23 AWS_CONNECT_API UpdateAttachedFilesConfigurationRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateAttachedFilesConfiguration"; }
30
31 AWS_CONNECT_API Aws::String SerializePayload() const override;
32
34
39 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
40 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
41 template <typename InstanceIdT = Aws::String>
42 void SetInstanceId(InstanceIdT&& value) {
43 m_instanceIdHasBeenSet = true;
44 m_instanceId = std::forward<InstanceIdT>(value);
45 }
46 template <typename InstanceIdT = Aws::String>
48 SetInstanceId(std::forward<InstanceIdT>(value));
49 return *this;
50 }
52
54
58 inline AttachmentScope GetAttachmentScope() const { return m_attachmentScope; }
59 inline bool AttachmentScopeHasBeenSet() const { return m_attachmentScopeHasBeenSet; }
61 m_attachmentScopeHasBeenSet = true;
62 m_attachmentScope = value;
63 }
65 SetAttachmentScope(value);
66 return *this;
67 }
69
71
75 inline long long GetMaximumSizeLimitInBytes() const { return m_maximumSizeLimitInBytes; }
76 inline bool MaximumSizeLimitInBytesHasBeenSet() const { return m_maximumSizeLimitInBytesHasBeenSet; }
77 inline void SetMaximumSizeLimitInBytes(long long value) {
78 m_maximumSizeLimitInBytesHasBeenSet = true;
79 m_maximumSizeLimitInBytes = value;
80 }
83 return *this;
84 }
86
88
91 inline const ExtensionConfiguration& GetExtensionConfiguration() const { return m_extensionConfiguration; }
92 inline bool ExtensionConfigurationHasBeenSet() const { return m_extensionConfigurationHasBeenSet; }
93 template <typename ExtensionConfigurationT = ExtensionConfiguration>
94 void SetExtensionConfiguration(ExtensionConfigurationT&& value) {
95 m_extensionConfigurationHasBeenSet = true;
96 m_extensionConfiguration = std::forward<ExtensionConfigurationT>(value);
97 }
98 template <typename ExtensionConfigurationT = ExtensionConfiguration>
100 SetExtensionConfiguration(std::forward<ExtensionConfigurationT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_instanceId;
106
107 AttachmentScope m_attachmentScope{AttachmentScope::NOT_SET};
108
109 long long m_maximumSizeLimitInBytes{0};
110
111 ExtensionConfiguration m_extensionConfiguration;
112 bool m_instanceIdHasBeenSet = false;
113 bool m_attachmentScopeHasBeenSet = false;
114 bool m_maximumSizeLimitInBytesHasBeenSet = false;
115 bool m_extensionConfigurationHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace Connect
120} // namespace Aws
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateAttachedFilesConfigurationRequest & WithAttachmentScope(AttachmentScope value)
UpdateAttachedFilesConfigurationRequest & WithMaximumSizeLimitInBytes(long long value)
UpdateAttachedFilesConfigurationRequest & WithInstanceId(InstanceIdT &&value)
UpdateAttachedFilesConfigurationRequest & WithExtensionConfiguration(ExtensionConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String