AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
46 {
47 public:
48 AWS_CONTROLCATALOG_API RegionConfiguration();
49 AWS_CONTROLCATALOG_API RegionConfiguration(Aws::Utils::Json::JsonView jsonValue);
50 AWS_CONTROLCATALOG_API RegionConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
51 AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
66 inline const ControlScope& GetScope() const{ return m_scope; }
67 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
68 inline void SetScope(const ControlScope& value) { m_scopeHasBeenSet = true; m_scope = value; }
69 inline void SetScope(ControlScope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
70 inline RegionConfiguration& WithScope(const ControlScope& value) { SetScope(value); return *this;}
71 inline RegionConfiguration& WithScope(ControlScope&& value) { SetScope(std::move(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 inline void SetDeployableRegions(const Aws::Vector<Aws::String>& value) { m_deployableRegionsHasBeenSet = true; m_deployableRegions = value; }
81 inline void SetDeployableRegions(Aws::Vector<Aws::String>&& value) { m_deployableRegionsHasBeenSet = true; m_deployableRegions = std::move(value); }
84 inline RegionConfiguration& AddDeployableRegions(const Aws::String& value) { m_deployableRegionsHasBeenSet = true; m_deployableRegions.push_back(value); return *this; }
85 inline RegionConfiguration& AddDeployableRegions(Aws::String&& value) { m_deployableRegionsHasBeenSet = true; m_deployableRegions.push_back(std::move(value)); return *this; }
86 inline RegionConfiguration& AddDeployableRegions(const char* value) { m_deployableRegionsHasBeenSet = true; m_deployableRegions.push_back(value); return *this; }
88 private:
89
90 ControlScope m_scope;
91 bool m_scopeHasBeenSet = false;
92
93 Aws::Vector<Aws::String> m_deployableRegions;
94 bool m_deployableRegionsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace ControlCatalog
99} // namespace Aws
const Aws::Vector< Aws::String > & GetDeployableRegions() const
AWS_CONTROLCATALOG_API RegionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTROLCATALOG_API RegionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
RegionConfiguration & AddDeployableRegions(Aws::String &&value)
RegionConfiguration & WithDeployableRegions(const Aws::Vector< Aws::String > &value)
RegionConfiguration & AddDeployableRegions(const Aws::String &value)
RegionConfiguration & AddDeployableRegions(const char *value)
AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeployableRegions(const Aws::Vector< Aws::String > &value)
RegionConfiguration & WithDeployableRegions(Aws::Vector< Aws::String > &&value)
RegionConfiguration & WithScope(ControlScope &&value)
void SetDeployableRegions(Aws::Vector< Aws::String > &&value)
RegionConfiguration & WithScope(const ControlScope &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