AWS SDK for C++  1.9.108
AWS SDK for C++
InstanceIdentity.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace OpsWorks
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetDocument() const{ return m_document; }
47 
51  inline bool DocumentHasBeenSet() const { return m_documentHasBeenSet; }
52 
56  inline void SetDocument(const Aws::String& value) { m_documentHasBeenSet = true; m_document = value; }
57 
61  inline void SetDocument(Aws::String&& value) { m_documentHasBeenSet = true; m_document = std::move(value); }
62 
66  inline void SetDocument(const char* value) { m_documentHasBeenSet = true; m_document.assign(value); }
67 
71  inline InstanceIdentity& WithDocument(const Aws::String& value) { SetDocument(value); return *this;}
72 
76  inline InstanceIdentity& WithDocument(Aws::String&& value) { SetDocument(std::move(value)); return *this;}
77 
81  inline InstanceIdentity& WithDocument(const char* value) { SetDocument(value); return *this;}
82 
83 
88  inline const Aws::String& GetSignature() const{ return m_signature; }
89 
94  inline bool SignatureHasBeenSet() const { return m_signatureHasBeenSet; }
95 
100  inline void SetSignature(const Aws::String& value) { m_signatureHasBeenSet = true; m_signature = value; }
101 
106  inline void SetSignature(Aws::String&& value) { m_signatureHasBeenSet = true; m_signature = std::move(value); }
107 
112  inline void SetSignature(const char* value) { m_signatureHasBeenSet = true; m_signature.assign(value); }
113 
118  inline InstanceIdentity& WithSignature(const Aws::String& value) { SetSignature(value); return *this;}
119 
124  inline InstanceIdentity& WithSignature(Aws::String&& value) { SetSignature(std::move(value)); return *this;}
125 
130  inline InstanceIdentity& WithSignature(const char* value) { SetSignature(value); return *this;}
131 
132  private:
133 
134  Aws::String m_document;
135  bool m_documentHasBeenSet;
136 
137  Aws::String m_signature;
138  bool m_signatureHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace OpsWorks
143 } // namespace Aws
Aws::OpsWorks::Model::InstanceIdentity::DocumentHasBeenSet
bool DocumentHasBeenSet() const
Definition: InstanceIdentity.h:51
Aws::OpsWorks::Model::InstanceIdentity::WithSignature
InstanceIdentity & WithSignature(Aws::String &&value)
Definition: InstanceIdentity.h:124
Aws::OpsWorks::Model::InstanceIdentity::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::OpsWorks::Model::InstanceIdentity::InstanceIdentity
InstanceIdentity()
Aws::OpsWorks::Model::InstanceIdentity::WithSignature
InstanceIdentity & WithSignature(const Aws::String &value)
Definition: InstanceIdentity.h:118
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::InstanceIdentity::SignatureHasBeenSet
bool SignatureHasBeenSet() const
Definition: InstanceIdentity.h:94
Aws::OpsWorks::Model::InstanceIdentity::WithDocument
InstanceIdentity & WithDocument(Aws::String &&value)
Definition: InstanceIdentity.h:76
Aws::OpsWorks::Model::InstanceIdentity::WithDocument
InstanceIdentity & WithDocument(const char *value)
Definition: InstanceIdentity.h:81
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::InstanceIdentity::SetSignature
void SetSignature(Aws::String &&value)
Definition: InstanceIdentity.h:106
Aws::OpsWorks::Model::InstanceIdentity::GetDocument
const Aws::String & GetDocument() const
Definition: InstanceIdentity.h:46
Aws::OpsWorks::Model::InstanceIdentity::WithSignature
InstanceIdentity & WithSignature(const char *value)
Definition: InstanceIdentity.h:130
Aws::OpsWorks::Model::InstanceIdentity::SetSignature
void SetSignature(const Aws::String &value)
Definition: InstanceIdentity.h:100
Aws::OpsWorks::Model::InstanceIdentity::SetDocument
void SetDocument(const char *value)
Definition: InstanceIdentity.h:66
Aws::OpsWorks::Model::InstanceIdentity::SetDocument
void SetDocument(const Aws::String &value)
Definition: InstanceIdentity.h:56
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::OpsWorks::Model::InstanceIdentity::SetDocument
void SetDocument(Aws::String &&value)
Definition: InstanceIdentity.h:61
Aws::OpsWorks::Model::InstanceIdentity::operator=
InstanceIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::InstanceIdentity::InstanceIdentity
InstanceIdentity(Aws::Utils::Json::JsonView jsonValue)
Aws::OpsWorks::Model::InstanceIdentity::SetSignature
void SetSignature(const char *value)
Definition: InstanceIdentity.h:112
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::InstanceIdentity::GetSignature
const Aws::String & GetSignature() const
Definition: InstanceIdentity.h:88
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::InstanceIdentity
Definition: InstanceIdentity.h:35
Aws::OpsWorks::Model::InstanceIdentity::WithDocument
InstanceIdentity & WithDocument(const Aws::String &value)
Definition: InstanceIdentity.h:71