AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutJobSuccessResultRequest.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/CodePipelineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codepipeline/model/CurrentRevision.h>
11#include <aws/codepipeline/model/ExecutionDetails.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CodePipeline
18{
19namespace Model
20{
21
29 {
30 public:
31 AWS_CODEPIPELINE_API PutJobSuccessResultRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "PutJobSuccessResult"; }
38
39 AWS_CODEPIPELINE_API Aws::String SerializePayload() const override;
40
41 AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
42
43
45
49 inline const Aws::String& GetJobId() const{ return m_jobId; }
50 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
51 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
52 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
53 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
54 inline PutJobSuccessResultRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
55 inline PutJobSuccessResultRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
56 inline PutJobSuccessResultRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
58
60
64 inline const CurrentRevision& GetCurrentRevision() const{ return m_currentRevision; }
65 inline bool CurrentRevisionHasBeenSet() const { return m_currentRevisionHasBeenSet; }
66 inline void SetCurrentRevision(const CurrentRevision& value) { m_currentRevisionHasBeenSet = true; m_currentRevision = value; }
67 inline void SetCurrentRevision(CurrentRevision&& value) { m_currentRevisionHasBeenSet = true; m_currentRevision = std::move(value); }
69 inline PutJobSuccessResultRequest& WithCurrentRevision(CurrentRevision&& value) { SetCurrentRevision(std::move(value)); return *this;}
71
73
80 inline const Aws::String& GetContinuationToken() const{ return m_continuationToken; }
81 inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; }
82 inline void SetContinuationToken(const Aws::String& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = value; }
83 inline void SetContinuationToken(Aws::String&& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = std::move(value); }
84 inline void SetContinuationToken(const char* value) { m_continuationTokenHasBeenSet = true; m_continuationToken.assign(value); }
86 inline PutJobSuccessResultRequest& WithContinuationToken(Aws::String&& value) { SetContinuationToken(std::move(value)); return *this;}
87 inline PutJobSuccessResultRequest& WithContinuationToken(const char* value) { SetContinuationToken(value); return *this;}
89
91
95 inline const ExecutionDetails& GetExecutionDetails() const{ return m_executionDetails; }
96 inline bool ExecutionDetailsHasBeenSet() const { return m_executionDetailsHasBeenSet; }
97 inline void SetExecutionDetails(const ExecutionDetails& value) { m_executionDetailsHasBeenSet = true; m_executionDetails = value; }
98 inline void SetExecutionDetails(ExecutionDetails&& value) { m_executionDetailsHasBeenSet = true; m_executionDetails = std::move(value); }
100 inline PutJobSuccessResultRequest& WithExecutionDetails(ExecutionDetails&& value) { SetExecutionDetails(std::move(value)); return *this;}
102
104
109 inline const Aws::Map<Aws::String, Aws::String>& GetOutputVariables() const{ return m_outputVariables; }
110 inline bool OutputVariablesHasBeenSet() const { return m_outputVariablesHasBeenSet; }
111 inline void SetOutputVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_outputVariablesHasBeenSet = true; m_outputVariables = value; }
112 inline void SetOutputVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables = std::move(value); }
115 inline PutJobSuccessResultRequest& AddOutputVariables(const Aws::String& key, const Aws::String& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, value); return *this; }
116 inline PutJobSuccessResultRequest& AddOutputVariables(Aws::String&& key, const Aws::String& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::move(key), value); return *this; }
117 inline PutJobSuccessResultRequest& AddOutputVariables(const Aws::String& key, Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, std::move(value)); return *this; }
118 inline PutJobSuccessResultRequest& AddOutputVariables(Aws::String&& key, Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::move(key), std::move(value)); return *this; }
119 inline PutJobSuccessResultRequest& AddOutputVariables(const char* key, Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, std::move(value)); return *this; }
120 inline PutJobSuccessResultRequest& AddOutputVariables(Aws::String&& key, const char* value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::move(key), value); return *this; }
121 inline PutJobSuccessResultRequest& AddOutputVariables(const char* key, const char* value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, value); return *this; }
123 private:
124
125 Aws::String m_jobId;
126 bool m_jobIdHasBeenSet = false;
127
128 CurrentRevision m_currentRevision;
129 bool m_currentRevisionHasBeenSet = false;
130
131 Aws::String m_continuationToken;
132 bool m_continuationTokenHasBeenSet = false;
133
134 ExecutionDetails m_executionDetails;
135 bool m_executionDetailsHasBeenSet = false;
136
137 Aws::Map<Aws::String, Aws::String> m_outputVariables;
138 bool m_outputVariablesHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace CodePipeline
143} // namespace Aws
PutJobSuccessResultRequest & WithOutputVariables(const Aws::Map< Aws::String, Aws::String > &value)
PutJobSuccessResultRequest & AddOutputVariables(const Aws::String &key, Aws::String &&value)
PutJobSuccessResultRequest & WithContinuationToken(Aws::String &&value)
AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutJobSuccessResultRequest & WithContinuationToken(const char *value)
PutJobSuccessResultRequest & WithJobId(Aws::String &&value)
PutJobSuccessResultRequest & WithCurrentRevision(const CurrentRevision &value)
PutJobSuccessResultRequest & WithContinuationToken(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetOutputVariables() const
AWS_CODEPIPELINE_API Aws::String SerializePayload() const override
void SetOutputVariables(Aws::Map< Aws::String, Aws::String > &&value)
PutJobSuccessResultRequest & AddOutputVariables(Aws::String &&key, const Aws::String &value)
PutJobSuccessResultRequest & WithExecutionDetails(ExecutionDetails &&value)
PutJobSuccessResultRequest & AddOutputVariables(Aws::String &&key, Aws::String &&value)
PutJobSuccessResultRequest & AddOutputVariables(Aws::String &&key, const char *value)
PutJobSuccessResultRequest & AddOutputVariables(const char *key, Aws::String &&value)
PutJobSuccessResultRequest & WithJobId(const Aws::String &value)
PutJobSuccessResultRequest & WithExecutionDetails(const ExecutionDetails &value)
PutJobSuccessResultRequest & WithJobId(const char *value)
PutJobSuccessResultRequest & WithOutputVariables(Aws::Map< Aws::String, Aws::String > &&value)
void SetOutputVariables(const Aws::Map< Aws::String, Aws::String > &value)
PutJobSuccessResultRequest & AddOutputVariables(const char *key, const char *value)
PutJobSuccessResultRequest & AddOutputVariables(const Aws::String &key, const Aws::String &value)
PutJobSuccessResultRequest & WithCurrentRevision(CurrentRevision &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String