AWS SDK for C++  0.14.3
AWS SDK for C++
GetSAMLProviderResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/iam/IAM_EXPORTS.h>
20 
21 namespace Aws
22 {
23 template<typename RESULT_TYPE>
24 class AmazonWebServiceResult;
25 
26 namespace Utils
27 {
28 namespace Xml
29 {
30  class XmlDocument;
31 } // namespace Xml
32 } // namespace Utils
33 namespace IAM
34 {
35 namespace Model
36 {
41  {
42  public:
46 
51  inline const Aws::String& GetSAMLMetadataDocument() const{ return m_sAMLMetadataDocument; }
52 
57  inline void SetSAMLMetadataDocument(const Aws::String& value) { m_sAMLMetadataDocument = value; }
58 
63  inline void SetSAMLMetadataDocument(Aws::String&& value) { m_sAMLMetadataDocument = value; }
64 
69  inline void SetSAMLMetadataDocument(const char* value) { m_sAMLMetadataDocument.assign(value); }
70 
75  inline GetSAMLProviderResult& WithSAMLMetadataDocument(const Aws::String& value) { SetSAMLMetadataDocument(value); return *this;}
76 
81  inline GetSAMLProviderResult& WithSAMLMetadataDocument(Aws::String&& value) { SetSAMLMetadataDocument(value); return *this;}
82 
87  inline GetSAMLProviderResult& WithSAMLMetadataDocument(const char* value) { SetSAMLMetadataDocument(value); return *this;}
88 
92  inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
93 
97  inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDate = value; }
98 
102  inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDate = value; }
103 
107  inline GetSAMLProviderResult& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
108 
112  inline GetSAMLProviderResult& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(value); return *this;}
113 
117  inline const Aws::Utils::DateTime& GetValidUntil() const{ return m_validUntil; }
118 
122  inline void SetValidUntil(const Aws::Utils::DateTime& value) { m_validUntil = value; }
123 
127  inline void SetValidUntil(Aws::Utils::DateTime&& value) { m_validUntil = value; }
128 
132  inline GetSAMLProviderResult& WithValidUntil(const Aws::Utils::DateTime& value) { SetValidUntil(value); return *this;}
133 
137  inline GetSAMLProviderResult& WithValidUntil(Aws::Utils::DateTime&& value) { SetValidUntil(value); return *this;}
138 
139 
140  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
141 
142 
143  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
144 
145 
146  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
147 
148 
149  inline GetSAMLProviderResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
150 
151 
152  inline GetSAMLProviderResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
153 
154  private:
155  Aws::String m_sAMLMetadataDocument;
156  Aws::Utils::DateTime m_createDate;
157  Aws::Utils::DateTime m_validUntil;
158  ResponseMetadata m_responseMetadata;
159  };
160 
161 } // namespace Model
162 } // namespace IAM
163 } // namespace Aws
void SetResponseMetadata(const ResponseMetadata &value)
void SetCreateDate(Aws::Utils::DateTime &&value)
GetSAMLProviderResult & WithCreateDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetValidUntil() const
GetSAMLProviderResult & WithSAMLMetadataDocument(const Aws::String &value)
GetSAMLProviderResult & WithValidUntil(const Aws::Utils::DateTime &value)
GetSAMLProviderResult & WithSAMLMetadataDocument(Aws::String &&value)
void SetSAMLMetadataDocument(Aws::String &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetValidUntil(Aws::Utils::DateTime &&value)
void SetCreateDate(const Aws::Utils::DateTime &value)
GetSAMLProviderResult & WithResponseMetadata(const ResponseMetadata &value)
void SetResponseMetadata(ResponseMetadata &&value)
const Aws::String & GetSAMLMetadataDocument() const
GetSAMLProviderResult & WithCreateDate(const Aws::Utils::DateTime &value)
GetSAMLProviderResult & WithValidUntil(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::Utils::DateTime & GetCreateDate() const
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:37
GetSAMLProviderResult & WithSAMLMetadataDocument(const char *value)
void SetValidUntil(const Aws::Utils::DateTime &value)
void SetSAMLMetadataDocument(const Aws::String &value)
GetSAMLProviderResult & WithResponseMetadata(ResponseMetadata &&value)
JSON (JavaScript Object Notation).