AWS SDK for C++  0.12.9
AWS SDK for C++
AcknowledgeThirdPartyJobRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace CodePipeline
23 {
24 namespace Model
25 {
26 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
36  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37 
41  inline const Aws::String& GetJobId() const{ return m_jobId; }
42 
46  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
47 
51  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
52 
56  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
57 
61  inline AcknowledgeThirdPartyJobRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
62 
66  inline AcknowledgeThirdPartyJobRequest& WithJobId(Aws::String&& value) { SetJobId(value); return *this;}
67 
71  inline AcknowledgeThirdPartyJobRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
72 
78  inline const Aws::String& GetNonce() const{ return m_nonce; }
79 
85  inline void SetNonce(const Aws::String& value) { m_nonceHasBeenSet = true; m_nonce = value; }
86 
92  inline void SetNonce(Aws::String&& value) { m_nonceHasBeenSet = true; m_nonce = value; }
93 
99  inline void SetNonce(const char* value) { m_nonceHasBeenSet = true; m_nonce.assign(value); }
100 
106  inline AcknowledgeThirdPartyJobRequest& WithNonce(const Aws::String& value) { SetNonce(value); return *this;}
107 
113  inline AcknowledgeThirdPartyJobRequest& WithNonce(Aws::String&& value) { SetNonce(value); return *this;}
114 
120  inline AcknowledgeThirdPartyJobRequest& WithNonce(const char* value) { SetNonce(value); return *this;}
121 
126  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
127 
132  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
133 
138  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
139 
144  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
145 
150  inline AcknowledgeThirdPartyJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
151 
156  inline AcknowledgeThirdPartyJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(value); return *this;}
157 
162  inline AcknowledgeThirdPartyJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
163 
164  private:
165  Aws::String m_jobId;
166  bool m_jobIdHasBeenSet;
167  Aws::String m_nonce;
168  bool m_nonceHasBeenSet;
169  Aws::String m_clientToken;
170  bool m_clientTokenHasBeenSet;
171  };
172 
173 } // namespace Model
174 } // namespace CodePipeline
175 } // namespace Aws
AcknowledgeThirdPartyJobRequest & WithJobId(const Aws::String &value)
AcknowledgeThirdPartyJobRequest & WithNonce(const char *value)
AcknowledgeThirdPartyJobRequest & WithNonce(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
AcknowledgeThirdPartyJobRequest & WithClientToken(const Aws::String &value)
AcknowledgeThirdPartyJobRequest & WithJobId(const char *value)
AcknowledgeThirdPartyJobRequest & WithNonce(const Aws::String &value)
#define AWS_CODEPIPELINE_API
AcknowledgeThirdPartyJobRequest & WithJobId(Aws::String &&value)
AcknowledgeThirdPartyJobRequest & WithClientToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AcknowledgeThirdPartyJobRequest & WithClientToken(Aws::String &&value)
JSON (JavaScript Object Notation).