AWS SDK for C++  0.14.3
AWS SDK for C++
ThirdPartyJobDetails.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace CodePipeline
30 {
31 namespace Model
32 {
33 
39  {
40  public:
43  ThirdPartyJobDetails& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
44  Aws::Utils::Json::JsonValue Jsonize() const;
45 
49  inline const Aws::String& GetId() const{ return m_id; }
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 = value; }
60 
64  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 
69  inline ThirdPartyJobDetails& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline ThirdPartyJobDetails& WithId(Aws::String&& value) { SetId(value); return *this;}
75 
79  inline ThirdPartyJobDetails& WithId(const char* value) { SetId(value); return *this;}
80 
84  inline const ThirdPartyJobData& GetData() const{ return m_data; }
85 
89  inline void SetData(const ThirdPartyJobData& value) { m_dataHasBeenSet = true; m_data = value; }
90 
94  inline void SetData(ThirdPartyJobData&& value) { m_dataHasBeenSet = true; m_data = value; }
95 
99  inline ThirdPartyJobDetails& WithData(const ThirdPartyJobData& value) { SetData(value); return *this;}
100 
104  inline ThirdPartyJobDetails& WithData(ThirdPartyJobData&& value) { SetData(value); return *this;}
105 
111  inline const Aws::String& GetNonce() const{ return m_nonce; }
112 
118  inline void SetNonce(const Aws::String& value) { m_nonceHasBeenSet = true; m_nonce = value; }
119 
125  inline void SetNonce(Aws::String&& value) { m_nonceHasBeenSet = true; m_nonce = value; }
126 
132  inline void SetNonce(const char* value) { m_nonceHasBeenSet = true; m_nonce.assign(value); }
133 
139  inline ThirdPartyJobDetails& WithNonce(const Aws::String& value) { SetNonce(value); return *this;}
140 
146  inline ThirdPartyJobDetails& WithNonce(Aws::String&& value) { SetNonce(value); return *this;}
147 
153  inline ThirdPartyJobDetails& WithNonce(const char* value) { SetNonce(value); return *this;}
154 
155  private:
156  Aws::String m_id;
157  bool m_idHasBeenSet;
158  ThirdPartyJobData m_data;
159  bool m_dataHasBeenSet;
160  Aws::String m_nonce;
161  bool m_nonceHasBeenSet;
162  };
163 
164 } // namespace Model
165 } // namespace CodePipeline
166 } // namespace Aws
ThirdPartyJobDetails & WithId(const Aws::String &value)
ThirdPartyJobDetails & WithNonce(const char *value)
const ThirdPartyJobData & GetData() const
ThirdPartyJobDetails & WithId(Aws::String &&value)
ThirdPartyJobDetails & WithId(const char *value)
ThirdPartyJobDetails & WithData(ThirdPartyJobData &&value)
void SetData(const ThirdPartyJobData &value)
#define AWS_CODEPIPELINE_API
ThirdPartyJobDetails & WithNonce(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ThirdPartyJobDetails & WithNonce(const Aws::String &value)
ThirdPartyJobDetails & WithData(const ThirdPartyJobData &value)
JSON (JavaScript Object Notation).