AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
StopUploadJobRequest.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 StopUploadJobRequest() = 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 "StopUploadJob"; }
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>
43 StopUploadJobRequest& WithDomainName(DomainNameT&& value) {
44 SetDomainName(std::forward<DomainNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetJobId() const { return m_jobId; }
54 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
55 template <typename JobIdT = Aws::String>
56 void SetJobId(JobIdT&& value) {
57 m_jobIdHasBeenSet = true;
58 m_jobId = std::forward<JobIdT>(value);
59 }
60 template <typename JobIdT = Aws::String>
62 SetJobId(std::forward<JobIdT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_domainName;
68 bool m_domainNameHasBeenSet = false;
69
70 Aws::String m_jobId;
71 bool m_jobIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace CustomerProfiles
76} // namespace Aws
virtual const char * GetServiceRequestName() const override
StopUploadJobRequest & WithDomainName(DomainNameT &&value)
AWS_CUSTOMERPROFILES_API StopUploadJobRequest()=default
StopUploadJobRequest & WithJobId(JobIdT &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String