AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Initiator.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_S3_API Initiator();
35 AWS_S3_API Initiator(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_S3_API Initiator& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
49 inline const Aws::String& GetID() const{ return m_iD; }
50 inline bool IDHasBeenSet() const { return m_iDHasBeenSet; }
51 inline void SetID(const Aws::String& value) { m_iDHasBeenSet = true; m_iD = value; }
52 inline void SetID(Aws::String&& value) { m_iDHasBeenSet = true; m_iD = std::move(value); }
53 inline void SetID(const char* value) { m_iDHasBeenSet = true; m_iD.assign(value); }
54 inline Initiator& WithID(const Aws::String& value) { SetID(value); return *this;}
55 inline Initiator& WithID(Aws::String&& value) { SetID(std::move(value)); return *this;}
56 inline Initiator& WithID(const char* value) { SetID(value); return *this;}
58
60
64 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
65 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
66 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
67 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
68 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
69 inline Initiator& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
70 inline Initiator& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
71 inline Initiator& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
73 private:
74
75 Aws::String m_iD;
76 bool m_iDHasBeenSet = false;
77
78 Aws::String m_displayName;
79 bool m_displayNameHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace S3
84} // namespace Aws
Initiator & WithDisplayName(const char *value)
Definition Initiator.h:71
Initiator & WithID(const char *value)
Definition Initiator.h:56
const Aws::String & GetDisplayName() const
Definition Initiator.h:64
void SetDisplayName(const char *value)
Definition Initiator.h:68
Initiator & WithID(Aws::String &&value)
Definition Initiator.h:55
void SetDisplayName(const Aws::String &value)
Definition Initiator.h:66
AWS_S3_API Initiator & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Initiator & WithID(const Aws::String &value)
Definition Initiator.h:54
Initiator & WithDisplayName(Aws::String &&value)
Definition Initiator.h:70
Initiator & WithDisplayName(const Aws::String &value)
Definition Initiator.h:69
AWS_S3_API Initiator(const Aws::Utils::Xml::XmlNode &xmlNode)
bool IDHasBeenSet() const
Definition Initiator.h:50
void SetID(const char *value)
Definition Initiator.h:53
const Aws::String & GetID() const
Definition Initiator.h:49
void SetID(Aws::String &&value)
Definition Initiator.h:52
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool DisplayNameHasBeenSet() const
Definition Initiator.h:65
void SetID(const Aws::String &value)
Definition Initiator.h:51
void SetDisplayName(Aws::String &&value)
Definition Initiator.h:67
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String