AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceIdentity.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace OpsWorks
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_OPSWORKS_API InstanceIdentity();
38 AWS_OPSWORKS_API InstanceIdentity(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDocument() const{ return m_document; }
48 inline bool DocumentHasBeenSet() const { return m_documentHasBeenSet; }
49 inline void SetDocument(const Aws::String& value) { m_documentHasBeenSet = true; m_document = value; }
50 inline void SetDocument(Aws::String&& value) { m_documentHasBeenSet = true; m_document = std::move(value); }
51 inline void SetDocument(const char* value) { m_documentHasBeenSet = true; m_document.assign(value); }
52 inline InstanceIdentity& WithDocument(const Aws::String& value) { SetDocument(value); return *this;}
53 inline InstanceIdentity& WithDocument(Aws::String&& value) { SetDocument(std::move(value)); return *this;}
54 inline InstanceIdentity& WithDocument(const char* value) { SetDocument(value); return *this;}
56
58
62 inline const Aws::String& GetSignature() const{ return m_signature; }
63 inline bool SignatureHasBeenSet() const { return m_signatureHasBeenSet; }
64 inline void SetSignature(const Aws::String& value) { m_signatureHasBeenSet = true; m_signature = value; }
65 inline void SetSignature(Aws::String&& value) { m_signatureHasBeenSet = true; m_signature = std::move(value); }
66 inline void SetSignature(const char* value) { m_signatureHasBeenSet = true; m_signature.assign(value); }
67 inline InstanceIdentity& WithSignature(const Aws::String& value) { SetSignature(value); return *this;}
68 inline InstanceIdentity& WithSignature(Aws::String&& value) { SetSignature(std::move(value)); return *this;}
69 inline InstanceIdentity& WithSignature(const char* value) { SetSignature(value); return *this;}
71 private:
72
73 Aws::String m_document;
74 bool m_documentHasBeenSet = false;
75
76 Aws::String m_signature;
77 bool m_signatureHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace OpsWorks
82} // namespace Aws
void SetDocument(const Aws::String &value)
InstanceIdentity & WithSignature(Aws::String &&value)
void SetSignature(const Aws::String &value)
const Aws::String & GetSignature() const
InstanceIdentity & WithSignature(const Aws::String &value)
AWS_OPSWORKS_API InstanceIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceIdentity & WithSignature(const char *value)
InstanceIdentity & WithDocument(const Aws::String &value)
InstanceIdentity & WithDocument(const char *value)
const Aws::String & GetDocument() const
AWS_OPSWORKS_API InstanceIdentity(Aws::Utils::Json::JsonView jsonValue)
void SetDocument(Aws::String &&value)
void SetSignature(Aws::String &&value)
InstanceIdentity & WithDocument(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue