AWS SDK for C++  1.9.106
AWS SDK for C++
ThirdPartyJobDetails.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 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetId() const{ return m_id; }
46 
50  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 
55  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
56 
60  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
61 
65  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
66 
70  inline ThirdPartyJobDetails& WithId(const Aws::String& value) { SetId(value); return *this;}
71 
75  inline ThirdPartyJobDetails& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
76 
80  inline ThirdPartyJobDetails& WithId(const char* value) { SetId(value); return *this;}
81 
82 
86  inline const ThirdPartyJobData& GetData() const{ return m_data; }
87 
91  inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
92 
96  inline void SetData(const ThirdPartyJobData& value) { m_dataHasBeenSet = true; m_data = value; }
97 
101  inline void SetData(ThirdPartyJobData&& value) { m_dataHasBeenSet = true; m_data = std::move(value); }
102 
106  inline ThirdPartyJobDetails& WithData(const ThirdPartyJobData& value) { SetData(value); return *this;}
107 
111  inline ThirdPartyJobDetails& WithData(ThirdPartyJobData&& value) { SetData(std::move(value)); return *this;}
112 
113 
119  inline const Aws::String& GetNonce() const{ return m_nonce; }
120 
126  inline bool NonceHasBeenSet() const { return m_nonceHasBeenSet; }
127 
133  inline void SetNonce(const Aws::String& value) { m_nonceHasBeenSet = true; m_nonce = value; }
134 
140  inline void SetNonce(Aws::String&& value) { m_nonceHasBeenSet = true; m_nonce = std::move(value); }
141 
147  inline void SetNonce(const char* value) { m_nonceHasBeenSet = true; m_nonce.assign(value); }
148 
154  inline ThirdPartyJobDetails& WithNonce(const Aws::String& value) { SetNonce(value); return *this;}
155 
161  inline ThirdPartyJobDetails& WithNonce(Aws::String&& value) { SetNonce(std::move(value)); return *this;}
162 
168  inline ThirdPartyJobDetails& WithNonce(const char* value) { SetNonce(value); return *this;}
169 
170  private:
171 
172  Aws::String m_id;
173  bool m_idHasBeenSet;
174 
175  ThirdPartyJobData m_data;
176  bool m_dataHasBeenSet;
177 
178  Aws::String m_nonce;
179  bool m_nonceHasBeenSet;
180  };
181 
182 } // namespace Model
183 } // namespace CodePipeline
184 } // namespace Aws
Aws::CodePipeline::Model::ThirdPartyJobDetails::WithNonce
ThirdPartyJobDetails & WithNonce(const Aws::String &value)
Definition: ThirdPartyJobDetails.h:154
Aws::CodePipeline::Model::ThirdPartyJobData
Definition: ThirdPartyJobData.h:40
Aws::CodePipeline::Model::ThirdPartyJobDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodePipeline::Model::ThirdPartyJobDetails::WithData
ThirdPartyJobDetails & WithData(ThirdPartyJobData &&value)
Definition: ThirdPartyJobDetails.h:111
ThirdPartyJobData.h
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::ThirdPartyJobDetails::ThirdPartyJobDetails
ThirdPartyJobDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::ThirdPartyJobDetails::SetData
void SetData(const ThirdPartyJobData &value)
Definition: ThirdPartyJobDetails.h:96
Aws::CodePipeline::Model::ThirdPartyJobDetails::SetId
void SetId(Aws::String &&value)
Definition: ThirdPartyJobDetails.h:60
Aws::CodePipeline::Model::ThirdPartyJobDetails::SetNonce
void SetNonce(const Aws::String &value)
Definition: ThirdPartyJobDetails.h:133
Aws::CodePipeline::Model::ThirdPartyJobDetails::GetData
const ThirdPartyJobData & GetData() const
Definition: ThirdPartyJobDetails.h:86
Aws::CodePipeline::Model::ThirdPartyJobDetails::SetData
void SetData(ThirdPartyJobData &&value)
Definition: ThirdPartyJobDetails.h:101
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::ThirdPartyJobDetails::operator=
ThirdPartyJobDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::ThirdPartyJobDetails::WithNonce
ThirdPartyJobDetails & WithNonce(const char *value)
Definition: ThirdPartyJobDetails.h:168
Aws::CodePipeline::Model::ThirdPartyJobDetails::SetNonce
void SetNonce(Aws::String &&value)
Definition: ThirdPartyJobDetails.h:140
Aws::CodePipeline::Model::ThirdPartyJobDetails::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ThirdPartyJobDetails.h:50
Aws::CodePipeline::Model::ThirdPartyJobDetails::SetId
void SetId(const Aws::String &value)
Definition: ThirdPartyJobDetails.h:55
Aws::CodePipeline::Model::ThirdPartyJobDetails::ThirdPartyJobDetails
ThirdPartyJobDetails()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::CodePipeline::Model::ThirdPartyJobDetails::NonceHasBeenSet
bool NonceHasBeenSet() const
Definition: ThirdPartyJobDetails.h:126
Aws::CodePipeline::Model::ThirdPartyJobDetails::WithNonce
ThirdPartyJobDetails & WithNonce(Aws::String &&value)
Definition: ThirdPartyJobDetails.h:161
Aws::CodePipeline::Model::ThirdPartyJobDetails::DataHasBeenSet
bool DataHasBeenSet() const
Definition: ThirdPartyJobDetails.h:91
Aws::CodePipeline::Model::ThirdPartyJobDetails::SetNonce
void SetNonce(const char *value)
Definition: ThirdPartyJobDetails.h:147
Aws::CodePipeline::Model::ThirdPartyJobDetails::SetId
void SetId(const char *value)
Definition: ThirdPartyJobDetails.h:65
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::ThirdPartyJobDetails::WithId
ThirdPartyJobDetails & WithId(const Aws::String &value)
Definition: ThirdPartyJobDetails.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::Model::ThirdPartyJobDetails::GetId
const Aws::String & GetId() const
Definition: ThirdPartyJobDetails.h:45
Aws::CodePipeline::Model::ThirdPartyJobDetails::WithId
ThirdPartyJobDetails & WithId(const char *value)
Definition: ThirdPartyJobDetails.h:80
Aws::CodePipeline::Model::ThirdPartyJobDetails::GetNonce
const Aws::String & GetNonce() const
Definition: ThirdPartyJobDetails.h:119
Aws::CodePipeline::Model::ThirdPartyJobDetails
Definition: ThirdPartyJobDetails.h:34
Aws::CodePipeline::Model::ThirdPartyJobDetails::WithData
ThirdPartyJobDetails & WithData(const ThirdPartyJobData &value)
Definition: ThirdPartyJobDetails.h:106
Aws::CodePipeline::Model::ThirdPartyJobDetails::WithId
ThirdPartyJobDetails & WithId(Aws::String &&value)
Definition: ThirdPartyJobDetails.h:75