AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThirdPartyJobDetails.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/ThirdPartyJobData.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 ThirdPartyJobDetails();
37 AWS_CODEPIPELINE_API ThirdPartyJobDetails(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 ThirdPartyJobDetails& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline ThirdPartyJobDetails& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline ThirdPartyJobDetails& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const ThirdPartyJobData& GetData() const{ return m_data; }
61 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
62 inline void SetData(const ThirdPartyJobData& value) { m_dataHasBeenSet = true; m_data = value; }
63 inline void SetData(ThirdPartyJobData&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
64 inline ThirdPartyJobDetails& WithData(const ThirdPartyJobData& value) { SetData(value); return *this;}
65 inline ThirdPartyJobDetails& WithData(ThirdPartyJobData&& value) { SetData(std::move(value)); return *this;}
67
69
74 inline const Aws::String& GetNonce() const{ return m_nonce; }
75 inline bool NonceHasBeenSet() const { return m_nonceHasBeenSet; }
76 inline void SetNonce(const Aws::String& value) { m_nonceHasBeenSet = true; m_nonce = value; }
77 inline void SetNonce(Aws::String&& value) { m_nonceHasBeenSet = true; m_nonce = std::move(value); }
78 inline void SetNonce(const char* value) { m_nonceHasBeenSet = true; m_nonce.assign(value); }
79 inline ThirdPartyJobDetails& WithNonce(const Aws::String& value) { SetNonce(value); return *this;}
80 inline ThirdPartyJobDetails& WithNonce(Aws::String&& value) { SetNonce(std::move(value)); return *this;}
81 inline ThirdPartyJobDetails& WithNonce(const char* value) { SetNonce(value); return *this;}
83 private:
84
85 Aws::String m_id;
86 bool m_idHasBeenSet = false;
87
88 ThirdPartyJobData m_data;
89 bool m_dataHasBeenSet = false;
90
91 Aws::String m_nonce;
92 bool m_nonceHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace CodePipeline
97} // namespace Aws
ThirdPartyJobDetails & WithData(ThirdPartyJobData &&value)
ThirdPartyJobDetails & WithNonce(Aws::String &&value)
ThirdPartyJobDetails & WithNonce(const Aws::String &value)
AWS_CODEPIPELINE_API ThirdPartyJobDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ThirdPartyJobDetails & WithNonce(const char *value)
ThirdPartyJobDetails & WithId(Aws::String &&value)
void SetData(const ThirdPartyJobData &value)
ThirdPartyJobDetails & WithId(const char *value)
AWS_CODEPIPELINE_API ThirdPartyJobDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
ThirdPartyJobDetails & WithId(const Aws::String &value)
ThirdPartyJobDetails & WithData(const ThirdPartyJobData &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue