AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetSegmentSnapshotRequest.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 <utility>
11
12namespace Aws
13{
14namespace CustomerProfiles
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CUSTOMERPROFILES_API GetSegmentSnapshotRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetSegmentSnapshot"; }
31
32 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetDomainName() const { return m_domainName; }
40 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
41 template<typename DomainNameT = Aws::String>
42 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
43 template<typename DomainNameT = Aws::String>
44 GetSegmentSnapshotRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetSegmentDefinitionName() const { return m_segmentDefinitionName; }
52 inline bool SegmentDefinitionNameHasBeenSet() const { return m_segmentDefinitionNameHasBeenSet; }
53 template<typename SegmentDefinitionNameT = Aws::String>
54 void SetSegmentDefinitionName(SegmentDefinitionNameT&& value) { m_segmentDefinitionNameHasBeenSet = true; m_segmentDefinitionName = std::forward<SegmentDefinitionNameT>(value); }
55 template<typename SegmentDefinitionNameT = Aws::String>
56 GetSegmentSnapshotRequest& WithSegmentDefinitionName(SegmentDefinitionNameT&& value) { SetSegmentDefinitionName(std::forward<SegmentDefinitionNameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetSnapshotId() const { return m_snapshotId; }
64 inline bool SnapshotIdHasBeenSet() const { return m_snapshotIdHasBeenSet; }
65 template<typename SnapshotIdT = Aws::String>
66 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet = true; m_snapshotId = std::forward<SnapshotIdT>(value); }
67 template<typename SnapshotIdT = Aws::String>
68 GetSegmentSnapshotRequest& WithSnapshotId(SnapshotIdT&& value) { SetSnapshotId(std::forward<SnapshotIdT>(value)); return *this;}
70 private:
71
72 Aws::String m_domainName;
73 bool m_domainNameHasBeenSet = false;
74
75 Aws::String m_segmentDefinitionName;
76 bool m_segmentDefinitionNameHasBeenSet = false;
77
78 Aws::String m_snapshotId;
79 bool m_snapshotIdHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CustomerProfiles
84} // 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