AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
StartExecutionPreviewRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSMRequest.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10#include <aws/ssm/model/ExecutionInputs.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SSM {
16namespace Model {
17
21 public:
22 AWS_SSM_API StartExecutionPreviewRequest() = 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 "StartExecutionPreview"; }
29
30 AWS_SSM_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetDocumentName() const { return m_documentName; }
40 inline bool DocumentNameHasBeenSet() const { return m_documentNameHasBeenSet; }
41 template <typename DocumentNameT = Aws::String>
42 void SetDocumentName(DocumentNameT&& value) {
43 m_documentNameHasBeenSet = true;
44 m_documentName = std::forward<DocumentNameT>(value);
45 }
46 template <typename DocumentNameT = Aws::String>
48 SetDocumentName(std::forward<DocumentNameT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetDocumentVersion() const { return m_documentVersion; }
59 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
60 template <typename DocumentVersionT = Aws::String>
61 void SetDocumentVersion(DocumentVersionT&& value) {
62 m_documentVersionHasBeenSet = true;
63 m_documentVersion = std::forward<DocumentVersionT>(value);
64 }
65 template <typename DocumentVersionT = Aws::String>
67 SetDocumentVersion(std::forward<DocumentVersionT>(value));
68 return *this;
69 }
71
73
77 inline const ExecutionInputs& GetExecutionInputs() const { return m_executionInputs; }
78 inline bool ExecutionInputsHasBeenSet() const { return m_executionInputsHasBeenSet; }
79 template <typename ExecutionInputsT = ExecutionInputs>
80 void SetExecutionInputs(ExecutionInputsT&& value) {
81 m_executionInputsHasBeenSet = true;
82 m_executionInputs = std::forward<ExecutionInputsT>(value);
83 }
84 template <typename ExecutionInputsT = ExecutionInputs>
86 SetExecutionInputs(std::forward<ExecutionInputsT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_documentName;
92
93 Aws::String m_documentVersion;
94
95 ExecutionInputs m_executionInputs;
96 bool m_documentNameHasBeenSet = false;
97 bool m_documentVersionHasBeenSet = false;
98 bool m_executionInputsHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace SSM
103} // namespace Aws
AWS_SSM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SSM_API StartExecutionPreviewRequest()=default
StartExecutionPreviewRequest & WithExecutionInputs(ExecutionInputsT &&value)
StartExecutionPreviewRequest & WithDocumentName(DocumentNameT &&value)
AWS_SSM_API Aws::String SerializePayload() const override
StartExecutionPreviewRequest & WithDocumentVersion(DocumentVersionT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String