AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateSegmentSnapshotRequest.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/model/DataFormat.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CustomerProfiles
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CUSTOMERPROFILES_API CreateSegmentSnapshotRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateSegmentSnapshot"; }
32
33 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDomainName() const { return m_domainName; }
41 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
42 template<typename DomainNameT = Aws::String>
43 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
44 template<typename DomainNameT = Aws::String>
45 CreateSegmentSnapshotRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetSegmentDefinitionName() const { return m_segmentDefinitionName; }
53 inline bool SegmentDefinitionNameHasBeenSet() const { return m_segmentDefinitionNameHasBeenSet; }
54 template<typename SegmentDefinitionNameT = Aws::String>
55 void SetSegmentDefinitionName(SegmentDefinitionNameT&& value) { m_segmentDefinitionNameHasBeenSet = true; m_segmentDefinitionName = std::forward<SegmentDefinitionNameT>(value); }
56 template<typename SegmentDefinitionNameT = Aws::String>
57 CreateSegmentSnapshotRequest& WithSegmentDefinitionName(SegmentDefinitionNameT&& value) { SetSegmentDefinitionName(std::forward<SegmentDefinitionNameT>(value)); return *this;}
59
61
64 inline DataFormat GetDataFormat() const { return m_dataFormat; }
65 inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; }
66 inline void SetDataFormat(DataFormat value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; }
69
71
75 inline const Aws::String& GetEncryptionKey() const { return m_encryptionKey; }
76 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
77 template<typename EncryptionKeyT = Aws::String>
78 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
79 template<typename EncryptionKeyT = Aws::String>
80 CreateSegmentSnapshotRequest& WithEncryptionKey(EncryptionKeyT&& value) { SetEncryptionKey(std::forward<EncryptionKeyT>(value)); return *this;}
82
84
88 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
89 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
90 template<typename RoleArnT = Aws::String>
91 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
92 template<typename RoleArnT = Aws::String>
93 CreateSegmentSnapshotRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
95
97
102 inline const Aws::String& GetDestinationUri() const { return m_destinationUri; }
103 inline bool DestinationUriHasBeenSet() const { return m_destinationUriHasBeenSet; }
104 template<typename DestinationUriT = Aws::String>
105 void SetDestinationUri(DestinationUriT&& value) { m_destinationUriHasBeenSet = true; m_destinationUri = std::forward<DestinationUriT>(value); }
106 template<typename DestinationUriT = Aws::String>
107 CreateSegmentSnapshotRequest& WithDestinationUri(DestinationUriT&& value) { SetDestinationUri(std::forward<DestinationUriT>(value)); return *this;}
109 private:
110
111 Aws::String m_domainName;
112 bool m_domainNameHasBeenSet = false;
113
114 Aws::String m_segmentDefinitionName;
115 bool m_segmentDefinitionNameHasBeenSet = false;
116
117 DataFormat m_dataFormat{DataFormat::NOT_SET};
118 bool m_dataFormatHasBeenSet = false;
119
120 Aws::String m_encryptionKey;
121 bool m_encryptionKeyHasBeenSet = false;
122
123 Aws::String m_roleArn;
124 bool m_roleArnHasBeenSet = false;
125
126 Aws::String m_destinationUri;
127 bool m_destinationUriHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace CustomerProfiles
132} // 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