AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetSegmentEstimateRequest.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 GetSegmentEstimateRequest() = 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 "GetSegmentEstimate"; }
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
54 inline const Aws::String& GetEstimateId() const { return m_estimateId; }
55 inline bool EstimateIdHasBeenSet() const { return m_estimateIdHasBeenSet; }
56 template <typename EstimateIdT = Aws::String>
57 void SetEstimateId(EstimateIdT&& value) {
58 m_estimateIdHasBeenSet = true;
59 m_estimateId = std::forward<EstimateIdT>(value);
60 }
61 template <typename EstimateIdT = Aws::String>
63 SetEstimateId(std::forward<EstimateIdT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_domainName;
69
70 Aws::String m_estimateId;
71 bool m_domainNameHasBeenSet = false;
72 bool m_estimateIdHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace CustomerProfiles
77} // namespace Aws
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
GetSegmentEstimateRequest & WithEstimateId(EstimateIdT &&value)
AWS_CUSTOMERPROFILES_API GetSegmentEstimateRequest()=default
GetSegmentEstimateRequest & WithDomainName(DomainNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String