AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AlternatePathHint.h
1
6#pragma once
7#include <aws/ec2/EC2_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 EC2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EC2_API AlternatePathHint();
36 AWS_EC2_API AlternatePathHint(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetComponentId() const{ return m_componentId; }
48 inline bool ComponentIdHasBeenSet() const { return m_componentIdHasBeenSet; }
49 inline void SetComponentId(const Aws::String& value) { m_componentIdHasBeenSet = true; m_componentId = value; }
50 inline void SetComponentId(Aws::String&& value) { m_componentIdHasBeenSet = true; m_componentId = std::move(value); }
51 inline void SetComponentId(const char* value) { m_componentIdHasBeenSet = true; m_componentId.assign(value); }
52 inline AlternatePathHint& WithComponentId(const Aws::String& value) { SetComponentId(value); return *this;}
53 inline AlternatePathHint& WithComponentId(Aws::String&& value) { SetComponentId(std::move(value)); return *this;}
54 inline AlternatePathHint& WithComponentId(const char* value) { SetComponentId(value); return *this;}
56
58
61 inline const Aws::String& GetComponentArn() const{ return m_componentArn; }
62 inline bool ComponentArnHasBeenSet() const { return m_componentArnHasBeenSet; }
63 inline void SetComponentArn(const Aws::String& value) { m_componentArnHasBeenSet = true; m_componentArn = value; }
64 inline void SetComponentArn(Aws::String&& value) { m_componentArnHasBeenSet = true; m_componentArn = std::move(value); }
65 inline void SetComponentArn(const char* value) { m_componentArnHasBeenSet = true; m_componentArn.assign(value); }
66 inline AlternatePathHint& WithComponentArn(const Aws::String& value) { SetComponentArn(value); return *this;}
67 inline AlternatePathHint& WithComponentArn(Aws::String&& value) { SetComponentArn(std::move(value)); return *this;}
68 inline AlternatePathHint& WithComponentArn(const char* value) { SetComponentArn(value); return *this;}
70 private:
71
72 Aws::String m_componentId;
73 bool m_componentIdHasBeenSet = false;
74
75 Aws::String m_componentArn;
76 bool m_componentArnHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace EC2
81} // namespace Aws
void SetComponentArn(const Aws::String &value)
void SetComponentArn(Aws::String &&value)
const Aws::String & GetComponentId() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AlternatePathHint & WithComponentArn(const char *value)
AlternatePathHint & WithComponentId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API AlternatePathHint(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetComponentId(Aws::String &&value)
AWS_EC2_API AlternatePathHint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AlternatePathHint & WithComponentArn(const Aws::String &value)
void SetComponentArn(const char *value)
AlternatePathHint & WithComponentArn(Aws::String &&value)
void SetComponentId(const char *value)
AlternatePathHint & WithComponentId(const char *value)
AlternatePathHint & WithComponentId(const Aws::String &value)
const Aws::String & GetComponentArn() const
void SetComponentId(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