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/AWSVector.h>
9 #include <aws/servicecatalog/model/ExecutionParameter.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21   class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace ServiceCatalog
25 {
26 namespace Model
27 {
28   class AWS_SERVICECATALOG_API DescribeServiceActionExecutionParametersResult
29   {
30   public:
31     DescribeServiceActionExecutionParametersResult();
32     DescribeServiceActionExecutionParametersResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33     DescribeServiceActionExecutionParametersResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
34 
35 
36     /**
37      * <p>The parameters of the self-service action.</p>
38      */
GetServiceActionParameters()39     inline const Aws::Vector<ExecutionParameter>& GetServiceActionParameters() const{ return m_serviceActionParameters; }
40 
41     /**
42      * <p>The parameters of the self-service action.</p>
43      */
SetServiceActionParameters(const Aws::Vector<ExecutionParameter> & value)44     inline void SetServiceActionParameters(const Aws::Vector<ExecutionParameter>& value) { m_serviceActionParameters = value; }
45 
46     /**
47      * <p>The parameters of the self-service action.</p>
48      */
SetServiceActionParameters(Aws::Vector<ExecutionParameter> && value)49     inline void SetServiceActionParameters(Aws::Vector<ExecutionParameter>&& value) { m_serviceActionParameters = std::move(value); }
50 
51     /**
52      * <p>The parameters of the self-service action.</p>
53      */
WithServiceActionParameters(const Aws::Vector<ExecutionParameter> & value)54     inline DescribeServiceActionExecutionParametersResult& WithServiceActionParameters(const Aws::Vector<ExecutionParameter>& value) { SetServiceActionParameters(value); return *this;}
55 
56     /**
57      * <p>The parameters of the self-service action.</p>
58      */
WithServiceActionParameters(Aws::Vector<ExecutionParameter> && value)59     inline DescribeServiceActionExecutionParametersResult& WithServiceActionParameters(Aws::Vector<ExecutionParameter>&& value) { SetServiceActionParameters(std::move(value)); return *this;}
60 
61     /**
62      * <p>The parameters of the self-service action.</p>
63      */
AddServiceActionParameters(const ExecutionParameter & value)64     inline DescribeServiceActionExecutionParametersResult& AddServiceActionParameters(const ExecutionParameter& value) { m_serviceActionParameters.push_back(value); return *this; }
65 
66     /**
67      * <p>The parameters of the self-service action.</p>
68      */
AddServiceActionParameters(ExecutionParameter && value)69     inline DescribeServiceActionExecutionParametersResult& AddServiceActionParameters(ExecutionParameter&& value) { m_serviceActionParameters.push_back(std::move(value)); return *this; }
70 
71   private:
72 
73     Aws::Vector<ExecutionParameter> m_serviceActionParameters;
74   };
75 
76 } // namespace Model
77 } // namespace ServiceCatalog
78 } // namespace Aws
79