AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Settings.h
1
6#pragma once
7#include <aws/license-manager-user-subscriptions/LicenseManagerUserSubscriptions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.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
37 {
38 public:
39 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Settings();
40 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Settings(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::String& GetSecurityGroupId() const{ return m_securityGroupId; }
51 inline bool SecurityGroupIdHasBeenSet() const { return m_securityGroupIdHasBeenSet; }
52 inline void SetSecurityGroupId(const Aws::String& value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId = value; }
53 inline void SetSecurityGroupId(Aws::String&& value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId = std::move(value); }
54 inline void SetSecurityGroupId(const char* value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId.assign(value); }
55 inline Settings& WithSecurityGroupId(const Aws::String& value) { SetSecurityGroupId(value); return *this;}
56 inline Settings& WithSecurityGroupId(Aws::String&& value) { SetSecurityGroupId(std::move(value)); return *this;}
57 inline Settings& WithSecurityGroupId(const char* value) { SetSecurityGroupId(value); return *this;}
59
61
64 inline const Aws::Vector<Aws::String>& GetSubnets() const{ return m_subnets; }
65 inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; }
66 inline void SetSubnets(const Aws::Vector<Aws::String>& value) { m_subnetsHasBeenSet = true; m_subnets = value; }
67 inline void SetSubnets(Aws::Vector<Aws::String>&& value) { m_subnetsHasBeenSet = true; m_subnets = std::move(value); }
68 inline Settings& WithSubnets(const Aws::Vector<Aws::String>& value) { SetSubnets(value); return *this;}
69 inline Settings& WithSubnets(Aws::Vector<Aws::String>&& value) { SetSubnets(std::move(value)); return *this;}
70 inline Settings& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
71 inline Settings& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; }
72 inline Settings& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; }
74 private:
75
76 Aws::String m_securityGroupId;
77 bool m_securityGroupIdHasBeenSet = false;
78
80 bool m_subnetsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace LicenseManagerUserSubscriptions
85} // namespace Aws
Settings & WithSecurityGroupId(Aws::String &&value)
Definition Settings.h:56
Settings & AddSubnets(const Aws::String &value)
Definition Settings.h:70
Settings & WithSecurityGroupId(const Aws::String &value)
Definition Settings.h:55
Settings & AddSubnets(Aws::String &&value)
Definition Settings.h:71
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Settings(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Settings()
Settings & WithSubnets(Aws::Vector< Aws::String > &&value)
Definition Settings.h:69
void SetSubnets(Aws::Vector< Aws::String > &&value)
Definition Settings.h:67
void SetSubnets(const Aws::Vector< Aws::String > &value)
Definition Settings.h:66
void SetSecurityGroupId(const Aws::String &value)
Definition Settings.h:52
Settings & WithSecurityGroupId(const char *value)
Definition Settings.h:57
AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
Settings & WithSubnets(const Aws::Vector< Aws::String > &value)
Definition Settings.h:68
const Aws::Vector< Aws::String > & GetSubnets() const
Definition Settings.h:64
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue