AWS SDK for C++  0.12.9
AWS SDK for C++
DeploymentOverview.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
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace CodeDeploy
28 {
29 namespace Model
30 {
31 
37  {
38  public:
41  DeploymentOverview& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
47  inline long long GetPending() const{ return m_pending; }
48 
52  inline void SetPending(long long value) { m_pendingHasBeenSet = true; m_pending = value; }
53 
57  inline DeploymentOverview& WithPending(long long value) { SetPending(value); return *this;}
58 
62  inline long long GetInProgress() const{ return m_inProgress; }
63 
67  inline void SetInProgress(long long value) { m_inProgressHasBeenSet = true; m_inProgress = value; }
68 
72  inline DeploymentOverview& WithInProgress(long long value) { SetInProgress(value); return *this;}
73 
78  inline long long GetSucceeded() const{ return m_succeeded; }
79 
84  inline void SetSucceeded(long long value) { m_succeededHasBeenSet = true; m_succeeded = value; }
85 
90  inline DeploymentOverview& WithSucceeded(long long value) { SetSucceeded(value); return *this;}
91 
95  inline long long GetFailed() const{ return m_failed; }
96 
100  inline void SetFailed(long long value) { m_failedHasBeenSet = true; m_failed = value; }
101 
105  inline DeploymentOverview& WithFailed(long long value) { SetFailed(value); return *this;}
106 
110  inline long long GetSkipped() const{ return m_skipped; }
111 
115  inline void SetSkipped(long long value) { m_skippedHasBeenSet = true; m_skipped = value; }
116 
120  inline DeploymentOverview& WithSkipped(long long value) { SetSkipped(value); return *this;}
121 
122  private:
123  long long m_pending;
124  bool m_pendingHasBeenSet;
125  long long m_inProgress;
126  bool m_inProgressHasBeenSet;
127  long long m_succeeded;
128  bool m_succeededHasBeenSet;
129  long long m_failed;
130  bool m_failedHasBeenSet;
131  long long m_skipped;
132  bool m_skippedHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace CodeDeploy
137 } // namespace Aws
DeploymentOverview & WithPending(long long value)
DeploymentOverview & WithSucceeded(long long value)
#define AWS_CODEDEPLOY_API
DeploymentOverview & WithInProgress(long long value)
DeploymentOverview & WithFailed(long long value)
DeploymentOverview & WithSkipped(long long value)
JSON (JavaScript Object Notation).