AWS SDK for C++  0.14.3
AWS SDK for C++
ProvisioningArtifact.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 Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace ServiceCatalog
30 {
31 namespace Model
32 {
33 
39  {
40  public:
43  ProvisioningArtifact& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
44  Aws::Utils::Json::JsonValue Jsonize() const;
45 
49  inline const Aws::String& GetId() const{ return m_id; }
50 
54  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 
59  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = value; }
60 
64  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 
69  inline ProvisioningArtifact& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline ProvisioningArtifact& WithId(Aws::String&& value) { SetId(value); return *this;}
75 
79  inline ProvisioningArtifact& WithId(const char* value) { SetId(value); return *this;}
80 
84  inline const Aws::String& GetName() const{ return m_name; }
85 
89  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
90 
94  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; }
95 
99  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
100 
104  inline ProvisioningArtifact& WithName(const Aws::String& value) { SetName(value); return *this;}
105 
109  inline ProvisioningArtifact& WithName(Aws::String&& value) { SetName(value); return *this;}
110 
114  inline ProvisioningArtifact& WithName(const char* value) { SetName(value); return *this;}
115 
119  inline const Aws::String& GetDescription() const{ return m_description; }
120 
124  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
125 
129  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = value; }
130 
134  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
135 
139  inline ProvisioningArtifact& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
140 
144  inline ProvisioningArtifact& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
145 
149  inline ProvisioningArtifact& WithDescription(const char* value) { SetDescription(value); return *this;}
150 
154  inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
155 
159  inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
160 
164  inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
165 
169  inline ProvisioningArtifact& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
170 
174  inline ProvisioningArtifact& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(value); return *this;}
175 
176  private:
177  Aws::String m_id;
178  bool m_idHasBeenSet;
179  Aws::String m_name;
180  bool m_nameHasBeenSet;
181  Aws::String m_description;
182  bool m_descriptionHasBeenSet;
183  Aws::Utils::DateTime m_createdTime;
184  bool m_createdTimeHasBeenSet;
185  };
186 
187 } // namespace Model
188 } // namespace ServiceCatalog
189 } // namespace Aws
ProvisioningArtifact & WithDescription(const char *value)
#define AWS_SERVICECATALOG_API
ProvisioningArtifact & WithName(const Aws::String &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
ProvisioningArtifact & WithName(const char *value)
ProvisioningArtifact & WithId(const char *value)
ProvisioningArtifact & WithName(Aws::String &&value)
ProvisioningArtifact & WithId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
ProvisioningArtifact & WithDescription(const Aws::String &value)
ProvisioningArtifact & WithId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ProvisioningArtifact & WithDescription(Aws::String &&value)
ProvisioningArtifact & WithCreatedTime(Aws::Utils::DateTime &&value)
ProvisioningArtifact & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
JSON (JavaScript Object Notation).