AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Job.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codepipeline/model/JobData.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodePipeline
23{
24namespace Model
25{
26
32 class Job
33 {
34 public:
35 AWS_CODEPIPELINE_API Job();
36 AWS_CODEPIPELINE_API Job(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEPIPELINE_API Job& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline Job& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline Job& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline Job& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const JobData& GetData() const{ return m_data; }
60 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
61 inline void SetData(const JobData& value) { m_dataHasBeenSet = true; m_data = value; }
62 inline void SetData(JobData&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
63 inline Job& WithData(const JobData& value) { SetData(value); return *this;}
64 inline Job& WithData(JobData&& value) { SetData(std::move(value)); return *this;}
66
68
73 inline const Aws::String& GetNonce() const{ return m_nonce; }
74 inline bool NonceHasBeenSet() const { return m_nonceHasBeenSet; }
75 inline void SetNonce(const Aws::String& value) { m_nonceHasBeenSet = true; m_nonce = value; }
76 inline void SetNonce(Aws::String&& value) { m_nonceHasBeenSet = true; m_nonce = std::move(value); }
77 inline void SetNonce(const char* value) { m_nonceHasBeenSet = true; m_nonce.assign(value); }
78 inline Job& WithNonce(const Aws::String& value) { SetNonce(value); return *this;}
79 inline Job& WithNonce(Aws::String&& value) { SetNonce(std::move(value)); return *this;}
80 inline Job& WithNonce(const char* value) { SetNonce(value); return *this;}
82
84
87 inline const Aws::String& GetAccountId() const{ return m_accountId; }
88 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
89 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
90 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
91 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
92 inline Job& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
93 inline Job& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
94 inline Job& WithAccountId(const char* value) { SetAccountId(value); return *this;}
96 private:
97
98 Aws::String m_id;
99 bool m_idHasBeenSet = false;
100
101 JobData m_data;
102 bool m_dataHasBeenSet = false;
103
104 Aws::String m_nonce;
105 bool m_nonceHasBeenSet = false;
106
107 Aws::String m_accountId;
108 bool m_accountIdHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace CodePipeline
113} // namespace Aws
AWS_CODEPIPELINE_API Job(Aws::Utils::Json::JsonView jsonValue)
Job & WithId(const Aws::String &value)
Definition Job.h:50
bool IdHasBeenSet() const
Definition Job.h:46
Job & WithId(Aws::String &&value)
Definition Job.h:51
void SetNonce(const char *value)
Definition Job.h:77
void SetData(JobData &&value)
Definition Job.h:62
const Aws::String & GetAccountId() const
Definition Job.h:87
Job & WithNonce(const char *value)
Definition Job.h:80
AWS_CODEPIPELINE_API Job()
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetId(const char *value)
Definition Job.h:49
void SetAccountId(Aws::String &&value)
Definition Job.h:90
Job & WithNonce(Aws::String &&value)
Definition Job.h:79
const Aws::String & GetNonce() const
Definition Job.h:73
void SetAccountId(const char *value)
Definition Job.h:91
bool NonceHasBeenSet() const
Definition Job.h:74
void SetAccountId(const Aws::String &value)
Definition Job.h:89
Job & WithAccountId(const Aws::String &value)
Definition Job.h:92
bool DataHasBeenSet() const
Definition Job.h:60
Job & WithData(const JobData &value)
Definition Job.h:63
Job & WithNonce(const Aws::String &value)
Definition Job.h:78
void SetNonce(Aws::String &&value)
Definition Job.h:76
Job & WithAccountId(Aws::String &&value)
Definition Job.h:93
void SetNonce(const Aws::String &value)
Definition Job.h:75
AWS_CODEPIPELINE_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
Job & WithData(JobData &&value)
Definition Job.h:64
void SetId(const Aws::String &value)
Definition Job.h:47
void SetId(Aws::String &&value)
Definition Job.h:48
void SetData(const JobData &value)
Definition Job.h:61
Job & WithAccountId(const char *value)
Definition Job.h:94
const Aws::String & GetId() const
Definition Job.h:45
bool AccountIdHasBeenSet() const
Definition Job.h:88
const JobData & GetData() const
Definition Job.h:59
Job & WithId(const char *value)
Definition Job.h:52
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue