AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStackSetAccounts(const Aws::Vector<Aws::String>& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts = value; }
58 inline void SetStackSetAccounts(Aws::Vector<Aws::String>&& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts = std::move(value); }
61 inline ProvisioningArtifactPreferences& AddStackSetAccounts(const Aws::String& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts.push_back(value); return *this; }
62 inline ProvisioningArtifactPreferences& AddStackSetAccounts(Aws::String&& value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts.push_back(std::move(value)); return *this; }
63 inline ProvisioningArtifactPreferences& AddStackSetAccounts(const char* value) { m_stackSetAccountsHasBeenSet = true; m_stackSetAccounts.push_back(value); return *this; }
65
67
74 inline const Aws::Vector<Aws::String>& GetStackSetRegions() const{ return m_stackSetRegions; }
75 inline bool StackSetRegionsHasBeenSet() const { return m_stackSetRegionsHasBeenSet; }
76 inline void SetStackSetRegions(const Aws::Vector<Aws::String>& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions = value; }
77 inline void SetStackSetRegions(Aws::Vector<Aws::String>&& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions = std::move(value); }
80 inline ProvisioningArtifactPreferences& AddStackSetRegions(const Aws::String& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions.push_back(value); return *this; }
81 inline ProvisioningArtifactPreferences& AddStackSetRegions(Aws::String&& value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions.push_back(std::move(value)); return *this; }
82 inline ProvisioningArtifactPreferences& AddStackSetRegions(const char* value) { m_stackSetRegionsHasBeenSet = true; m_stackSetRegions.push_back(value); return *this; }
84 private:
85
86 Aws::Vector<Aws::String> m_stackSetAccounts;
87 bool m_stackSetAccountsHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_stackSetRegions;
90 bool m_stackSetRegionsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace ServiceCatalog
95} // namespace Aws
ProvisioningArtifactPreferences & AddStackSetAccounts(Aws::String &&value)
ProvisioningArtifactPreferences & AddStackSetAccounts(const char *value)
ProvisioningArtifactPreferences & AddStackSetRegions(const Aws::String &value)
AWS_SERVICECATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SERVICECATALOG_API ProvisioningArtifactPreferences(Aws::Utils::Json::JsonView jsonValue)
ProvisioningArtifactPreferences & AddStackSetRegions(Aws::String &&value)
AWS_SERVICECATALOG_API ProvisioningArtifactPreferences & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisioningArtifactPreferences & WithStackSetRegions(const Aws::Vector< Aws::String > &value)
ProvisioningArtifactPreferences & WithStackSetAccounts(const Aws::Vector< Aws::String > &value)
ProvisioningArtifactPreferences & WithStackSetRegions(Aws::Vector< Aws::String > &&value)
ProvisioningArtifactPreferences & AddStackSetRegions(const char *value)
ProvisioningArtifactPreferences & WithStackSetAccounts(Aws::Vector< Aws::String > &&value)
ProvisioningArtifactPreferences & AddStackSetAccounts(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue