AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
IpamPublicAddressSecurityGroup.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
29 public:
30 AWS_EC2_API IpamPublicAddressSecurityGroup() = default;
33
34 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline const Aws::String& GetGroupName() const { return m_groupName; }
42 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
43 template <typename GroupNameT = Aws::String>
44 void SetGroupName(GroupNameT&& value) {
45 m_groupNameHasBeenSet = true;
46 m_groupName = std::forward<GroupNameT>(value);
47 }
48 template <typename GroupNameT = Aws::String>
50 SetGroupName(std::forward<GroupNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetGroupId() const { return m_groupId; }
60 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
61 template <typename GroupIdT = Aws::String>
62 void SetGroupId(GroupIdT&& value) {
63 m_groupIdHasBeenSet = true;
64 m_groupId = std::forward<GroupIdT>(value);
65 }
66 template <typename GroupIdT = Aws::String>
68 SetGroupId(std::forward<GroupIdT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_groupName;
74
75 Aws::String m_groupId;
76 bool m_groupNameHasBeenSet = false;
77 bool m_groupIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace EC2
82} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
IpamPublicAddressSecurityGroup & WithGroupName(GroupNameT &&value)
AWS_EC2_API IpamPublicAddressSecurityGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API IpamPublicAddressSecurityGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IpamPublicAddressSecurityGroup & WithGroupId(GroupIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream