AWS SDK for C++  0.12.9
AWS SDK for C++
UpdateServerCertificateRequest.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/iam/IAMRequest.h>
19 
20 namespace Aws
21 {
22 namespace IAM
23 {
24 namespace Model
25 {
26 
30  {
31  public:
33  Aws::String SerializePayload() const override;
34 
41  inline const Aws::String& GetServerCertificateName() const{ return m_serverCertificateName; }
42 
49  inline void SetServerCertificateName(const Aws::String& value) { m_serverCertificateNameHasBeenSet = true; m_serverCertificateName = value; }
50 
57  inline void SetServerCertificateName(Aws::String&& value) { m_serverCertificateNameHasBeenSet = true; m_serverCertificateName = value; }
58 
65  inline void SetServerCertificateName(const char* value) { m_serverCertificateNameHasBeenSet = true; m_serverCertificateName.assign(value); }
66 
73  inline UpdateServerCertificateRequest& WithServerCertificateName(const Aws::String& value) { SetServerCertificateName(value); return *this;}
74 
81  inline UpdateServerCertificateRequest& WithServerCertificateName(Aws::String&& value) { SetServerCertificateName(value); return *this;}
82 
89  inline UpdateServerCertificateRequest& WithServerCertificateName(const char* value) { SetServerCertificateName(value); return *this;}
90 
100  inline const Aws::String& GetNewPath() const{ return m_newPath; }
101 
111  inline void SetNewPath(const Aws::String& value) { m_newPathHasBeenSet = true; m_newPath = value; }
112 
122  inline void SetNewPath(Aws::String&& value) { m_newPathHasBeenSet = true; m_newPath = value; }
123 
133  inline void SetNewPath(const char* value) { m_newPathHasBeenSet = true; m_newPath.assign(value); }
134 
144  inline UpdateServerCertificateRequest& WithNewPath(const Aws::String& value) { SetNewPath(value); return *this;}
145 
155  inline UpdateServerCertificateRequest& WithNewPath(Aws::String&& value) { SetNewPath(value); return *this;}
156 
166  inline UpdateServerCertificateRequest& WithNewPath(const char* value) { SetNewPath(value); return *this;}
167 
176  inline const Aws::String& GetNewServerCertificateName() const{ return m_newServerCertificateName; }
177 
186  inline void SetNewServerCertificateName(const Aws::String& value) { m_newServerCertificateNameHasBeenSet = true; m_newServerCertificateName = value; }
187 
196  inline void SetNewServerCertificateName(Aws::String&& value) { m_newServerCertificateNameHasBeenSet = true; m_newServerCertificateName = value; }
197 
206  inline void SetNewServerCertificateName(const char* value) { m_newServerCertificateNameHasBeenSet = true; m_newServerCertificateName.assign(value); }
207 
216  inline UpdateServerCertificateRequest& WithNewServerCertificateName(const Aws::String& value) { SetNewServerCertificateName(value); return *this;}
217 
226  inline UpdateServerCertificateRequest& WithNewServerCertificateName(Aws::String&& value) { SetNewServerCertificateName(value); return *this;}
227 
236  inline UpdateServerCertificateRequest& WithNewServerCertificateName(const char* value) { SetNewServerCertificateName(value); return *this;}
237 
238  private:
239  Aws::String m_serverCertificateName;
240  bool m_serverCertificateNameHasBeenSet;
241  Aws::String m_newPath;
242  bool m_newPathHasBeenSet;
243  Aws::String m_newServerCertificateName;
244  bool m_newServerCertificateNameHasBeenSet;
245  };
246 
247 } // namespace Model
248 } // namespace IAM
249 } // namespace Aws
UpdateServerCertificateRequest & WithNewServerCertificateName(const Aws::String &value)
UpdateServerCertificateRequest & WithServerCertificateName(Aws::String &&value)
UpdateServerCertificateRequest & WithNewPath(const Aws::String &value)
UpdateServerCertificateRequest & WithNewServerCertificateName(const char *value)
UpdateServerCertificateRequest & WithNewPath(Aws::String &&value)
UpdateServerCertificateRequest & WithNewPath(const char *value)
UpdateServerCertificateRequest & WithNewServerCertificateName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateServerCertificateRequest & WithServerCertificateName(const char *value)
UpdateServerCertificateRequest & WithServerCertificateName(const Aws::String &value)
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:34
JSON (JavaScript Object Notation).