AWS SDK for C++  0.14.3
AWS SDK for C++
InstanceType.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/ec2/EC2_EXPORTS.h>
18 
19 namespace Aws
20 {
21 namespace EC2
22 {
23 namespace Model
24 {
25  enum class InstanceType
26  {
27  NOT_SET,
28  t1_micro,
29  m1_small,
30  m1_medium,
31  m1_large,
32  m1_xlarge,
33  m3_medium,
34  m3_large,
35  m3_xlarge,
36  m3_2xlarge,
37  m4_large,
38  m4_xlarge,
39  m4_2xlarge,
40  m4_4xlarge,
42  t2_nano,
43  t2_micro,
44  t2_small,
45  t2_medium,
46  t2_large,
47  m2_xlarge,
48  m2_2xlarge,
49  m2_4xlarge,
51  x1_4xlarge,
52  x1_8xlarge,
55  i2_xlarge,
56  i2_2xlarge,
57  i2_4xlarge,
58  i2_8xlarge,
61  c1_medium,
62  c1_xlarge,
63  c3_large,
64  c3_xlarge,
65  c3_2xlarge,
66  c3_4xlarge,
67  c3_8xlarge,
68  c4_large,
69  c4_xlarge,
70  c4_2xlarge,
71  c4_4xlarge,
72  c4_8xlarge,
75  g2_2xlarge,
76  g2_8xlarge,
78  r3_large,
79  r3_xlarge,
80  r3_2xlarge,
81  r3_4xlarge,
82  r3_8xlarge,
83  d2_xlarge,
84  d2_2xlarge,
85  d2_4xlarge,
87  };
88 
89 namespace InstanceTypeMapper
90 {
92 
94 } // namespace InstanceTypeMapper
95 } // namespace Model
96 } // namespace EC2
97 } // namespace Aws
AWS_EC2_API Aws::String GetNameForInstanceType(InstanceType value)
AWS_EC2_API InstanceType GetInstanceTypeForName(const Aws::String &name)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:37
JSON (JavaScript Object Notation).