AWS SDK for C++  0.14.3
AWS SDK for C++
ThirdPartyJob.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
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace CodePipeline
29 {
30 namespace Model
31 {
32 
38  {
39  public:
40  ThirdPartyJob();
42  ThirdPartyJob& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
43  Aws::Utils::Json::JsonValue Jsonize() const;
44 
49  inline const Aws::String& GetClientId() const{ return m_clientId; }
50 
55  inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
56 
61  inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
62 
67  inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
68 
73  inline ThirdPartyJob& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
74 
79  inline ThirdPartyJob& WithClientId(Aws::String&& value) { SetClientId(value); return *this;}
80 
85  inline ThirdPartyJob& WithClientId(const char* value) { SetClientId(value); return *this;}
86 
90  inline const Aws::String& GetJobId() const{ return m_jobId; }
91 
95  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
96 
100  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
101 
105  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
106 
110  inline ThirdPartyJob& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
111 
115  inline ThirdPartyJob& WithJobId(Aws::String&& value) { SetJobId(value); return *this;}
116 
120  inline ThirdPartyJob& WithJobId(const char* value) { SetJobId(value); return *this;}
121 
122  private:
123  Aws::String m_clientId;
124  bool m_clientIdHasBeenSet;
125  Aws::String m_jobId;
126  bool m_jobIdHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace CodePipeline
131 } // namespace Aws
void SetClientId(Aws::String &&value)
Definition: ThirdPartyJob.h:61
ThirdPartyJob & WithClientId(Aws::String &&value)
Definition: ThirdPartyJob.h:79
ThirdPartyJob & WithJobId(Aws::String &&value)
void SetJobId(Aws::String &&value)
const Aws::String & GetJobId() const
Definition: ThirdPartyJob.h:90
void SetClientId(const char *value)
Definition: ThirdPartyJob.h:67
const Aws::String & GetClientId() const
Definition: ThirdPartyJob.h:49
#define AWS_CODEPIPELINE_API
void SetJobId(const Aws::String &value)
Definition: ThirdPartyJob.h:95
ThirdPartyJob & WithJobId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ThirdPartyJob & WithClientId(const Aws::String &value)
Definition: ThirdPartyJob.h:73
ThirdPartyJob & WithClientId(const char *value)
Definition: ThirdPartyJob.h:85
JSON (JavaScript Object Notation).
void SetClientId(const Aws::String &value)
Definition: ThirdPartyJob.h:55
ThirdPartyJob & WithJobId(const char *value)