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/core/utils/memory/stl/AWSString.h> 10 #include <aws/servicecatalog/model/ServiceActionSummary.h> 11 #include <utility> 12 13 namespace Aws 14 { 15 template<typename RESULT_TYPE> 16 class AmazonWebServiceResult; 17 18 namespace Utils 19 { 20 namespace Json 21 { 22 class JsonValue; 23 } // namespace Json 24 } // namespace Utils 25 namespace ServiceCatalog 26 { 27 namespace Model 28 { 29 class AWS_SERVICECATALOG_API ListServiceActionsForProvisioningArtifactResult 30 { 31 public: 32 ListServiceActionsForProvisioningArtifactResult(); 33 ListServiceActionsForProvisioningArtifactResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 34 ListServiceActionsForProvisioningArtifactResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 35 36 37 /** 38 * <p>An object containing information about the self-service actions associated 39 * with the provisioning artifact.</p> 40 */ GetServiceActionSummaries()41 inline const Aws::Vector<ServiceActionSummary>& GetServiceActionSummaries() const{ return m_serviceActionSummaries; } 42 43 /** 44 * <p>An object containing information about the self-service actions associated 45 * with the provisioning artifact.</p> 46 */ SetServiceActionSummaries(const Aws::Vector<ServiceActionSummary> & value)47 inline void SetServiceActionSummaries(const Aws::Vector<ServiceActionSummary>& value) { m_serviceActionSummaries = value; } 48 49 /** 50 * <p>An object containing information about the self-service actions associated 51 * with the provisioning artifact.</p> 52 */ SetServiceActionSummaries(Aws::Vector<ServiceActionSummary> && value)53 inline void SetServiceActionSummaries(Aws::Vector<ServiceActionSummary>&& value) { m_serviceActionSummaries = std::move(value); } 54 55 /** 56 * <p>An object containing information about the self-service actions associated 57 * with the provisioning artifact.</p> 58 */ WithServiceActionSummaries(const Aws::Vector<ServiceActionSummary> & value)59 inline ListServiceActionsForProvisioningArtifactResult& WithServiceActionSummaries(const Aws::Vector<ServiceActionSummary>& value) { SetServiceActionSummaries(value); return *this;} 60 61 /** 62 * <p>An object containing information about the self-service actions associated 63 * with the provisioning artifact.</p> 64 */ WithServiceActionSummaries(Aws::Vector<ServiceActionSummary> && value)65 inline ListServiceActionsForProvisioningArtifactResult& WithServiceActionSummaries(Aws::Vector<ServiceActionSummary>&& value) { SetServiceActionSummaries(std::move(value)); return *this;} 66 67 /** 68 * <p>An object containing information about the self-service actions associated 69 * with the provisioning artifact.</p> 70 */ AddServiceActionSummaries(const ServiceActionSummary & value)71 inline ListServiceActionsForProvisioningArtifactResult& AddServiceActionSummaries(const ServiceActionSummary& value) { m_serviceActionSummaries.push_back(value); return *this; } 72 73 /** 74 * <p>An object containing information about the self-service actions associated 75 * with the provisioning artifact.</p> 76 */ AddServiceActionSummaries(ServiceActionSummary && value)77 inline ListServiceActionsForProvisioningArtifactResult& AddServiceActionSummaries(ServiceActionSummary&& value) { m_serviceActionSummaries.push_back(std::move(value)); return *this; } 78 79 80 /** 81 * <p>The page token to use to retrieve the next set of results. If there are no 82 * additional results, this value is null.</p> 83 */ GetNextPageToken()84 inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; } 85 86 /** 87 * <p>The page token to use to retrieve the next set of results. If there are no 88 * additional results, this value is null.</p> 89 */ SetNextPageToken(const Aws::String & value)90 inline void SetNextPageToken(const Aws::String& value) { m_nextPageToken = value; } 91 92 /** 93 * <p>The page token to use to retrieve the next set of results. If there are no 94 * additional results, this value is null.</p> 95 */ SetNextPageToken(Aws::String && value)96 inline void SetNextPageToken(Aws::String&& value) { m_nextPageToken = std::move(value); } 97 98 /** 99 * <p>The page token to use to retrieve the next set of results. If there are no 100 * additional results, this value is null.</p> 101 */ SetNextPageToken(const char * value)102 inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); } 103 104 /** 105 * <p>The page token to use to retrieve the next set of results. If there are no 106 * additional results, this value is null.</p> 107 */ WithNextPageToken(const Aws::String & value)108 inline ListServiceActionsForProvisioningArtifactResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;} 109 110 /** 111 * <p>The page token to use to retrieve the next set of results. If there are no 112 * additional results, this value is null.</p> 113 */ WithNextPageToken(Aws::String && value)114 inline ListServiceActionsForProvisioningArtifactResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;} 115 116 /** 117 * <p>The page token to use to retrieve the next set of results. If there are no 118 * additional results, this value is null.</p> 119 */ WithNextPageToken(const char * value)120 inline ListServiceActionsForProvisioningArtifactResult& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;} 121 122 private: 123 124 Aws::Vector<ServiceActionSummary> m_serviceActionSummaries; 125 126 Aws::String m_nextPageToken; 127 }; 128 129 } // namespace Model 130 } // namespace ServiceCatalog 131 } // namespace Aws 132