AWS SDK for C++  0.14.3
AWS SDK for C++
GetCredentialReportResult.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>
17 #include <aws/core/utils/Array.h>
21 
22 namespace Aws
23 {
24 template<typename RESULT_TYPE>
25 class AmazonWebServiceResult;
26 
27 namespace Utils
28 {
29 namespace Xml
30 {
31  class XmlDocument;
32 } // namespace Xml
33 } // namespace Utils
34 namespace IAM
35 {
36 namespace Model
37 {
43  {
44  public:
48 
52  inline const Aws::Utils::ByteBuffer& GetContent() const{ return m_content; }
53 
57  inline void SetContent(const Aws::Utils::ByteBuffer& value) { m_content = value; }
58 
62  inline void SetContent(Aws::Utils::ByteBuffer&& value) { m_content = value; }
63 
67  inline GetCredentialReportResult& WithContent(const Aws::Utils::ByteBuffer& value) { SetContent(value); return *this;}
68 
72  inline GetCredentialReportResult& WithContent(Aws::Utils::ByteBuffer&& value) { SetContent(value); return *this;}
73 
77  inline const ReportFormatType& GetReportFormat() const{ return m_reportFormat; }
78 
82  inline void SetReportFormat(const ReportFormatType& value) { m_reportFormat = value; }
83 
87  inline void SetReportFormat(ReportFormatType&& value) { m_reportFormat = value; }
88 
92  inline GetCredentialReportResult& WithReportFormat(const ReportFormatType& value) { SetReportFormat(value); return *this;}
93 
97  inline GetCredentialReportResult& WithReportFormat(ReportFormatType&& value) { SetReportFormat(value); return *this;}
98 
103  inline const Aws::Utils::DateTime& GetGeneratedTime() const{ return m_generatedTime; }
104 
109  inline void SetGeneratedTime(const Aws::Utils::DateTime& value) { m_generatedTime = value; }
110 
115  inline void SetGeneratedTime(Aws::Utils::DateTime&& value) { m_generatedTime = value; }
116 
121  inline GetCredentialReportResult& WithGeneratedTime(const Aws::Utils::DateTime& value) { SetGeneratedTime(value); return *this;}
122 
127  inline GetCredentialReportResult& WithGeneratedTime(Aws::Utils::DateTime&& value) { SetGeneratedTime(value); return *this;}
128 
129 
130  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
131 
132 
133  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
134 
135 
136  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
137 
138 
139  inline GetCredentialReportResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
140 
141 
142  inline GetCredentialReportResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
143 
144  private:
145  Aws::Utils::ByteBuffer m_content;
146  ReportFormatType m_reportFormat;
147  Aws::Utils::DateTime m_generatedTime;
148  ResponseMetadata m_responseMetadata;
149  };
150 
151 } // namespace Model
152 } // namespace IAM
153 } // namespace Aws
GetCredentialReportResult & WithReportFormat(const ReportFormatType &value)
void SetResponseMetadata(const ResponseMetadata &value)
GetCredentialReportResult & WithGeneratedTime(Aws::Utils::DateTime &&value)
GetCredentialReportResult & WithReportFormat(ReportFormatType &&value)
const Aws::Utils::DateTime & GetGeneratedTime() const
const ResponseMetadata & GetResponseMetadata() const
void SetGeneratedTime(Aws::Utils::DateTime &&value)
void SetContent(Aws::Utils::ByteBuffer &&value)
GetCredentialReportResult & WithGeneratedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::ByteBuffer & GetContent() const
const ReportFormatType & GetReportFormat() const
void SetReportFormat(const ReportFormatType &value)
void SetContent(const Aws::Utils::ByteBuffer &value)
GetCredentialReportResult & WithResponseMetadata(ResponseMetadata &&value)
void SetGeneratedTime(const Aws::Utils::DateTime &value)
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:37
GetCredentialReportResult & WithContent(const Aws::Utils::ByteBuffer &value)
GetCredentialReportResult & WithContent(Aws::Utils::ByteBuffer &&value)
GetCredentialReportResult & WithResponseMetadata(const ResponseMetadata &value)
JSON (JavaScript Object Notation).