AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ServiceAccessSecurityGroups.h
1
6#pragma once
7#include <aws/evs/EVS_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 EVS
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_EVS_API ServiceAccessSecurityGroups() = default;
42
43
45
48 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const { return m_securityGroups; }
49 inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
50 template<typename SecurityGroupsT = Aws::Vector<Aws::String>>
51 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
52 template<typename SecurityGroupsT = Aws::Vector<Aws::String>>
53 ServiceAccessSecurityGroups& WithSecurityGroups(SecurityGroupsT&& value) { SetSecurityGroups(std::forward<SecurityGroupsT>(value)); return *this;}
54 template<typename SecurityGroupsT = Aws::String>
55 ServiceAccessSecurityGroups& AddSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value)); return *this; }
57 private:
58
59 Aws::Vector<Aws::String> m_securityGroups;
60 bool m_securityGroupsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace EVS
65} // namespace Aws
AWS_EVS_API ServiceAccessSecurityGroups()=default
ServiceAccessSecurityGroups & WithSecurityGroups(SecurityGroupsT &&value)
AWS_EVS_API ServiceAccessSecurityGroups & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
AWS_EVS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EVS_API ServiceAccessSecurityGroups(Aws::Utils::Json::JsonView jsonValue)
ServiceAccessSecurityGroups & AddSecurityGroups(SecurityGroupsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue