AWS SDK for C++  0.12.9
AWS SDK for C++
CertificateSummary.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/acm/ACM_EXPORTS.h>
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace ACM
29 {
30 namespace Model
31 {
32 
38  {
39  public:
42  CertificateSummary& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
43  Aws::Utils::Json::JsonValue Jsonize() const;
44 
52  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
53 
61  inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
62 
70  inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
71 
79  inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
80 
88  inline CertificateSummary& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
89 
97  inline CertificateSummary& WithCertificateArn(Aws::String&& value) { SetCertificateArn(value); return *this;}
98 
106  inline CertificateSummary& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
107 
112  inline const Aws::String& GetDomainName() const{ return m_domainName; }
113 
118  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
119 
124  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
125 
130  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
131 
136  inline CertificateSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
137 
142  inline CertificateSummary& WithDomainName(Aws::String&& value) { SetDomainName(value); return *this;}
143 
148  inline CertificateSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;}
149 
150  private:
151  Aws::String m_certificateArn;
152  bool m_certificateArnHasBeenSet;
153  Aws::String m_domainName;
154  bool m_domainNameHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace ACM
159 } // namespace Aws
CertificateSummary & WithCertificateArn(const char *value)
CertificateSummary & WithDomainName(const Aws::String &value)
const Aws::String & GetCertificateArn() const
CertificateSummary & WithCertificateArn(Aws::String &&value)
void SetDomainName(const Aws::String &value)
CertificateSummary & WithDomainName(Aws::String &&value)
#define AWS_ACM_API
Definition: ACM_EXPORTS.h:34
CertificateSummary & WithDomainName(const char *value)
void SetCertificateArn(const char *value)
void SetDomainName(Aws::String &&value)
CertificateSummary & WithCertificateArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetCertificateArn(Aws::String &&value)
JSON (JavaScript Object Notation).
const Aws::String & GetDomainName() const
void SetCertificateArn(const Aws::String &value)