AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace AutoScaling {
20namespace Model {
21
28 public:
29 AWS_AUTOSCALING_API TrafficSourceIdentifier() = default;
30 AWS_AUTOSCALING_API TrafficSourceIdentifier(const Aws::Utils::Xml::XmlNode& xmlNode);
31 AWS_AUTOSCALING_API TrafficSourceIdentifier& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
37
59 inline const Aws::String& GetIdentifier() const { return m_identifier; }
60 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
61 template <typename IdentifierT = Aws::String>
62 void SetIdentifier(IdentifierT&& value) {
63 m_identifierHasBeenSet = true;
64 m_identifier = std::forward<IdentifierT>(value);
65 }
66 template <typename IdentifierT = Aws::String>
68 SetIdentifier(std::forward<IdentifierT>(value));
69 return *this;
70 }
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) {
88 m_typeHasBeenSet = true;
89 m_type = std::forward<TypeT>(value);
90 }
91 template <typename TypeT = Aws::String>
93 SetType(std::forward<TypeT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_identifier;
99
100 Aws::String m_type;
101 bool m_identifierHasBeenSet = false;
102 bool m_typeHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace AutoScaling
107} // 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