AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ServiceAccessSecurityGroups.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/evs/EVS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EVS {
21namespace Model {
22
32 public:
33 AWS_EVS_API ServiceAccessSecurityGroups() = default;
37
39
42 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const { return m_securityGroups; }
43 inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
44 template <typename SecurityGroupsT = Aws::Vector<Aws::String>>
45 void SetSecurityGroups(SecurityGroupsT&& value) {
46 m_securityGroupsHasBeenSet = true;
47 m_securityGroups = std::forward<SecurityGroupsT>(value);
48 }
49 template <typename SecurityGroupsT = Aws::Vector<Aws::String>>
51 SetSecurityGroups(std::forward<SecurityGroupsT>(value));
52 return *this;
53 }
54 template <typename SecurityGroupsT = Aws::String>
56 m_securityGroupsHasBeenSet = true;
57 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
58 return *this;
59 }
61 private:
62 Aws::Vector<Aws::String> m_securityGroups;
63 bool m_securityGroupsHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace EVS
68} // 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