AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ProvisioningArtifactPreferences.h
1
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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ServiceCatalog
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_SERVICECATALOG_API ProvisioningArtifactPreferences() = default;
44 AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
55 inline const Aws::Vector<Aws::String>& GetStackSetAccounts() const { return m_stackSetAccounts; }
56 inline bool StackSetAccountsHasBeenSet() const { return m_stackSetAccountsHasBeenSet; }
57 template<typename StackSetAccountsT = Aws::Vector<Aws::String>>
58 void SetStackSetAccounts(StackSetAccountsT&& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts = std::forward<StackSetAccountsT>(value); }
59 template<typename StackSetAccountsT = Aws::Vector<Aws::String>>
60 ProvisioningArtifactPreferences& WithStackSetAccounts(StackSetAccountsT&& value) { SetStackSetAccounts(std::forward<StackSetAccountsT>(value)); return *this;}
61 template<typename StackSetAccountsT = Aws::String>
62 ProvisioningArtifactPreferences& AddStackSetAccounts(StackSetAccountsT&& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts.emplace_back(std::forward<StackSetAccountsT>(value)); return *this; }
64
66
73 inline const Aws::Vector<Aws::String>& GetStackSetRegions() const { return m_stackSetRegions; }
74 inline bool StackSetRegionsHasBeenSet() const { return m_stackSetRegionsHasBeenSet; }
75 template<typename StackSetRegionsT = Aws::Vector<Aws::String>>
76 void SetStackSetRegions(StackSetRegionsT&& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions = std::forward<StackSetRegionsT>(value); }
77 template<typename StackSetRegionsT = Aws::Vector<Aws::String>>
78 ProvisioningArtifactPreferences& WithStackSetRegions(StackSetRegionsT&& value) { SetStackSetRegions(std::forward<StackSetRegionsT>(value)); return *this;}
79 template<typename StackSetRegionsT = Aws::String>
80 ProvisioningArtifactPreferences& AddStackSetRegions(StackSetRegionsT&& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions.emplace_back(std::forward<StackSetRegionsT>(value)); return *this; }
82 private:
83
84 Aws::Vector<Aws::String> m_stackSetAccounts;
85 bool m_stackSetAccountsHasBeenSet = false;
86
87 Aws::Vector<Aws::String> m_stackSetRegions;
88 bool m_stackSetRegionsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace ServiceCatalog
93} // namespace Aws
ProvisioningArtifactPreferences & AddStackSetAccounts(StackSetAccountsT &&value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SERVICECATALOG_API ProvisioningArtifactPreferences(Aws::Utils::Json::JsonView jsonValue)
ProvisioningArtifactPreferences & AddStackSetRegions(StackSetRegionsT &&value)
AWS_SERVICECATALOG_API ProvisioningArtifactPreferences & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisioningArtifactPreferences & WithStackSetRegions(StackSetRegionsT &&value)
ProvisioningArtifactPreferences & WithStackSetAccounts(StackSetAccountsT &&value)
AWS_SERVICECATALOG_API ProvisioningArtifactPreferences()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue