AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrganizationalUnitScope.h
1
6#pragma once
7#include <aws/fms/FMS_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 FMS
23{
24namespace Model
25{
26
38 {
39 public:
44
45
47
58 inline const Aws::Vector<Aws::String>& GetOrganizationalUnits() const{ return m_organizationalUnits; }
59 inline bool OrganizationalUnitsHasBeenSet() const { return m_organizationalUnitsHasBeenSet; }
60 inline void SetOrganizationalUnits(const Aws::Vector<Aws::String>& value) { m_organizationalUnitsHasBeenSet = true; m_organizationalUnits = value; }
61 inline void SetOrganizationalUnits(Aws::Vector<Aws::String>&& value) { m_organizationalUnitsHasBeenSet = true; m_organizationalUnits = std::move(value); }
64 inline OrganizationalUnitScope& AddOrganizationalUnits(const Aws::String& value) { m_organizationalUnitsHasBeenSet = true; m_organizationalUnits.push_back(value); return *this; }
65 inline OrganizationalUnitScope& AddOrganizationalUnits(Aws::String&& value) { m_organizationalUnitsHasBeenSet = true; m_organizationalUnits.push_back(std::move(value)); return *this; }
66 inline OrganizationalUnitScope& AddOrganizationalUnits(const char* value) { m_organizationalUnitsHasBeenSet = true; m_organizationalUnits.push_back(value); return *this; }
68
70
78 inline bool GetAllOrganizationalUnitsEnabled() const{ return m_allOrganizationalUnitsEnabled; }
79 inline bool AllOrganizationalUnitsEnabledHasBeenSet() const { return m_allOrganizationalUnitsEnabledHasBeenSet; }
80 inline void SetAllOrganizationalUnitsEnabled(bool value) { m_allOrganizationalUnitsEnabledHasBeenSet = true; m_allOrganizationalUnitsEnabled = value; }
83
85
97 inline bool GetExcludeSpecifiedOrganizationalUnits() const{ return m_excludeSpecifiedOrganizationalUnits; }
98 inline bool ExcludeSpecifiedOrganizationalUnitsHasBeenSet() const { return m_excludeSpecifiedOrganizationalUnitsHasBeenSet; }
99 inline void SetExcludeSpecifiedOrganizationalUnits(bool value) { m_excludeSpecifiedOrganizationalUnitsHasBeenSet = true; m_excludeSpecifiedOrganizationalUnits = value; }
102 private:
103
104 Aws::Vector<Aws::String> m_organizationalUnits;
105 bool m_organizationalUnitsHasBeenSet = false;
106
107 bool m_allOrganizationalUnitsEnabled;
108 bool m_allOrganizationalUnitsEnabledHasBeenSet = false;
109
110 bool m_excludeSpecifiedOrganizationalUnits;
111 bool m_excludeSpecifiedOrganizationalUnitsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace FMS
116} // namespace Aws
OrganizationalUnitScope & AddOrganizationalUnits(const Aws::String &value)
OrganizationalUnitScope & WithOrganizationalUnits(const Aws::Vector< Aws::String > &value)
void SetOrganizationalUnits(const Aws::Vector< Aws::String > &value)
OrganizationalUnitScope & AddOrganizationalUnits(const char *value)
OrganizationalUnitScope & AddOrganizationalUnits(Aws::String &&value)
AWS_FMS_API OrganizationalUnitScope & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOrganizationalUnits(Aws::Vector< Aws::String > &&value)
OrganizationalUnitScope & WithAllOrganizationalUnitsEnabled(bool value)
AWS_FMS_API OrganizationalUnitScope(Aws::Utils::Json::JsonView jsonValue)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
OrganizationalUnitScope & WithExcludeSpecifiedOrganizationalUnits(bool value)
const Aws::Vector< Aws::String > & GetOrganizationalUnits() const
OrganizationalUnitScope & WithOrganizationalUnits(Aws::Vector< 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