AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CancelLifecycleExecutionRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/ImagebuilderRequest.h>
10#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace imagebuilder {
16namespace Model {
17
21 public:
22 AWS_IMAGEBUILDER_API CancelLifecycleExecutionRequest() = 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 "CancelLifecycleExecution"; }
29
30 AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetLifecycleExecutionId() const { return m_lifecycleExecutionId; }
38 inline bool LifecycleExecutionIdHasBeenSet() const { return m_lifecycleExecutionIdHasBeenSet; }
39 template <typename LifecycleExecutionIdT = Aws::String>
40 void SetLifecycleExecutionId(LifecycleExecutionIdT&& value) {
41 m_lifecycleExecutionIdHasBeenSet = true;
42 m_lifecycleExecutionId = std::forward<LifecycleExecutionIdT>(value);
43 }
44 template <typename LifecycleExecutionIdT = Aws::String>
46 SetLifecycleExecutionId(std::forward<LifecycleExecutionIdT>(value));
47 return *this;
48 }
50
52
58 inline const Aws::String& GetClientToken() const { return m_clientToken; }
59 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
60 template <typename ClientTokenT = Aws::String>
61 void SetClientToken(ClientTokenT&& value) {
62 m_clientTokenHasBeenSet = true;
63 m_clientToken = std::forward<ClientTokenT>(value);
64 }
65 template <typename ClientTokenT = Aws::String>
67 SetClientToken(std::forward<ClientTokenT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_lifecycleExecutionId;
73
75 bool m_lifecycleExecutionIdHasBeenSet = false;
76 bool m_clientTokenHasBeenSet = true;
77};
78
79} // namespace Model
80} // namespace imagebuilder
81} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
CancelLifecycleExecutionRequest & WithLifecycleExecutionId(LifecycleExecutionIdT &&value)
AWS_IMAGEBUILDER_API CancelLifecycleExecutionRequest()=default
AWS_IMAGEBUILDER_API Aws::String SerializePayload() const override
CancelLifecycleExecutionRequest & WithClientToken(ClientTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String