AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
GetJobDocumentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/iot/IoT_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace IoT {
18namespace Model {
19
23 public:
24 AWS_IOT_API GetJobDocumentRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetJobDocument"; }
31
32 AWS_IOT_API Aws::String SerializePayload() const override;
33
34 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetJobId() const { return m_jobId; }
41 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
42 template <typename JobIdT = Aws::String>
43 void SetJobId(JobIdT&& value) {
44 m_jobIdHasBeenSet = true;
45 m_jobId = std::forward<JobIdT>(value);
46 }
47 template <typename JobIdT = Aws::String>
49 SetJobId(std::forward<JobIdT>(value));
50 return *this;
51 }
53
55
59 inline bool GetBeforeSubstitution() const { return m_beforeSubstitution; }
60 inline bool BeforeSubstitutionHasBeenSet() const { return m_beforeSubstitutionHasBeenSet; }
61 inline void SetBeforeSubstitution(bool value) {
62 m_beforeSubstitutionHasBeenSet = true;
63 m_beforeSubstitution = value;
64 }
67 return *this;
68 }
70 private:
71 Aws::String m_jobId;
72 bool m_jobIdHasBeenSet = false;
73
74 bool m_beforeSubstitution{false};
75 bool m_beforeSubstitutionHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace IoT
80} // namespace Aws
GetJobDocumentRequest & WithBeforeSubstitution(bool value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetJobDocumentRequest & WithJobId(JobIdT &&value)
AWS_IOT_API GetJobDocumentRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_IOT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String