1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17   class JsonValue;
18   class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ServiceCatalog
22 {
23 namespace Model
24 {
25 
26   /**
27    * <p>Information about a budget.</p><p><h3>See Also:</h3>   <a
28    * href="http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/BudgetDetail">AWS
29    * API Reference</a></p>
30    */
31   class AWS_SERVICECATALOG_API BudgetDetail
32   {
33   public:
34     BudgetDetail();
35     BudgetDetail(Aws::Utils::Json::JsonView jsonValue);
36     BudgetDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
37     Aws::Utils::Json::JsonValue Jsonize() const;
38 
39 
40     /**
41      * <p>Name of the associated budget.</p>
42      */
GetBudgetName()43     inline const Aws::String& GetBudgetName() const{ return m_budgetName; }
44 
45     /**
46      * <p>Name of the associated budget.</p>
47      */
BudgetNameHasBeenSet()48     inline bool BudgetNameHasBeenSet() const { return m_budgetNameHasBeenSet; }
49 
50     /**
51      * <p>Name of the associated budget.</p>
52      */
SetBudgetName(const Aws::String & value)53     inline void SetBudgetName(const Aws::String& value) { m_budgetNameHasBeenSet = true; m_budgetName = value; }
54 
55     /**
56      * <p>Name of the associated budget.</p>
57      */
SetBudgetName(Aws::String && value)58     inline void SetBudgetName(Aws::String&& value) { m_budgetNameHasBeenSet = true; m_budgetName = std::move(value); }
59 
60     /**
61      * <p>Name of the associated budget.</p>
62      */
SetBudgetName(const char * value)63     inline void SetBudgetName(const char* value) { m_budgetNameHasBeenSet = true; m_budgetName.assign(value); }
64 
65     /**
66      * <p>Name of the associated budget.</p>
67      */
WithBudgetName(const Aws::String & value)68     inline BudgetDetail& WithBudgetName(const Aws::String& value) { SetBudgetName(value); return *this;}
69 
70     /**
71      * <p>Name of the associated budget.</p>
72      */
WithBudgetName(Aws::String && value)73     inline BudgetDetail& WithBudgetName(Aws::String&& value) { SetBudgetName(std::move(value)); return *this;}
74 
75     /**
76      * <p>Name of the associated budget.</p>
77      */
WithBudgetName(const char * value)78     inline BudgetDetail& WithBudgetName(const char* value) { SetBudgetName(value); return *this;}
79 
80   private:
81 
82     Aws::String m_budgetName;
83     bool m_budgetNameHasBeenSet;
84   };
85 
86 } // namespace Model
87 } // namespace ServiceCatalog
88 } // namespace Aws
89