AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SourceSecurityGroup.h
1
6#pragma once
7#include <aws/elasticloadbalancing/ElasticLoadBalancing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElasticLoadBalancing
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_ELASTICLOADBALANCING_API SourceSecurityGroup() = default;
35 AWS_ELASTICLOADBALANCING_API SourceSecurityGroup(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_ELASTICLOADBALANCING_API SourceSecurityGroup& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetOwnerAlias() const { return m_ownerAlias; }
47 inline bool OwnerAliasHasBeenSet() const { return m_ownerAliasHasBeenSet; }
48 template<typename OwnerAliasT = Aws::String>
49 void SetOwnerAlias(OwnerAliasT&& value) { m_ownerAliasHasBeenSet = true; m_ownerAlias = std::forward<OwnerAliasT>(value); }
50 template<typename OwnerAliasT = Aws::String>
51 SourceSecurityGroup& WithOwnerAlias(OwnerAliasT&& value) { SetOwnerAlias(std::forward<OwnerAliasT>(value)); return *this;}
53
55
58 inline const Aws::String& GetGroupName() const { return m_groupName; }
59 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
60 template<typename GroupNameT = Aws::String>
61 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
62 template<typename GroupNameT = Aws::String>
63 SourceSecurityGroup& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
65 private:
66
67 Aws::String m_ownerAlias;
68 bool m_ownerAliasHasBeenSet = false;
69
70 Aws::String m_groupName;
71 bool m_groupNameHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace ElasticLoadBalancing
76} // namespace Aws
SourceSecurityGroup & WithOwnerAlias(OwnerAliasT &&value)
AWS_ELASTICLOADBALANCING_API SourceSecurityGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SourceSecurityGroup & WithGroupName(GroupNameT &&value)
AWS_ELASTICLOADBALANCING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICLOADBALANCING_API SourceSecurityGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCING_API SourceSecurityGroup()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream