AWS SDK for C++  1.9.130
AWS SDK for C++
Job.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace CodePipeline
23 {
24 namespace Model
25 {
26 
33  {
34  public:
35  Job();
39 
40 
44  inline const Aws::String& GetId() const{ return m_id; }
45 
49  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 
54  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 
59  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 
64  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 
69  inline Job& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline Job& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 
79  inline Job& WithId(const char* value) { SetId(value); return *this;}
80 
81 
85  inline const JobData& GetData() const{ return m_data; }
86 
90  inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
91 
95  inline void SetData(const JobData& value) { m_dataHasBeenSet = true; m_data = value; }
96 
100  inline void SetData(JobData&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
101 
105  inline Job& WithData(const JobData& value) { SetData(value); return *this;}
106 
110  inline Job& WithData(JobData&& value) { SetData(std::move(value)); return *this;}
111 
112 
118  inline const Aws::String& GetNonce() const{ return m_nonce; }
119 
125  inline bool NonceHasBeenSet() const { return m_nonceHasBeenSet; }
126 
132  inline void SetNonce(const Aws::String& value) { m_nonceHasBeenSet = true; m_nonce = value; }
133 
139  inline void SetNonce(Aws::String&& value) { m_nonceHasBeenSet = true; m_nonce = std::move(value); }
140 
146  inline void SetNonce(const char* value) { m_nonceHasBeenSet = true; m_nonce.assign(value); }
147 
153  inline Job& WithNonce(const Aws::String& value) { SetNonce(value); return *this;}
154 
160  inline Job& WithNonce(Aws::String&& value) { SetNonce(std::move(value)); return *this;}
161 
167  inline Job& WithNonce(const char* value) { SetNonce(value); return *this;}
168 
169 
173  inline const Aws::String& GetAccountId() const{ return m_accountId; }
174 
178  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
179 
183  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
184 
188  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
189 
193  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
194 
198  inline Job& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
199 
203  inline Job& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
204 
208  inline Job& WithAccountId(const char* value) { SetAccountId(value); return *this;}
209 
210  private:
211 
212  Aws::String m_id;
213  bool m_idHasBeenSet;
214 
215  JobData m_data;
216  bool m_dataHasBeenSet;
217 
218  Aws::String m_nonce;
219  bool m_nonceHasBeenSet;
220 
221  Aws::String m_accountId;
222  bool m_accountIdHasBeenSet;
223  };
224 
225 } // namespace Model
226 } // namespace CodePipeline
227 } // namespace Aws
Aws::CodePipeline::Model::Job::SetData
void SetData(JobData &&value)
Definition: Job.h:100
Aws::CodePipeline::Model::Job::SetNonce
void SetNonce(const char *value)
Definition: Job.h:146
Aws::CodePipeline::Model::Job::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: Job.h:183
Aws::CodePipeline::Model::Job::SetAccountId
void SetAccountId(const char *value)
Definition: Job.h:193
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::Job
Definition: Job.h:33
Aws::CodePipeline::Model::Job::SetNonce
void SetNonce(Aws::String &&value)
Definition: Job.h:139
Aws::CodePipeline::Model::Job::SetId
void SetId(const char *value)
Definition: Job.h:64
Aws::CodePipeline::Model::Job::WithNonce
Job & WithNonce(const Aws::String &value)
Definition: Job.h:153
Aws::CodePipeline::Model::Job::SetId
void SetId(const Aws::String &value)
Definition: Job.h:54
Aws::CodePipeline::Model::Job::GetId
const Aws::String & GetId() const
Definition: Job.h:44
Aws::CodePipeline::Model::Job::GetAccountId
const Aws::String & GetAccountId() const
Definition: Job.h:173
Aws::CodePipeline::Model::Job::operator=
Job & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::Job::WithId
Job & WithId(const Aws::String &value)
Definition: Job.h:69
Aws::CodePipeline::Model::Job::WithNonce
Job & WithNonce(Aws::String &&value)
Definition: Job.h:160
Aws::CodePipeline::Model::Job::GetNonce
const Aws::String & GetNonce() const
Definition: Job.h:118
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::Job::SetId
void SetId(Aws::String &&value)
Definition: Job.h:59
Aws::CodePipeline::Model::Job::Job
Job(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::Job::SetData
void SetData(const JobData &value)
Definition: Job.h:95
Aws::CodePipeline::Model::Job::WithId
Job & WithId(const char *value)
Definition: Job.h:79
Aws::CodePipeline::Model::Job::WithData
Job & WithData(JobData &&value)
Definition: Job.h:110
Aws::CodePipeline::Model::Job::GetData
const JobData & GetData() const
Definition: Job.h:85
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::CodePipeline::Model::Job::Job
Job()
Aws::CodePipeline::Model::Job::WithAccountId
Job & WithAccountId(Aws::String &&value)
Definition: Job.h:203
Aws::CodePipeline::Model::Job::WithNonce
Job & WithNonce(const char *value)
Definition: Job.h:167
Aws::CodePipeline::Model::Job::IdHasBeenSet
bool IdHasBeenSet() const
Definition: Job.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::Model::Job::DataHasBeenSet
bool DataHasBeenSet() const
Definition: Job.h:90
Aws::CodePipeline::Model::Job::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodePipeline::Model::Job::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: Job.h:178
Aws::CodePipeline::Model::JobData
Definition: JobData.h:40
Aws::CodePipeline::Model::Job::WithData
Job & WithData(const JobData &value)
Definition: Job.h:105
Aws::CodePipeline::Model::Job::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: Job.h:188
Aws::CodePipeline::Model::Job::WithAccountId
Job & WithAccountId(const char *value)
Definition: Job.h:208
Aws::CodePipeline::Model::Job::SetNonce
void SetNonce(const Aws::String &value)
Definition: Job.h:132
Aws::CodePipeline::Model::Job::WithId
Job & WithId(Aws::String &&value)
Definition: Job.h:74
JobData.h
Aws::CodePipeline::Model::Job::NonceHasBeenSet
bool NonceHasBeenSet() const
Definition: Job.h:125
Aws::CodePipeline::Model::Job::WithAccountId
Job & WithAccountId(const Aws::String &value)
Definition: Job.h:198