AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
68 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
69 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
70 inline TrafficSourceIdentifier& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
71 inline TrafficSourceIdentifier& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
72 inline TrafficSourceIdentifier& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
74
76
86 inline const Aws::String& GetType() const{ return m_type; }
87 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
88 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
89 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
90 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
91 inline TrafficSourceIdentifier& WithType(const Aws::String& value) { SetType(value); return *this;}
92 inline TrafficSourceIdentifier& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
93 inline TrafficSourceIdentifier& WithType(const char* value) { SetType(value); return *this;}
95 private:
96
97 Aws::String m_identifier;
98 bool m_identifierHasBeenSet = false;
99
100 Aws::String m_type;
101 bool m_typeHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace AutoScaling
106} // namespace Aws
AWS_AUTOSCALING_API TrafficSourceIdentifier & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TrafficSourceIdentifier & WithIdentifier(Aws::String &&value)
TrafficSourceIdentifier & WithIdentifier(const char *value)
TrafficSourceIdentifier & WithType(Aws::String &&value)
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 & WithIdentifier(const Aws::String &value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TrafficSourceIdentifier & WithType(const char *value)
TrafficSourceIdentifier & WithType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream