AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeLunaClientResult.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
18 
19 namespace Aws
20 {
21 template<typename RESULT_TYPE>
22 class AmazonWebServiceResult;
23 
24 namespace Utils
25 {
26 namespace Json
27 {
28  class JsonValue;
29 } // namespace Json
30 } // namespace Utils
31 namespace CloudHSM
32 {
33 namespace Model
34 {
36  {
37  public:
41 
45  inline const Aws::String& GetClientArn() const{ return m_clientArn; }
46 
50  inline void SetClientArn(const Aws::String& value) { m_clientArn = value; }
51 
55  inline void SetClientArn(Aws::String&& value) { m_clientArn = value; }
56 
60  inline void SetClientArn(const char* value) { m_clientArn.assign(value); }
61 
65  inline DescribeLunaClientResult& WithClientArn(const Aws::String& value) { SetClientArn(value); return *this;}
66 
70  inline DescribeLunaClientResult& WithClientArn(Aws::String&& value) { SetClientArn(value); return *this;}
71 
75  inline DescribeLunaClientResult& WithClientArn(const char* value) { SetClientArn(value); return *this;}
76 
80  inline const Aws::String& GetCertificate() const{ return m_certificate; }
81 
85  inline void SetCertificate(const Aws::String& value) { m_certificate = value; }
86 
90  inline void SetCertificate(Aws::String&& value) { m_certificate = value; }
91 
95  inline void SetCertificate(const char* value) { m_certificate.assign(value); }
96 
100  inline DescribeLunaClientResult& WithCertificate(const Aws::String& value) { SetCertificate(value); return *this;}
101 
105  inline DescribeLunaClientResult& WithCertificate(Aws::String&& value) { SetCertificate(value); return *this;}
106 
110  inline DescribeLunaClientResult& WithCertificate(const char* value) { SetCertificate(value); return *this;}
111 
115  inline const Aws::String& GetCertificateFingerprint() const{ return m_certificateFingerprint; }
116 
120  inline void SetCertificateFingerprint(const Aws::String& value) { m_certificateFingerprint = value; }
121 
125  inline void SetCertificateFingerprint(Aws::String&& value) { m_certificateFingerprint = value; }
126 
130  inline void SetCertificateFingerprint(const char* value) { m_certificateFingerprint.assign(value); }
131 
135  inline DescribeLunaClientResult& WithCertificateFingerprint(const Aws::String& value) { SetCertificateFingerprint(value); return *this;}
136 
140  inline DescribeLunaClientResult& WithCertificateFingerprint(Aws::String&& value) { SetCertificateFingerprint(value); return *this;}
141 
145  inline DescribeLunaClientResult& WithCertificateFingerprint(const char* value) { SetCertificateFingerprint(value); return *this;}
146 
150  inline const Aws::String& GetLastModifiedTimestamp() const{ return m_lastModifiedTimestamp; }
151 
155  inline void SetLastModifiedTimestamp(const Aws::String& value) { m_lastModifiedTimestamp = value; }
156 
160  inline void SetLastModifiedTimestamp(Aws::String&& value) { m_lastModifiedTimestamp = value; }
161 
165  inline void SetLastModifiedTimestamp(const char* value) { m_lastModifiedTimestamp.assign(value); }
166 
170  inline DescribeLunaClientResult& WithLastModifiedTimestamp(const Aws::String& value) { SetLastModifiedTimestamp(value); return *this;}
171 
175  inline DescribeLunaClientResult& WithLastModifiedTimestamp(Aws::String&& value) { SetLastModifiedTimestamp(value); return *this;}
176 
180  inline DescribeLunaClientResult& WithLastModifiedTimestamp(const char* value) { SetLastModifiedTimestamp(value); return *this;}
181 
185  inline const Aws::String& GetLabel() const{ return m_label; }
186 
190  inline void SetLabel(const Aws::String& value) { m_label = value; }
191 
195  inline void SetLabel(Aws::String&& value) { m_label = value; }
196 
200  inline void SetLabel(const char* value) { m_label.assign(value); }
201 
205  inline DescribeLunaClientResult& WithLabel(const Aws::String& value) { SetLabel(value); return *this;}
206 
210  inline DescribeLunaClientResult& WithLabel(Aws::String&& value) { SetLabel(value); return *this;}
211 
215  inline DescribeLunaClientResult& WithLabel(const char* value) { SetLabel(value); return *this;}
216 
217  private:
218  Aws::String m_clientArn;
219  Aws::String m_certificate;
220  Aws::String m_certificateFingerprint;
221  Aws::String m_lastModifiedTimestamp;
222  Aws::String m_label;
223  };
224 
225 } // namespace Model
226 } // namespace CloudHSM
227 } // namespace Aws
DescribeLunaClientResult & WithLabel(Aws::String &&value)
DescribeLunaClientResult & WithLastModifiedTimestamp(const Aws::String &value)
DescribeLunaClientResult & WithCertificate(const char *value)
DescribeLunaClientResult & WithLastModifiedTimestamp(Aws::String &&value)
#define AWS_CLOUDHSM_API
DescribeLunaClientResult & WithClientArn(Aws::String &&value)
DescribeLunaClientResult & WithCertificate(const Aws::String &value)
DescribeLunaClientResult & WithClientArn(const Aws::String &value)
DescribeLunaClientResult & WithClientArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeLunaClientResult & WithCertificateFingerprint(const char *value)
DescribeLunaClientResult & WithLastModifiedTimestamp(const char *value)
DescribeLunaClientResult & WithLabel(const Aws::String &value)
DescribeLunaClientResult & WithCertificateFingerprint(Aws::String &&value)
DescribeLunaClientResult & WithCertificate(Aws::String &&value)
DescribeLunaClientResult & WithCertificateFingerprint(const Aws::String &value)
DescribeLunaClientResult & WithLabel(const char *value)
JSON (JavaScript Object Notation).