AWS SDK for C++  1.9.126
AWS SDK for C++
AcknowledgeJobRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CodePipeline
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "AcknowledgeJob"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::String& GetJobId() const{ return m_jobId; }
46 
51  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
52 
57  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
58 
63  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
64 
69  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
70 
75  inline AcknowledgeJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
76 
81  inline AcknowledgeJobRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
82 
87  inline AcknowledgeJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
88 
89 
95  inline const Aws::String& GetNonce() const{ return m_nonce; }
96 
102  inline bool NonceHasBeenSet() const { return m_nonceHasBeenSet; }
103 
109  inline void SetNonce(const Aws::String& value) { m_nonceHasBeenSet = true; m_nonce = value; }
110 
116  inline void SetNonce(Aws::String&& value) { m_nonceHasBeenSet = true; m_nonce = std::move(value); }
117 
123  inline void SetNonce(const char* value) { m_nonceHasBeenSet = true; m_nonce.assign(value); }
124 
130  inline AcknowledgeJobRequest& WithNonce(const Aws::String& value) { SetNonce(value); return *this;}
131 
137  inline AcknowledgeJobRequest& WithNonce(Aws::String&& value) { SetNonce(std::move(value)); return *this;}
138 
144  inline AcknowledgeJobRequest& WithNonce(const char* value) { SetNonce(value); return *this;}
145 
146  private:
147 
148  Aws::String m_jobId;
149  bool m_jobIdHasBeenSet;
150 
151  Aws::String m_nonce;
152  bool m_nonceHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace CodePipeline
157 } // namespace Aws
Aws::CodePipeline::Model::AcknowledgeJobRequest::SetNonce
void SetNonce(const Aws::String &value)
Definition: AcknowledgeJobRequest.h:109
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::AcknowledgeJobRequest
Definition: AcknowledgeJobRequest.h:26
Aws::CodePipeline::Model::AcknowledgeJobRequest::SetNonce
void SetNonce(const char *value)
Definition: AcknowledgeJobRequest.h:123
CodePipelineRequest.h
Aws::CodePipeline::Model::AcknowledgeJobRequest::WithNonce
AcknowledgeJobRequest & WithNonce(Aws::String &&value)
Definition: AcknowledgeJobRequest.h:137
Aws::CodePipeline::Model::AcknowledgeJobRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: AcknowledgeJobRequest.h:51
Aws::CodePipeline::Model::AcknowledgeJobRequest::SerializePayload
Aws::String SerializePayload() const override
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::AcknowledgeJobRequest::SetNonce
void SetNonce(Aws::String &&value)
Definition: AcknowledgeJobRequest.h:116
Aws::CodePipeline::Model::AcknowledgeJobRequest::WithNonce
AcknowledgeJobRequest & WithNonce(const char *value)
Definition: AcknowledgeJobRequest.h:144
Aws::CodePipeline::Model::AcknowledgeJobRequest::GetNonce
const Aws::String & GetNonce() const
Definition: AcknowledgeJobRequest.h:95
Aws::CodePipeline::Model::AcknowledgeJobRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: AcknowledgeJobRequest.h:63
AWSString.h
Aws::CodePipeline::Model::AcknowledgeJobRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: AcknowledgeJobRequest.h:57
Aws::CodePipeline::Model::AcknowledgeJobRequest::WithJobId
AcknowledgeJobRequest & WithJobId(const char *value)
Definition: AcknowledgeJobRequest.h:87
Aws::CodePipeline::Model::AcknowledgeJobRequest::WithJobId
AcknowledgeJobRequest & WithJobId(const Aws::String &value)
Definition: AcknowledgeJobRequest.h:75
Aws::CodePipeline::Model::AcknowledgeJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AcknowledgeJobRequest.h:34
Aws::CodePipeline::Model::AcknowledgeJobRequest::NonceHasBeenSet
bool NonceHasBeenSet() const
Definition: AcknowledgeJobRequest.h:102
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::AcknowledgeJobRequest::AcknowledgeJobRequest
AcknowledgeJobRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::CodePipelineRequest
Definition: CodePipelineRequest.h:17
Aws::CodePipeline::Model::AcknowledgeJobRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CodePipeline::Model::AcknowledgeJobRequest::WithNonce
AcknowledgeJobRequest & WithNonce(const Aws::String &value)
Definition: AcknowledgeJobRequest.h:130
Aws::CodePipeline::Model::AcknowledgeJobRequest::SetJobId
void SetJobId(const char *value)
Definition: AcknowledgeJobRequest.h:69
Aws::CodePipeline::Model::AcknowledgeJobRequest::GetJobId
const Aws::String & GetJobId() const
Definition: AcknowledgeJobRequest.h:45
Aws::CodePipeline::Model::AcknowledgeJobRequest::WithJobId
AcknowledgeJobRequest & WithJobId(Aws::String &&value)
Definition: AcknowledgeJobRequest.h:81