AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AcknowledgeJobRequest.h
1
6#pragma once
7#include <aws/codepipeline/CodePipelineRequest.h>
8#include <aws/codepipeline/CodePipeline_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CodePipeline {
15namespace Model {
16
24 public:
25 AWS_CODEPIPELINE_API AcknowledgeJobRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AcknowledgeJob"; }
32
33 AWS_CODEPIPELINE_API Aws::String SerializePayload() const override;
34
35 AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
38
42 inline const Aws::String& GetJobId() const { return m_jobId; }
43 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
44 template <typename JobIdT = Aws::String>
45 void SetJobId(JobIdT&& value) {
46 m_jobIdHasBeenSet = true;
47 m_jobId = std::forward<JobIdT>(value);
48 }
49 template <typename JobIdT = Aws::String>
51 SetJobId(std::forward<JobIdT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetNonce() const { return m_nonce; }
63 inline bool NonceHasBeenSet() const { return m_nonceHasBeenSet; }
64 template <typename NonceT = Aws::String>
65 void SetNonce(NonceT&& value) {
66 m_nonceHasBeenSet = true;
67 m_nonce = std::forward<NonceT>(value);
68 }
69 template <typename NonceT = Aws::String>
71 SetNonce(std::forward<NonceT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_jobId;
77
78 Aws::String m_nonce;
79 bool m_jobIdHasBeenSet = false;
80 bool m_nonceHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace CodePipeline
85} // namespace Aws
AWS_CODEPIPELINE_API AcknowledgeJobRequest()=default
AcknowledgeJobRequest & WithNonce(NonceT &&value)
AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CODEPIPELINE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AcknowledgeJobRequest & WithJobId(JobIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String