AWS SDK for C++  1.9.106
AWS SDK for C++
DecodeAuthorizationMessageResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sts/STS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace STS
25 {
26 namespace Model
27 {
36  {
37  public:
41 
42 
46  inline const Aws::String& GetDecodedMessage() const{ return m_decodedMessage; }
47 
51  inline void SetDecodedMessage(const Aws::String& value) { m_decodedMessage = value; }
52 
56  inline void SetDecodedMessage(Aws::String&& value) { m_decodedMessage = std::move(value); }
57 
61  inline void SetDecodedMessage(const char* value) { m_decodedMessage.assign(value); }
62 
66  inline DecodeAuthorizationMessageResult& WithDecodedMessage(const Aws::String& value) { SetDecodedMessage(value); return *this;}
67 
71  inline DecodeAuthorizationMessageResult& WithDecodedMessage(Aws::String&& value) { SetDecodedMessage(std::move(value)); return *this;}
72 
76  inline DecodeAuthorizationMessageResult& WithDecodedMessage(const char* value) { SetDecodedMessage(value); return *this;}
77 
78 
79 
80  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
81 
82 
83  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
84 
85 
86  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
87 
88 
89  inline DecodeAuthorizationMessageResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
90 
91 
92  inline DecodeAuthorizationMessageResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
93 
94  private:
95 
96  Aws::String m_decodedMessage;
97 
98  ResponseMetadata m_responseMetadata;
99  };
100 
101 } // namespace Model
102 } // namespace STS
103 } // namespace Aws
Aws::STS::Model::DecodeAuthorizationMessageResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DecodeAuthorizationMessageResult.h:86
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::STS::Model::DecodeAuthorizationMessageResult::WithDecodedMessage
DecodeAuthorizationMessageResult & WithDecodedMessage(const char *value)
Definition: DecodeAuthorizationMessageResult.h:76
Aws::STS::Model::DecodeAuthorizationMessageResult::WithResponseMetadata
DecodeAuthorizationMessageResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DecodeAuthorizationMessageResult.h:92
AWS_STS_API
#define AWS_STS_API
Definition: STS_EXPORTS.h:28
Aws::STS::Model::DecodeAuthorizationMessageResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DecodeAuthorizationMessageResult.h:83
Aws::STS::Model::DecodeAuthorizationMessageResult::GetDecodedMessage
const Aws::String & GetDecodedMessage() const
Definition: DecodeAuthorizationMessageResult.h:46
Aws::STS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::STS::Model::DecodeAuthorizationMessageResult::SetDecodedMessage
void SetDecodedMessage(const char *value)
Definition: DecodeAuthorizationMessageResult.h:61
ResponseMetadata.h
Aws::STS::Model::DecodeAuthorizationMessageResult::WithDecodedMessage
DecodeAuthorizationMessageResult & WithDecodedMessage(const Aws::String &value)
Definition: DecodeAuthorizationMessageResult.h:66
Aws::STS::Model::DecodeAuthorizationMessageResult::SetDecodedMessage
void SetDecodedMessage(Aws::String &&value)
Definition: DecodeAuthorizationMessageResult.h:56
STS_EXPORTS.h
Aws::STS::Model::DecodeAuthorizationMessageResult::SetDecodedMessage
void SetDecodedMessage(const Aws::String &value)
Definition: DecodeAuthorizationMessageResult.h:51
AWSString.h
Aws::STS::Model::DecodeAuthorizationMessageResult::DecodeAuthorizationMessageResult
DecodeAuthorizationMessageResult()
Aws::STS::Model::DecodeAuthorizationMessageResult::WithResponseMetadata
DecodeAuthorizationMessageResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DecodeAuthorizationMessageResult.h:89
Aws::STS::Model::DecodeAuthorizationMessageResult::DecodeAuthorizationMessageResult
DecodeAuthorizationMessageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::STS::Model::DecodeAuthorizationMessageResult::operator=
DecodeAuthorizationMessageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::STS::Model::DecodeAuthorizationMessageResult
Definition: DecodeAuthorizationMessageResult.h:36
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::STS::Model::DecodeAuthorizationMessageResult::WithDecodedMessage
DecodeAuthorizationMessageResult & WithDecodedMessage(Aws::String &&value)
Definition: DecodeAuthorizationMessageResult.h:71
Aws::STS::Model::DecodeAuthorizationMessageResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DecodeAuthorizationMessageResult.h:80