AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CreateSegmentSnapshotRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10#include <aws/customer-profiles/model/DataFormat.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CustomerProfiles {
16namespace Model {
17
21 public:
22 AWS_CUSTOMERPROFILES_API CreateSegmentSnapshotRequest() = 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 "CreateSegmentSnapshot"; }
29
30 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetDomainName() const { return m_domainName; }
37 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
38 template <typename DomainNameT = Aws::String>
39 void SetDomainName(DomainNameT&& value) {
40 m_domainNameHasBeenSet = true;
41 m_domainName = std::forward<DomainNameT>(value);
42 }
43 template <typename DomainNameT = Aws::String>
45 SetDomainName(std::forward<DomainNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetSegmentDefinitionName() const { return m_segmentDefinitionName; }
55 inline bool SegmentDefinitionNameHasBeenSet() const { return m_segmentDefinitionNameHasBeenSet; }
56 template <typename SegmentDefinitionNameT = Aws::String>
57 void SetSegmentDefinitionName(SegmentDefinitionNameT&& value) {
58 m_segmentDefinitionNameHasBeenSet = true;
59 m_segmentDefinitionName = std::forward<SegmentDefinitionNameT>(value);
60 }
61 template <typename SegmentDefinitionNameT = Aws::String>
63 SetSegmentDefinitionName(std::forward<SegmentDefinitionNameT>(value));
64 return *this;
65 }
67
69
72 inline DataFormat GetDataFormat() const { return m_dataFormat; }
73 inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
74 inline void SetDataFormat(DataFormat value) {
75 m_dataFormatHasBeenSet = true;
76 m_dataFormat = value;
77 }
79 SetDataFormat(value);
80 return *this;
81 }
83
85
89 inline const Aws::String& GetEncryptionKey() const { return m_encryptionKey; }
90 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
91 template <typename EncryptionKeyT = Aws::String>
92 void SetEncryptionKey(EncryptionKeyT&& value) {
93 m_encryptionKeyHasBeenSet = true;
94 m_encryptionKey = std::forward<EncryptionKeyT>(value);
95 }
96 template <typename EncryptionKeyT = Aws::String>
98 SetEncryptionKey(std::forward<EncryptionKeyT>(value));
99 return *this;
100 }
102
104
108 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
109 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
110 template <typename RoleArnT = Aws::String>
111 void SetRoleArn(RoleArnT&& value) {
112 m_roleArnHasBeenSet = true;
113 m_roleArn = std::forward<RoleArnT>(value);
114 }
115 template <typename RoleArnT = Aws::String>
117 SetRoleArn(std::forward<RoleArnT>(value));
118 return *this;
119 }
121
123
128 inline const Aws::String& GetDestinationUri() const { return m_destinationUri; }
129 inline bool DestinationUriHasBeenSet() const { return m_destinationUriHasBeenSet; }
130 template <typename DestinationUriT = Aws::String>
131 void SetDestinationUri(DestinationUriT&& value) {
132 m_destinationUriHasBeenSet = true;
133 m_destinationUri = std::forward<DestinationUriT>(value);
134 }
135 template <typename DestinationUriT = Aws::String>
137 SetDestinationUri(std::forward<DestinationUriT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_domainName;
143
144 Aws::String m_segmentDefinitionName;
145
146 DataFormat m_dataFormat{DataFormat::NOT_SET};
147
148 Aws::String m_encryptionKey;
149
150 Aws::String m_roleArn;
151
152 Aws::String m_destinationUri;
153 bool m_domainNameHasBeenSet = false;
154 bool m_segmentDefinitionNameHasBeenSet = false;
155 bool m_dataFormatHasBeenSet = false;
156 bool m_encryptionKeyHasBeenSet = false;
157 bool m_roleArnHasBeenSet = false;
158 bool m_destinationUriHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace CustomerProfiles
163} // namespace Aws
CreateSegmentSnapshotRequest & WithDataFormat(DataFormat value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
CreateSegmentSnapshotRequest & WithRoleArn(RoleArnT &&value)
AWS_CUSTOMERPROFILES_API CreateSegmentSnapshotRequest()=default
CreateSegmentSnapshotRequest & WithDomainName(DomainNameT &&value)
CreateSegmentSnapshotRequest & WithDestinationUri(DestinationUriT &&value)
CreateSegmentSnapshotRequest & WithSegmentDefinitionName(SegmentDefinitionNameT &&value)
CreateSegmentSnapshotRequest & WithEncryptionKey(EncryptionKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String