AWS SDK for C++  0.14.3
AWS SDK for C++
GenerateCredentialReportResult.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 {
42  {
43  public:
47 
51  inline const ReportStateType& GetState() const{ return m_state; }
52 
56  inline void SetState(const ReportStateType& value) { m_state = value; }
57 
61  inline void SetState(ReportStateType&& value) { m_state = value; }
62 
66  inline GenerateCredentialReportResult& WithState(const ReportStateType& value) { SetState(value); return *this;}
67 
71  inline GenerateCredentialReportResult& WithState(ReportStateType&& value) { SetState(value); return *this;}
72 
76  inline const Aws::String& GetDescription() const{ return m_description; }
77 
81  inline void SetDescription(const Aws::String& value) { m_description = value; }
82 
86  inline void SetDescription(Aws::String&& value) { m_description = value; }
87 
91  inline void SetDescription(const char* value) { m_description.assign(value); }
92 
96  inline GenerateCredentialReportResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
97 
101  inline GenerateCredentialReportResult& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
102 
106  inline GenerateCredentialReportResult& WithDescription(const char* value) { SetDescription(value); return *this;}
107 
108 
109  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
110 
111 
112  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
113 
114 
115  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
116 
117 
118  inline GenerateCredentialReportResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
119 
120 
121  inline GenerateCredentialReportResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
122 
123  private:
124  ReportStateType m_state;
125  Aws::String m_description;
126  ResponseMetadata m_responseMetadata;
127  };
128 
129 } // namespace Model
130 } // namespace IAM
131 } // namespace Aws
GenerateCredentialReportResult & WithDescription(const char *value)
GenerateCredentialReportResult & WithResponseMetadata(ResponseMetadata &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GenerateCredentialReportResult & WithResponseMetadata(const ResponseMetadata &value)
GenerateCredentialReportResult & WithState(const ReportStateType &value)
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:37
GenerateCredentialReportResult & WithState(ReportStateType &&value)
GenerateCredentialReportResult & WithDescription(const Aws::String &value)
JSON (JavaScript Object Notation).
GenerateCredentialReportResult & WithDescription(Aws::String &&value)