AWS SDK for C++  1.9.129
AWS SDK for C++
AcknowledgeThirdPartyJobRequest.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 "AcknowledgeThirdPartyJob"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetJobId() const{ return m_jobId; }
45 
49  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
50 
54  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
55 
59  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
60 
64  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
65 
69  inline AcknowledgeThirdPartyJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
70 
74  inline AcknowledgeThirdPartyJobRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
75 
79  inline AcknowledgeThirdPartyJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
80 
81 
87  inline const Aws::String& GetNonce() const{ return m_nonce; }
88 
94  inline bool NonceHasBeenSet() const { return m_nonceHasBeenSet; }
95 
101  inline void SetNonce(const Aws::String& value) { m_nonceHasBeenSet = true; m_nonce = value; }
102 
108  inline void SetNonce(Aws::String&& value) { m_nonceHasBeenSet = true; m_nonce = std::move(value); }
109 
115  inline void SetNonce(const char* value) { m_nonceHasBeenSet = true; m_nonce.assign(value); }
116 
122  inline AcknowledgeThirdPartyJobRequest& WithNonce(const Aws::String& value) { SetNonce(value); return *this;}
123 
129  inline AcknowledgeThirdPartyJobRequest& WithNonce(Aws::String&& value) { SetNonce(std::move(value)); return *this;}
130 
136  inline AcknowledgeThirdPartyJobRequest& WithNonce(const char* value) { SetNonce(value); return *this;}
137 
138 
143  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
144 
149  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
150 
155  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
156 
161  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
162 
167  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
168 
173  inline AcknowledgeThirdPartyJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
174 
179  inline AcknowledgeThirdPartyJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
180 
185  inline AcknowledgeThirdPartyJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
186 
187  private:
188 
189  Aws::String m_jobId;
190  bool m_jobIdHasBeenSet;
191 
192  Aws::String m_nonce;
193  bool m_nonceHasBeenSet;
194 
195  Aws::String m_clientToken;
196  bool m_clientTokenHasBeenSet;
197  };
198 
199 } // namespace Model
200 } // namespace CodePipeline
201 } // namespace Aws
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::WithClientToken
AcknowledgeThirdPartyJobRequest & WithClientToken(const Aws::String &value)
Definition: AcknowledgeThirdPartyJobRequest.h:173
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::WithJobId
AcknowledgeThirdPartyJobRequest & WithJobId(const Aws::String &value)
Definition: AcknowledgeThirdPartyJobRequest.h:69
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::WithJobId
AcknowledgeThirdPartyJobRequest & WithJobId(const char *value)
Definition: AcknowledgeThirdPartyJobRequest.h:79
CodePipelineRequest.h
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::GetNonce
const Aws::String & GetNonce() const
Definition: AcknowledgeThirdPartyJobRequest.h:87
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::SetNonce
void SetNonce(const Aws::String &value)
Definition: AcknowledgeThirdPartyJobRequest.h:101
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: AcknowledgeThirdPartyJobRequest.h:161
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest
Definition: AcknowledgeThirdPartyJobRequest.h:26
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::WithClientToken
AcknowledgeThirdPartyJobRequest & WithClientToken(Aws::String &&value)
Definition: AcknowledgeThirdPartyJobRequest.h:179
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::NonceHasBeenSet
bool NonceHasBeenSet() const
Definition: AcknowledgeThirdPartyJobRequest.h:94
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::SetClientToken
void SetClientToken(const char *value)
Definition: AcknowledgeThirdPartyJobRequest.h:167
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::SetNonce
void SetNonce(const char *value)
Definition: AcknowledgeThirdPartyJobRequest.h:115
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::GetJobId
const Aws::String & GetJobId() const
Definition: AcknowledgeThirdPartyJobRequest.h:44
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: AcknowledgeThirdPartyJobRequest.h:143
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: AcknowledgeThirdPartyJobRequest.h:59
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::WithNonce
AcknowledgeThirdPartyJobRequest & WithNonce(const Aws::String &value)
Definition: AcknowledgeThirdPartyJobRequest.h:122
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::SetNonce
void SetNonce(Aws::String &&value)
Definition: AcknowledgeThirdPartyJobRequest.h:108
AWSString.h
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AcknowledgeThirdPartyJobRequest.h:34
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: AcknowledgeThirdPartyJobRequest.h:155
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::AcknowledgeThirdPartyJobRequest
AcknowledgeThirdPartyJobRequest()
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::WithNonce
AcknowledgeThirdPartyJobRequest & WithNonce(Aws::String &&value)
Definition: AcknowledgeThirdPartyJobRequest.h:129
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::WithClientToken
AcknowledgeThirdPartyJobRequest & WithClientToken(const char *value)
Definition: AcknowledgeThirdPartyJobRequest.h:185
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::WithNonce
AcknowledgeThirdPartyJobRequest & WithNonce(const char *value)
Definition: AcknowledgeThirdPartyJobRequest.h:136
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::WithJobId
AcknowledgeThirdPartyJobRequest & WithJobId(Aws::String &&value)
Definition: AcknowledgeThirdPartyJobRequest.h:74
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::SetJobId
void SetJobId(const char *value)
Definition: AcknowledgeThirdPartyJobRequest.h:64
Aws::CodePipeline::CodePipelineRequest
Definition: CodePipelineRequest.h:17
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: AcknowledgeThirdPartyJobRequest.h:149
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: AcknowledgeThirdPartyJobRequest.h:54
Aws::CodePipeline::Model::AcknowledgeThirdPartyJobRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: AcknowledgeThirdPartyJobRequest.h:49