AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateSettings.h
1
6#pragma once
7#include <aws/license-manager-user-subscriptions/LicenseManagerUserSubscriptions_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 LicenseManagerUserSubscriptions
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API UpdateSettings() = default;
38 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API UpdateSettings(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API UpdateSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<Aws::String>& GetAddSubnets() const { return m_addSubnets; }
49 inline bool AddSubnetsHasBeenSet() const { return m_addSubnetsHasBeenSet; }
50 template<typename AddSubnetsT = Aws::Vector<Aws::String>>
51 void SetAddSubnets(AddSubnetsT&& value) { m_addSubnetsHasBeenSet = true; m_addSubnets = std::forward<AddSubnetsT>(value); }
52 template<typename AddSubnetsT = Aws::Vector<Aws::String>>
53 UpdateSettings& WithAddSubnets(AddSubnetsT&& value) { SetAddSubnets(std::forward<AddSubnetsT>(value)); return *this;}
54 template<typename AddSubnetsT = Aws::String>
55 UpdateSettings& AddAddSubnets(AddSubnetsT&& value) { m_addSubnetsHasBeenSet = true; m_addSubnets.emplace_back(std::forward<AddSubnetsT>(value)); return *this; }
57
59
62 inline const Aws::Vector<Aws::String>& GetRemoveSubnets() const { return m_removeSubnets; }
63 inline bool RemoveSubnetsHasBeenSet() const { return m_removeSubnetsHasBeenSet; }
64 template<typename RemoveSubnetsT = Aws::Vector<Aws::String>>
65 void SetRemoveSubnets(RemoveSubnetsT&& value) { m_removeSubnetsHasBeenSet = true; m_removeSubnets = std::forward<RemoveSubnetsT>(value); }
66 template<typename RemoveSubnetsT = Aws::Vector<Aws::String>>
67 UpdateSettings& WithRemoveSubnets(RemoveSubnetsT&& value) { SetRemoveSubnets(std::forward<RemoveSubnetsT>(value)); return *this;}
68 template<typename RemoveSubnetsT = Aws::String>
69 UpdateSettings& AddRemoveSubnets(RemoveSubnetsT&& value) { m_removeSubnetsHasBeenSet = true; m_removeSubnets.emplace_back(std::forward<RemoveSubnetsT>(value)); return *this; }
71
73
77 inline const Aws::String& GetSecurityGroupId() const { return m_securityGroupId; }
78 inline bool SecurityGroupIdHasBeenSet() const { return m_securityGroupIdHasBeenSet; }
79 template<typename SecurityGroupIdT = Aws::String>
80 void SetSecurityGroupId(SecurityGroupIdT&& value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId = std::forward<SecurityGroupIdT>(value); }
81 template<typename SecurityGroupIdT = Aws::String>
82 UpdateSettings& WithSecurityGroupId(SecurityGroupIdT&& value) { SetSecurityGroupId(std::forward<SecurityGroupIdT>(value)); return *this;}
84 private:
85
86 Aws::Vector<Aws::String> m_addSubnets;
87 bool m_addSubnetsHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_removeSubnets;
90 bool m_removeSubnetsHasBeenSet = false;
91
92 Aws::String m_securityGroupId;
93 bool m_securityGroupIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace LicenseManagerUserSubscriptions
98} // namespace Aws
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API UpdateSettings()=default
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetAddSubnets() const
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API UpdateSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateSettings & WithSecurityGroupId(SecurityGroupIdT &&value)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API UpdateSettings(Aws::Utils::Json::JsonView jsonValue)
UpdateSettings & WithAddSubnets(AddSubnetsT &&value)
UpdateSettings & AddRemoveSubnets(RemoveSubnetsT &&value)
UpdateSettings & WithRemoveSubnets(RemoveSubnetsT &&value)
const Aws::Vector< Aws::String > & GetRemoveSubnets() const
UpdateSettings & AddAddSubnets(AddSubnetsT &&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