AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ProvisioningArtifactPreferences.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace ServiceCatalog {
21namespace Model {
22
35 public:
36 AWS_SERVICECATALOG_API ProvisioningArtifactPreferences() = default;
37 AWS_SERVICECATALOG_API ProvisioningArtifactPreferences(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
38 AWS_SERVICECATALOG_API ProvisioningArtifactPreferences& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
39 AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
40
42
49 inline const Aws::Vector<Aws::String>& GetStackSetAccounts() const { return m_stackSetAccounts; }
50 inline bool StackSetAccountsHasBeenSet() const { return m_stackSetAccountsHasBeenSet; }
51 template <typename StackSetAccountsT = Aws::Vector<Aws::String>>
52 void SetStackSetAccounts(StackSetAccountsT&& value) {
53 m_stackSetAccountsHasBeenSet = true;
54 m_stackSetAccounts = std::forward<StackSetAccountsT>(value);
55 }
56 template <typename StackSetAccountsT = Aws::Vector<Aws::String>>
58 SetStackSetAccounts(std::forward<StackSetAccountsT>(value));
59 return *this;
60 }
61 template <typename StackSetAccountsT = Aws::String>
63 m_stackSetAccountsHasBeenSet = true;
64 m_stackSetAccounts.emplace_back(std::forward<StackSetAccountsT>(value));
65 return *this;
66 }
68
70
77 inline const Aws::Vector<Aws::String>& GetStackSetRegions() const { return m_stackSetRegions; }
78 inline bool StackSetRegionsHasBeenSet() const { return m_stackSetRegionsHasBeenSet; }
79 template <typename StackSetRegionsT = Aws::Vector<Aws::String>>
80 void SetStackSetRegions(StackSetRegionsT&& value) {
81 m_stackSetRegionsHasBeenSet = true;
82 m_stackSetRegions = std::forward<StackSetRegionsT>(value);
83 }
84 template <typename StackSetRegionsT = Aws::Vector<Aws::String>>
86 SetStackSetRegions(std::forward<StackSetRegionsT>(value));
87 return *this;
88 }
89 template <typename StackSetRegionsT = Aws::String>
91 m_stackSetRegionsHasBeenSet = true;
92 m_stackSetRegions.emplace_back(std::forward<StackSetRegionsT>(value));
93 return *this;
94 }
96 private:
97 Aws::Vector<Aws::String> m_stackSetAccounts;
98
99 Aws::Vector<Aws::String> m_stackSetRegions;
100 bool m_stackSetAccountsHasBeenSet = false;
101 bool m_stackSetRegionsHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace ServiceCatalog
106} // namespace Aws
ProvisioningArtifactPreferences & AddStackSetAccounts(StackSetAccountsT &&value)
AWS_SERVICECATALOG_API ProvisioningArtifactPreferences & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ProvisioningArtifactPreferences & AddStackSetRegions(StackSetRegionsT &&value)
ProvisioningArtifactPreferences & WithStackSetRegions(StackSetRegionsT &&value)
AWS_SERVICECATALOG_API ProvisioningArtifactPreferences(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ProvisioningArtifactPreferences & WithStackSetAccounts(StackSetAccountsT &&value)
AWS_SERVICECATALOG_API ProvisioningArtifactPreferences()=default
std::vector< T, Aws::Allocator< T > > Vector