AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
GetSegmentSnapshotRequest.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
11#include <utility>
12
13namespace Aws {
14namespace CustomerProfiles {
15namespace Model {
16
20 public:
21 AWS_CUSTOMERPROFILES_API GetSegmentSnapshotRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetSegmentSnapshot"; }
28
29 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetDomainName() const { return m_domainName; }
36 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
37 template <typename DomainNameT = Aws::String>
38 void SetDomainName(DomainNameT&& value) {
39 m_domainNameHasBeenSet = true;
40 m_domainName = std::forward<DomainNameT>(value);
41 }
42 template <typename DomainNameT = Aws::String>
44 SetDomainName(std::forward<DomainNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetSegmentDefinitionName() const { return m_segmentDefinitionName; }
54 inline bool SegmentDefinitionNameHasBeenSet() const { return m_segmentDefinitionNameHasBeenSet; }
55 template <typename SegmentDefinitionNameT = Aws::String>
56 void SetSegmentDefinitionName(SegmentDefinitionNameT&& value) {
57 m_segmentDefinitionNameHasBeenSet = true;
58 m_segmentDefinitionName = std::forward<SegmentDefinitionNameT>(value);
59 }
60 template <typename SegmentDefinitionNameT = Aws::String>
61 GetSegmentSnapshotRequest& WithSegmentDefinitionName(SegmentDefinitionNameT&& value) {
62 SetSegmentDefinitionName(std::forward<SegmentDefinitionNameT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetSnapshotId() const { return m_snapshotId; }
72 inline bool SnapshotIdHasBeenSet() const { return m_snapshotIdHasBeenSet; }
73 template <typename SnapshotIdT = Aws::String>
74 void SetSnapshotId(SnapshotIdT&& value) {
75 m_snapshotIdHasBeenSet = true;
76 m_snapshotId = std::forward<SnapshotIdT>(value);
77 }
78 template <typename SnapshotIdT = Aws::String>
80 SetSnapshotId(std::forward<SnapshotIdT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_domainName;
86
87 Aws::String m_segmentDefinitionName;
88
89 Aws::String m_snapshotId;
90 bool m_domainNameHasBeenSet = false;
91 bool m_segmentDefinitionNameHasBeenSet = false;
92 bool m_snapshotIdHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace CustomerProfiles
97} // namespace Aws
GetSegmentSnapshotRequest & WithDomainName(DomainNameT &&value)
GetSegmentSnapshotRequest & WithSegmentDefinitionName(SegmentDefinitionNameT &&value)
GetSegmentSnapshotRequest & WithSnapshotId(SnapshotIdT &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
AWS_CUSTOMERPROFILES_API GetSegmentSnapshotRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String