AWS SDK for C++  0.14.3
AWS SDK for C++
RecordOutput.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
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace ServiceCatalog
29 {
30 namespace Model
31 {
32 
39  {
40  public:
41  RecordOutput();
42  RecordOutput(const Aws::Utils::Json::JsonValue& jsonValue);
43  RecordOutput& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
44  Aws::Utils::Json::JsonValue Jsonize() const;
45 
49  inline const Aws::String& GetOutputKey() const{ return m_outputKey; }
50 
54  inline void SetOutputKey(const Aws::String& value) { m_outputKeyHasBeenSet = true; m_outputKey = value; }
55 
59  inline void SetOutputKey(Aws::String&& value) { m_outputKeyHasBeenSet = true; m_outputKey = value; }
60 
64  inline void SetOutputKey(const char* value) { m_outputKeyHasBeenSet = true; m_outputKey.assign(value); }
65 
69  inline RecordOutput& WithOutputKey(const Aws::String& value) { SetOutputKey(value); return *this;}
70 
74  inline RecordOutput& WithOutputKey(Aws::String&& value) { SetOutputKey(value); return *this;}
75 
79  inline RecordOutput& WithOutputKey(const char* value) { SetOutputKey(value); return *this;}
80 
84  inline const Aws::String& GetOutputValue() const{ return m_outputValue; }
85 
89  inline void SetOutputValue(const Aws::String& value) { m_outputValueHasBeenSet = true; m_outputValue = value; }
90 
94  inline void SetOutputValue(Aws::String&& value) { m_outputValueHasBeenSet = true; m_outputValue = value; }
95 
99  inline void SetOutputValue(const char* value) { m_outputValueHasBeenSet = true; m_outputValue.assign(value); }
100 
104  inline RecordOutput& WithOutputValue(const Aws::String& value) { SetOutputValue(value); return *this;}
105 
109  inline RecordOutput& WithOutputValue(Aws::String&& value) { SetOutputValue(value); return *this;}
110 
114  inline RecordOutput& WithOutputValue(const char* value) { SetOutputValue(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 RecordOutput& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
140 
144  inline RecordOutput& WithDescription(Aws::String&& value) { SetDescription(value); return *this;}
145 
149  inline RecordOutput& WithDescription(const char* value) { SetDescription(value); return *this;}
150 
151  private:
152  Aws::String m_outputKey;
153  bool m_outputKeyHasBeenSet;
154  Aws::String m_outputValue;
155  bool m_outputValueHasBeenSet;
156  Aws::String m_description;
157  bool m_descriptionHasBeenSet;
158  };
159 
160 } // namespace Model
161 } // namespace ServiceCatalog
162 } // namespace Aws
void SetOutputKey(Aws::String &&value)
Definition: RecordOutput.h:59
void SetDescription(const char *value)
Definition: RecordOutput.h:134
RecordOutput & WithOutputKey(const char *value)
Definition: RecordOutput.h:79
#define AWS_SERVICECATALOG_API
RecordOutput & WithDescription(Aws::String &&value)
Definition: RecordOutput.h:144
void SetOutputValue(Aws::String &&value)
Definition: RecordOutput.h:94
void SetOutputKey(const char *value)
Definition: RecordOutput.h:64
RecordOutput & WithOutputKey(const Aws::String &value)
Definition: RecordOutput.h:69
const Aws::String & GetOutputValue() const
Definition: RecordOutput.h:84
const Aws::String & GetDescription() const
Definition: RecordOutput.h:119
RecordOutput & WithDescription(const char *value)
Definition: RecordOutput.h:149
const Aws::String & GetOutputKey() const
Definition: RecordOutput.h:49
void SetOutputValue(const Aws::String &value)
Definition: RecordOutput.h:89
void SetOutputKey(const Aws::String &value)
Definition: RecordOutput.h:54
void SetDescription(const Aws::String &value)
Definition: RecordOutput.h:124
RecordOutput & WithOutputValue(const char *value)
Definition: RecordOutput.h:114
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetOutputValue(const char *value)
Definition: RecordOutput.h:99
RecordOutput & WithOutputValue(const Aws::String &value)
Definition: RecordOutput.h:104
void SetDescription(Aws::String &&value)
Definition: RecordOutput.h:129
RecordOutput & WithOutputKey(Aws::String &&value)
Definition: RecordOutput.h:74
RecordOutput & WithOutputValue(Aws::String &&value)
Definition: RecordOutput.h:109
JSON (JavaScript Object Notation).
RecordOutput & WithDescription(const Aws::String &value)
Definition: RecordOutput.h:139