AWS SDK for C++  0.14.3
AWS SDK for C++
PutThirdPartyJobFailureResultRequest.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
20 
21 namespace Aws
22 {
23 namespace CodePipeline
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
43  inline const Aws::String& GetJobId() const{ return m_jobId; }
44 
49  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
50 
55  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
56 
61  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
62 
67  inline PutThirdPartyJobFailureResultRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
68 
73  inline PutThirdPartyJobFailureResultRequest& WithJobId(Aws::String&& value) { SetJobId(value); return *this;}
74 
79  inline PutThirdPartyJobFailureResultRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
80 
85  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
86 
91  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
92 
97  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
98 
103  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
104 
109  inline PutThirdPartyJobFailureResultRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
110 
115  inline PutThirdPartyJobFailureResultRequest& WithClientToken(Aws::String&& value) { SetClientToken(value); return *this;}
116 
121  inline PutThirdPartyJobFailureResultRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
122 
123 
124  inline const FailureDetails& GetFailureDetails() const{ return m_failureDetails; }
125 
126 
127  inline void SetFailureDetails(const FailureDetails& value) { m_failureDetailsHasBeenSet = true; m_failureDetails = value; }
128 
129 
130  inline void SetFailureDetails(FailureDetails&& value) { m_failureDetailsHasBeenSet = true; m_failureDetails = value; }
131 
132 
133  inline PutThirdPartyJobFailureResultRequest& WithFailureDetails(const FailureDetails& value) { SetFailureDetails(value); return *this;}
134 
135 
136  inline PutThirdPartyJobFailureResultRequest& WithFailureDetails(FailureDetails&& value) { SetFailureDetails(value); return *this;}
137 
138  private:
139  Aws::String m_jobId;
140  bool m_jobIdHasBeenSet;
141  Aws::String m_clientToken;
142  bool m_clientTokenHasBeenSet;
143  FailureDetails m_failureDetails;
144  bool m_failureDetailsHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace CodePipeline
149 } // namespace Aws
PutThirdPartyJobFailureResultRequest & WithJobId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
PutThirdPartyJobFailureResultRequest & WithClientToken(const Aws::String &value)
PutThirdPartyJobFailureResultRequest & WithJobId(const char *value)
PutThirdPartyJobFailureResultRequest & WithClientToken(const char *value)
PutThirdPartyJobFailureResultRequest & WithFailureDetails(const FailureDetails &value)
PutThirdPartyJobFailureResultRequest & WithFailureDetails(FailureDetails &&value)
PutThirdPartyJobFailureResultRequest & WithJobId(const Aws::String &value)
#define AWS_CODEPIPELINE_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JSON (JavaScript Object Notation).
PutThirdPartyJobFailureResultRequest & WithClientToken(Aws::String &&value)