AWS SDK for C++  0.14.3
AWS SDK for C++
CreateFileSystemRequest.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
20 
21 namespace Aws
22 {
23 namespace EFS
24 {
25 namespace Model
26 {
27 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
40  inline const Aws::String& GetCreationToken() const{ return m_creationToken; }
41 
46  inline void SetCreationToken(const Aws::String& value) { m_creationTokenHasBeenSet = true; m_creationToken = value; }
47 
52  inline void SetCreationToken(Aws::String&& value) { m_creationTokenHasBeenSet = true; m_creationToken = value; }
53 
58  inline void SetCreationToken(const char* value) { m_creationTokenHasBeenSet = true; m_creationToken.assign(value); }
59 
64  inline CreateFileSystemRequest& WithCreationToken(const Aws::String& value) { SetCreationToken(value); return *this;}
65 
70  inline CreateFileSystemRequest& WithCreationToken(Aws::String&& value) { SetCreationToken(value); return *this;}
71 
76  inline CreateFileSystemRequest& WithCreationToken(const char* value) { SetCreationToken(value); return *this;}
77 
86  inline const PerformanceMode& GetPerformanceMode() const{ return m_performanceMode; }
87 
96  inline void SetPerformanceMode(const PerformanceMode& value) { m_performanceModeHasBeenSet = true; m_performanceMode = value; }
97 
106  inline void SetPerformanceMode(PerformanceMode&& value) { m_performanceModeHasBeenSet = true; m_performanceMode = value; }
107 
116  inline CreateFileSystemRequest& WithPerformanceMode(const PerformanceMode& value) { SetPerformanceMode(value); return *this;}
117 
126  inline CreateFileSystemRequest& WithPerformanceMode(PerformanceMode&& value) { SetPerformanceMode(value); return *this;}
127 
128  private:
129  Aws::String m_creationToken;
130  bool m_creationTokenHasBeenSet;
131  PerformanceMode m_performanceMode;
132  bool m_performanceModeHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace EFS
137 } // namespace Aws
CreateFileSystemRequest & WithPerformanceMode(const PerformanceMode &value)
void SetPerformanceMode(PerformanceMode &&value)
void SetPerformanceMode(const PerformanceMode &value)
#define AWS_EFS_API
Definition: EFS_EXPORTS.h:37
CreateFileSystemRequest & WithCreationToken(const Aws::String &value)
CreateFileSystemRequest & WithCreationToken(const char *value)
CreateFileSystemRequest & WithCreationToken(Aws::String &&value)
const PerformanceMode & GetPerformanceMode() const
void SetCreationToken(const Aws::String &value)
CreateFileSystemRequest & WithPerformanceMode(PerformanceMode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JSON (JavaScript Object Notation).