AWS SDK for C++  0.14.3
AWS SDK for C++
CompleteVaultLockRequest.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
19 
20 namespace Aws
21 {
22 namespace Glacier
23 {
24 namespace Model
25 {
26 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
44  inline const Aws::String& GetAccountId() const{ return m_accountId; }
45 
54  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
55 
64  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
65 
74  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
75 
84  inline CompleteVaultLockRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
85 
94  inline CompleteVaultLockRequest& WithAccountId(Aws::String&& value) { SetAccountId(value); return *this;}
95 
104  inline CompleteVaultLockRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
105 
109  inline const Aws::String& GetVaultName() const{ return m_vaultName; }
110 
114  inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
115 
119  inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
120 
124  inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
125 
129  inline CompleteVaultLockRequest& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
130 
134  inline CompleteVaultLockRequest& WithVaultName(Aws::String&& value) { SetVaultName(value); return *this;}
135 
139  inline CompleteVaultLockRequest& WithVaultName(const char* value) { SetVaultName(value); return *this;}
140 
145  inline const Aws::String& GetLockId() const{ return m_lockId; }
146 
151  inline void SetLockId(const Aws::String& value) { m_lockIdHasBeenSet = true; m_lockId = value; }
152 
157  inline void SetLockId(Aws::String&& value) { m_lockIdHasBeenSet = true; m_lockId = value; }
158 
163  inline void SetLockId(const char* value) { m_lockIdHasBeenSet = true; m_lockId.assign(value); }
164 
169  inline CompleteVaultLockRequest& WithLockId(const Aws::String& value) { SetLockId(value); return *this;}
170 
175  inline CompleteVaultLockRequest& WithLockId(Aws::String&& value) { SetLockId(value); return *this;}
176 
181  inline CompleteVaultLockRequest& WithLockId(const char* value) { SetLockId(value); return *this;}
182 
183  private:
184  Aws::String m_accountId;
185  bool m_accountIdHasBeenSet;
186  Aws::String m_vaultName;
187  bool m_vaultNameHasBeenSet;
188  Aws::String m_lockId;
189  bool m_lockIdHasBeenSet;
190  };
191 
192 } // namespace Model
193 } // namespace Glacier
194 } // namespace Aws
CompleteVaultLockRequest & WithAccountId(const Aws::String &value)
CompleteVaultLockRequest & WithLockId(const Aws::String &value)
CompleteVaultLockRequest & WithAccountId(Aws::String &&value)
CompleteVaultLockRequest & WithVaultName(Aws::String &&value)
CompleteVaultLockRequest & WithVaultName(const char *value)
CompleteVaultLockRequest & WithAccountId(const char *value)
CompleteVaultLockRequest & WithLockId(const char *value)
CompleteVaultLockRequest & WithLockId(Aws::String &&value)
#define AWS_GLACIER_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CompleteVaultLockRequest & WithVaultName(const Aws::String &value)
JSON (JavaScript Object Notation).