AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SAMLPrivateKey.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace IAM
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_IAM_API SAMLPrivateKey() = default;
39 AWS_IAM_API SAMLPrivateKey(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_IAM_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_IAM_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::String& GetKeyId() const { return m_keyId; }
51 inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; }
52 template<typename KeyIdT = Aws::String>
53 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet = true; m_keyId = std::forward<KeyIdT>(value); }
54 template<typename KeyIdT = Aws::String>
55 SAMLPrivateKey& WithKeyId(KeyIdT&& value) { SetKeyId(std::forward<KeyIdT>(value)); return *this;}
57
59
63 inline const Aws::Utils::DateTime& GetTimestamp() const { return m_timestamp; }
64 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
65 template<typename TimestampT = Aws::Utils::DateTime>
66 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet = true; m_timestamp = std::forward<TimestampT>(value); }
67 template<typename TimestampT = Aws::Utils::DateTime>
68 SAMLPrivateKey& WithTimestamp(TimestampT&& value) { SetTimestamp(std::forward<TimestampT>(value)); return *this;}
70 private:
71
72 Aws::String m_keyId;
73 bool m_keyIdHasBeenSet = false;
74
75 Aws::Utils::DateTime m_timestamp{};
76 bool m_timestampHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace IAM
81} // namespace Aws
AWS_IAM_API SAMLPrivateKey & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SAMLPrivateKey & WithKeyId(KeyIdT &&value)
AWS_IAM_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_IAM_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_IAM_API SAMLPrivateKey(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetKeyId() const
SAMLPrivateKey & WithTimestamp(TimestampT &&value)
const Aws::Utils::DateTime & GetTimestamp() const
void SetKeyId(KeyIdT &&value)
void SetTimestamp(TimestampT &&value)
AWS_IAM_API SAMLPrivateKey()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream