AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobDetails.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
34 {
35 public:
36 AWS_CODEPIPELINE_API JobDetails();
37 AWS_CODEPIPELINE_API JobDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API JobDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline JobDetails& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline JobDetails& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline JobDetails& WithId(const char* value) { SetId(value); return *this;}
55
57
61 inline const JobData& GetData() const{ return m_data; }
62 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
63 inline void SetData(const JobData& value) { m_dataHasBeenSet = true; m_data = value; }
64 inline void SetData(JobData&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
65 inline JobDetails& WithData(const JobData& value) { SetData(value); return *this;}
66 inline JobDetails& WithData(JobData&& value) { SetData(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetAccountId() const{ return m_accountId; }
74 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
75 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
76 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
77 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
78 inline JobDetails& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
79 inline JobDetails& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
80 inline JobDetails& WithAccountId(const char* value) { SetAccountId(value); return *this;}
82 private:
83
84 Aws::String m_id;
85 bool m_idHasBeenSet = false;
86
87 JobData m_data;
88 bool m_dataHasBeenSet = false;
89
90 Aws::String m_accountId;
91 bool m_accountIdHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace CodePipeline
96} // namespace Aws
JobDetails & WithId(const char *value)
Definition JobDetails.h:53
AWS_CODEPIPELINE_API JobDetails(Aws::Utils::Json::JsonView jsonValue)
void SetData(JobData &&value)
Definition JobDetails.h:64
JobDetails & WithId(Aws::String &&value)
Definition JobDetails.h:52
void SetAccountId(const char *value)
Definition JobDetails.h:77
JobDetails & WithAccountId(const Aws::String &value)
Definition JobDetails.h:78
void SetAccountId(const Aws::String &value)
Definition JobDetails.h:75
void SetData(const JobData &value)
Definition JobDetails.h:63
const Aws::String & GetId() const
Definition JobDetails.h:46
JobDetails & WithAccountId(Aws::String &&value)
Definition JobDetails.h:79
const Aws::String & GetAccountId() const
Definition JobDetails.h:73
void SetId(Aws::String &&value)
Definition JobDetails.h:49
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetId(const char *value)
Definition JobDetails.h:50
AWS_CODEPIPELINE_API JobDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API JobDetails()
const JobData & GetData() const
Definition JobDetails.h:61
JobDetails & WithId(const Aws::String &value)
Definition JobDetails.h:51
void SetAccountId(Aws::String &&value)
Definition JobDetails.h:76
JobDetails & WithAccountId(const char *value)
Definition JobDetails.h:80
JobDetails & WithData(JobData &&value)
Definition JobDetails.h:66
void SetId(const Aws::String &value)
Definition JobDetails.h:48
JobDetails & WithData(const JobData &value)
Definition JobDetails.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue