AWS SDK for C++

AWS SDK for C++ Version 1.11.807

Loading...
Searching...
No Matches
StopNotebookRunRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DataZone {
16namespace Model {
17
21 public:
22 AWS_DATAZONE_API StopNotebookRunRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "StopNotebookRun"; }
29
30 AWS_DATAZONE_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
38 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
39 template <typename DomainIdentifierT = Aws::String>
40 void SetDomainIdentifier(DomainIdentifierT&& value) {
41 m_domainIdentifierHasBeenSet = true;
42 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
43 }
44 template <typename DomainIdentifierT = Aws::String>
45 StopNotebookRunRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
46 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetIdentifier() const { return m_identifier; }
56 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
57 template <typename IdentifierT = Aws::String>
58 void SetIdentifier(IdentifierT&& value) {
59 m_identifierHasBeenSet = true;
60 m_identifier = std::forward<IdentifierT>(value);
61 }
62 template <typename IdentifierT = Aws::String>
63 StopNotebookRunRequest& WithIdentifier(IdentifierT&& value) {
64 SetIdentifier(std::forward<IdentifierT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetClientToken() const { return m_clientToken; }
75 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
76 template <typename ClientTokenT = Aws::String>
77 void SetClientToken(ClientTokenT&& value) {
78 m_clientTokenHasBeenSet = true;
79 m_clientToken = std::forward<ClientTokenT>(value);
80 }
81 template <typename ClientTokenT = Aws::String>
82 StopNotebookRunRequest& WithClientToken(ClientTokenT&& value) {
83 SetClientToken(std::forward<ClientTokenT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_domainIdentifier;
89
90 Aws::String m_identifier;
91
93 bool m_domainIdentifierHasBeenSet = false;
94 bool m_identifierHasBeenSet = false;
95 bool m_clientTokenHasBeenSet = true;
96};
97
98} // namespace Model
99} // namespace DataZone
100} // namespace Aws
StopNotebookRunRequest & WithIdentifier(IdentifierT &&value)
void SetDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API StopNotebookRunRequest()=default
StopNotebookRunRequest & WithDomainIdentifier(DomainIdentifierT &&value)
StopNotebookRunRequest & WithClientToken(ClientTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String