AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Position.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace IAM
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_IAM_API Position();
35 AWS_IAM_API Position(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_IAM_API Position& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_IAM_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_IAM_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline int GetLine() const{ return m_line; }
47 inline bool LineHasBeenSet() const { return m_lineHasBeenSet; }
48 inline void SetLine(int value) { m_lineHasBeenSet = true; m_line = value; }
49 inline Position& WithLine(int value) { SetLine(value); return *this;}
51
53
56 inline int GetColumn() const{ return m_column; }
57 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
58 inline void SetColumn(int value) { m_columnHasBeenSet = true; m_column = value; }
59 inline Position& WithColumn(int value) { SetColumn(value); return *this;}
61 private:
62
63 int m_line;
64 bool m_lineHasBeenSet = false;
65
66 int m_column;
67 bool m_columnHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace IAM
72} // namespace Aws
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Position & WithColumn(int value)
Definition Position.h:59
bool LineHasBeenSet() const
Definition Position.h:47
void SetLine(int value)
Definition Position.h:48
Position & WithLine(int value)
Definition Position.h:49
AWS_IAM_API Position(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_IAM_API Position & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ColumnHasBeenSet() const
Definition Position.h:57
void SetColumn(int value)
Definition Position.h:58
std::basic_ostream< char, std::char_traits< char > > OStream