AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RegionConfiguration.h
1
6#pragma once
7#include <aws/controlcatalog/ControlCatalog_EXPORTS.h>
8#include <aws/controlcatalog/model/ControlScope.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ControlCatalog
24{
25namespace Model
26{
27
48 {
49 public:
50 AWS_CONTROLCATALOG_API RegionConfiguration() = default;
51 AWS_CONTROLCATALOG_API RegionConfiguration(Aws::Utils::Json::JsonView jsonValue);
52 AWS_CONTROLCATALOG_API RegionConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
53 AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
68 inline ControlScope GetScope() const { return m_scope; }
69 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
70 inline void SetScope(ControlScope value) { m_scopeHasBeenSet = true; m_scope = value; }
71 inline RegionConfiguration& WithScope(ControlScope value) { SetScope(value); return *this;}
73
75
78 inline const Aws::Vector<Aws::String>& GetDeployableRegions() const { return m_deployableRegions; }
79 inline bool DeployableRegionsHasBeenSet() const { return m_deployableRegionsHasBeenSet; }
80 template<typename DeployableRegionsT = Aws::Vector<Aws::String>>
81 void SetDeployableRegions(DeployableRegionsT&& value) { m_deployableRegionsHasBeenSet = true; m_deployableRegions = std::forward<DeployableRegionsT>(value); }
82 template<typename DeployableRegionsT = Aws::Vector<Aws::String>>
83 RegionConfiguration& WithDeployableRegions(DeployableRegionsT&& value) { SetDeployableRegions(std::forward<DeployableRegionsT>(value)); return *this;}
84 template<typename DeployableRegionsT = Aws::String>
85 RegionConfiguration& AddDeployableRegions(DeployableRegionsT&& value) { m_deployableRegionsHasBeenSet = true; m_deployableRegions.emplace_back(std::forward<DeployableRegionsT>(value)); return *this; }
87 private:
88
90 bool m_scopeHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_deployableRegions;
93 bool m_deployableRegionsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace ControlCatalog
98} // namespace Aws
RegionConfiguration & AddDeployableRegions(DeployableRegionsT &&value)
const Aws::Vector< Aws::String > & GetDeployableRegions() const
AWS_CONTROLCATALOG_API RegionConfiguration(Aws::Utils::Json::JsonView jsonValue)
RegionConfiguration & WithDeployableRegions(DeployableRegionsT &&value)
AWS_CONTROLCATALOG_API RegionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeployableRegions(DeployableRegionsT &&value)
AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
RegionConfiguration & WithScope(ControlScope value)
AWS_CONTROLCATALOG_API RegionConfiguration()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue