AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
CreateS3TableIntegrationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/observabilityadmin/ObservabilityAdminRequest.h>
10#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
11#include <aws/observabilityadmin/model/Encryption.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ObservabilityAdmin {
17namespace Model {
18
22 public:
23 AWS_OBSERVABILITYADMIN_API CreateS3TableIntegrationRequest() = 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 "CreateS3TableIntegration"; }
30
31 AWS_OBSERVABILITYADMIN_API Aws::String SerializePayload() const override;
32
34
38 inline const Encryption& GetEncryption() const { return m_encryption; }
39 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
40 template <typename EncryptionT = Encryption>
41 void SetEncryption(EncryptionT&& value) {
42 m_encryptionHasBeenSet = true;
43 m_encryption = std::forward<EncryptionT>(value);
44 }
45 template <typename EncryptionT = Encryption>
47 SetEncryption(std::forward<EncryptionT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
58 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
59 template <typename RoleArnT = Aws::String>
60 void SetRoleArn(RoleArnT&& value) {
61 m_roleArnHasBeenSet = true;
62 m_roleArn = std::forward<RoleArnT>(value);
63 }
64 template <typename RoleArnT = Aws::String>
66 SetRoleArn(std::forward<RoleArnT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
77 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
78 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
79 void SetTags(TagsT&& value) {
80 m_tagsHasBeenSet = true;
81 m_tags = std::forward<TagsT>(value);
82 }
83 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
85 SetTags(std::forward<TagsT>(value));
86 return *this;
87 }
88 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
89 CreateS3TableIntegrationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
90 m_tagsHasBeenSet = true;
91 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
92 return *this;
93 }
95 private:
96 Encryption m_encryption;
97
98 Aws::String m_roleArn;
99
101 bool m_encryptionHasBeenSet = false;
102 bool m_roleArnHasBeenSet = false;
103 bool m_tagsHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace ObservabilityAdmin
108} // namespace Aws
AWS_OBSERVABILITYADMIN_API CreateS3TableIntegrationRequest()=default
CreateS3TableIntegrationRequest & WithEncryption(EncryptionT &&value)
AWS_OBSERVABILITYADMIN_API Aws::String SerializePayload() const override
CreateS3TableIntegrationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String