AWS SDK for C++  0.14.3
AWS SDK for C++
InstanceIdentity.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 DataPipeline
29 {
30 namespace Model
31 {
32 
44  {
45  public:
48  InstanceIdentity& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
49  Aws::Utils::Json::JsonValue Jsonize() const;
50 
56  inline const Aws::String& GetDocument() const{ return m_document; }
57 
63  inline void SetDocument(const Aws::String& value) { m_documentHasBeenSet = true; m_document = value; }
64 
70  inline void SetDocument(Aws::String&& value) { m_documentHasBeenSet = true; m_document = value; }
71 
77  inline void SetDocument(const char* value) { m_documentHasBeenSet = true; m_document.assign(value); }
78 
84  inline InstanceIdentity& WithDocument(const Aws::String& value) { SetDocument(value); return *this;}
85 
91  inline InstanceIdentity& WithDocument(Aws::String&& value) { SetDocument(value); return *this;}
92 
98  inline InstanceIdentity& WithDocument(const char* value) { SetDocument(value); return *this;}
99 
104  inline const Aws::String& GetSignature() const{ return m_signature; }
105 
110  inline void SetSignature(const Aws::String& value) { m_signatureHasBeenSet = true; m_signature = value; }
111 
116  inline void SetSignature(Aws::String&& value) { m_signatureHasBeenSet = true; m_signature = value; }
117 
122  inline void SetSignature(const char* value) { m_signatureHasBeenSet = true; m_signature.assign(value); }
123 
128  inline InstanceIdentity& WithSignature(const Aws::String& value) { SetSignature(value); return *this;}
129 
134  inline InstanceIdentity& WithSignature(Aws::String&& value) { SetSignature(value); return *this;}
135 
140  inline InstanceIdentity& WithSignature(const char* value) { SetSignature(value); return *this;}
141 
142  private:
143  Aws::String m_document;
144  bool m_documentHasBeenSet;
145  Aws::String m_signature;
146  bool m_signatureHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace DataPipeline
151 } // namespace Aws
InstanceIdentity & WithSignature(Aws::String &&value)
InstanceIdentity & WithDocument(Aws::String &&value)
InstanceIdentity & WithDocument(const char *value)
const Aws::String & GetSignature() const
InstanceIdentity & WithDocument(const Aws::String &value)
#define AWS_DATAPIPELINE_API
void SetDocument(const Aws::String &value)
void SetSignature(const Aws::String &value)
InstanceIdentity & WithSignature(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
InstanceIdentity & WithSignature(const Aws::String &value)
const Aws::String & GetDocument() const
JSON (JavaScript Object Notation).