AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvidedContext.h
1
6#pragma once
7#include <aws/sts/STS_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 STS
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_STS_API ProvidedContext();
37 AWS_STS_API ProvidedContext(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_STS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_STS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
49 inline const Aws::String& GetProviderArn() const{ return m_providerArn; }
50 inline bool ProviderArnHasBeenSet() const { return m_providerArnHasBeenSet; }
51 inline void SetProviderArn(const Aws::String& value) { m_providerArnHasBeenSet = true; m_providerArn = value; }
52 inline void SetProviderArn(Aws::String&& value) { m_providerArnHasBeenSet = true; m_providerArn = std::move(value); }
53 inline void SetProviderArn(const char* value) { m_providerArnHasBeenSet = true; m_providerArn.assign(value); }
54 inline ProvidedContext& WithProviderArn(const Aws::String& value) { SetProviderArn(value); return *this;}
55 inline ProvidedContext& WithProviderArn(Aws::String&& value) { SetProviderArn(std::move(value)); return *this;}
56 inline ProvidedContext& WithProviderArn(const char* value) { SetProviderArn(value); return *this;}
58
60
65 inline const Aws::String& GetContextAssertion() const{ return m_contextAssertion; }
66 inline bool ContextAssertionHasBeenSet() const { return m_contextAssertionHasBeenSet; }
67 inline void SetContextAssertion(const Aws::String& value) { m_contextAssertionHasBeenSet = true; m_contextAssertion = value; }
68 inline void SetContextAssertion(Aws::String&& value) { m_contextAssertionHasBeenSet = true; m_contextAssertion = std::move(value); }
69 inline void SetContextAssertion(const char* value) { m_contextAssertionHasBeenSet = true; m_contextAssertion.assign(value); }
70 inline ProvidedContext& WithContextAssertion(const Aws::String& value) { SetContextAssertion(value); return *this;}
71 inline ProvidedContext& WithContextAssertion(Aws::String&& value) { SetContextAssertion(std::move(value)); return *this;}
72 inline ProvidedContext& WithContextAssertion(const char* value) { SetContextAssertion(value); return *this;}
74 private:
75
76 Aws::String m_providerArn;
77 bool m_providerArnHasBeenSet = false;
78
79 Aws::String m_contextAssertion;
80 bool m_contextAssertionHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace STS
85} // namespace Aws
AWS_STS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ProvidedContext & WithContextAssertion(const char *value)
ProvidedContext & WithContextAssertion(Aws::String &&value)
void SetProviderArn(const char *value)
AWS_STS_API ProvidedContext & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ProvidedContext & WithProviderArn(Aws::String &&value)
AWS_STS_API ProvidedContext(const Aws::Utils::Xml::XmlNode &xmlNode)
ProvidedContext & WithProviderArn(const char *value)
void SetProviderArn(const Aws::String &value)
AWS_STS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ProvidedContext & WithContextAssertion(const Aws::String &value)
const Aws::String & GetContextAssertion() const
const Aws::String & GetProviderArn() const
void SetContextAssertion(const Aws::String &value)
ProvidedContext & WithProviderArn(const Aws::String &value)
void SetContextAssertion(const char *value)
void SetContextAssertion(Aws::String &&value)
void SetProviderArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream