AWS SDK for C++  1.9.109
AWS SDK for C++
PutThirdPartyJobFailureResultRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace CodePipeline
16 {
17 namespace Model
18 {
19 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "PutThirdPartyJobFailureResult"; }
36 
37  Aws::String SerializePayload() const override;
38 
40 
41 
46  inline const Aws::String& GetJobId() const{ return m_jobId; }
47 
52  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
53 
58  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
59 
64  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
65 
70  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
71 
76  inline PutThirdPartyJobFailureResultRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
77 
82  inline PutThirdPartyJobFailureResultRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
83 
88  inline PutThirdPartyJobFailureResultRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
89 
90 
95  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
96 
101  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
102 
107  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
108 
113  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
114 
119  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
120 
125  inline PutThirdPartyJobFailureResultRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
126 
131  inline PutThirdPartyJobFailureResultRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
132 
137  inline PutThirdPartyJobFailureResultRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
138 
139 
143  inline const FailureDetails& GetFailureDetails() const{ return m_failureDetails; }
144 
148  inline bool FailureDetailsHasBeenSet() const { return m_failureDetailsHasBeenSet; }
149 
153  inline void SetFailureDetails(const FailureDetails& value) { m_failureDetailsHasBeenSet = true; m_failureDetails = value; }
154 
158  inline void SetFailureDetails(FailureDetails&& value) { m_failureDetailsHasBeenSet = true; m_failureDetails = std::move(value); }
159 
163  inline PutThirdPartyJobFailureResultRequest& WithFailureDetails(const FailureDetails& value) { SetFailureDetails(value); return *this;}
164 
168  inline PutThirdPartyJobFailureResultRequest& WithFailureDetails(FailureDetails&& value) { SetFailureDetails(std::move(value)); return *this;}
169 
170  private:
171 
172  Aws::String m_jobId;
173  bool m_jobIdHasBeenSet;
174 
175  Aws::String m_clientToken;
176  bool m_clientTokenHasBeenSet;
177 
178  FailureDetails m_failureDetails;
179  bool m_failureDetailsHasBeenSet;
180  };
181 
182 } // namespace Model
183 } // namespace CodePipeline
184 } // namespace Aws
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::WithClientToken
PutThirdPartyJobFailureResultRequest & WithClientToken(const Aws::String &value)
Definition: PutThirdPartyJobFailureResultRequest.h:125
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::GetJobId
const Aws::String & GetJobId() const
Definition: PutThirdPartyJobFailureResultRequest.h:46
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::SetFailureDetails
void SetFailureDetails(FailureDetails &&value)
Definition: PutThirdPartyJobFailureResultRequest.h:158
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::WithClientToken
PutThirdPartyJobFailureResultRequest & WithClientToken(Aws::String &&value)
Definition: PutThirdPartyJobFailureResultRequest.h:131
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest
Definition: PutThirdPartyJobFailureResultRequest.h:27
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::SetJobId
void SetJobId(Aws::String &&value)
Definition: PutThirdPartyJobFailureResultRequest.h:64
CodePipelineRequest.h
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::PutThirdPartyJobFailureResultRequest
PutThirdPartyJobFailureResultRequest()
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::GetFailureDetails
const FailureDetails & GetFailureDetails() const
Definition: PutThirdPartyJobFailureResultRequest.h:143
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: PutThirdPartyJobFailureResultRequest.h:107
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::SetClientToken
void SetClientToken(const char *value)
Definition: PutThirdPartyJobFailureResultRequest.h:119
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::WithJobId
PutThirdPartyJobFailureResultRequest & WithJobId(const Aws::String &value)
Definition: PutThirdPartyJobFailureResultRequest.h:76
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::WithJobId
PutThirdPartyJobFailureResultRequest & WithJobId(const char *value)
Definition: PutThirdPartyJobFailureResultRequest.h:88
Aws::CodePipeline::Model::FailureDetails
Definition: FailureDetails.h:33
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::SetJobId
void SetJobId(const Aws::String &value)
Definition: PutThirdPartyJobFailureResultRequest.h:58
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::FailureDetailsHasBeenSet
bool FailureDetailsHasBeenSet() const
Definition: PutThirdPartyJobFailureResultRequest.h:148
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: PutThirdPartyJobFailureResultRequest.h:113
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: PutThirdPartyJobFailureResultRequest.h:101
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: PutThirdPartyJobFailureResultRequest.h:52
AWSString.h
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::SetJobId
void SetJobId(const char *value)
Definition: PutThirdPartyJobFailureResultRequest.h:70
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::SetFailureDetails
void SetFailureDetails(const FailureDetails &value)
Definition: PutThirdPartyJobFailureResultRequest.h:153
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutThirdPartyJobFailureResultRequest.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::WithJobId
PutThirdPartyJobFailureResultRequest & WithJobId(Aws::String &&value)
Definition: PutThirdPartyJobFailureResultRequest.h:82
FailureDetails.h
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::SerializePayload
Aws::String SerializePayload() const override
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::PutThirdPartyJobFailureResultRequest::WithFailureDetails
PutThirdPartyJobFailureResultRequest & WithFailureDetails(const FailureDetails &value)
Definition: PutThirdPartyJobFailureResultRequest.h:163
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::WithClientToken
PutThirdPartyJobFailureResultRequest & WithClientToken(const char *value)
Definition: PutThirdPartyJobFailureResultRequest.h:137
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: PutThirdPartyJobFailureResultRequest.h:95
Aws::CodePipeline::Model::PutThirdPartyJobFailureResultRequest::WithFailureDetails
PutThirdPartyJobFailureResultRequest & WithFailureDetails(FailureDetails &&value)
Definition: PutThirdPartyJobFailureResultRequest.h:168