AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TrafficSourceIdentifier.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_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 AutoScaling
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_AUTOSCALING_API TrafficSourceIdentifier() = default;
35 AWS_AUTOSCALING_API TrafficSourceIdentifier(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_AUTOSCALING_API TrafficSourceIdentifier& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
65 inline const Aws::String& GetIdentifier() const { return m_identifier; }
66 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
67 template<typename IdentifierT = Aws::String>
68 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
69 template<typename IdentifierT = Aws::String>
70 TrafficSourceIdentifier& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
72
74
84 inline const Aws::String& GetType() const { return m_type; }
85 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
86 template<typename TypeT = Aws::String>
87 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
88 template<typename TypeT = Aws::String>
89 TrafficSourceIdentifier& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
91 private:
92
93 Aws::String m_identifier;
94 bool m_identifierHasBeenSet = false;
95
96 Aws::String m_type;
97 bool m_typeHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace AutoScaling
102} // namespace Aws
AWS_AUTOSCALING_API TrafficSourceIdentifier & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API TrafficSourceIdentifier()=default
AWS_AUTOSCALING_API TrafficSourceIdentifier(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TrafficSourceIdentifier & WithType(TypeT &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TrafficSourceIdentifier & WithIdentifier(IdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream