AWS SDK for C++  1.9.40
AWS SDK for C++
UploadEntityDefinitionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IoTThingsGraph
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "UploadEntityDefinitions"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const DefinitionDocument& GetDocument() const{ return m_document; }
41 
45  inline bool DocumentHasBeenSet() const { return m_documentHasBeenSet; }
46 
50  inline void SetDocument(const DefinitionDocument& value) { m_documentHasBeenSet = true; m_document = value; }
51 
55  inline void SetDocument(DefinitionDocument&& value) { m_documentHasBeenSet = true; m_document = std::move(value); }
56 
60  inline UploadEntityDefinitionsRequest& WithDocument(const DefinitionDocument& value) { SetDocument(value); return *this;}
61 
65  inline UploadEntityDefinitionsRequest& WithDocument(DefinitionDocument&& value) { SetDocument(std::move(value)); return *this;}
66 
67 
73  inline bool GetSyncWithPublicNamespace() const{ return m_syncWithPublicNamespace; }
74 
80  inline bool SyncWithPublicNamespaceHasBeenSet() const { return m_syncWithPublicNamespaceHasBeenSet; }
81 
87  inline void SetSyncWithPublicNamespace(bool value) { m_syncWithPublicNamespaceHasBeenSet = true; m_syncWithPublicNamespace = value; }
88 
94  inline UploadEntityDefinitionsRequest& WithSyncWithPublicNamespace(bool value) { SetSyncWithPublicNamespace(value); return *this;}
95 
96 
102  inline bool GetDeprecateExistingEntities() const{ return m_deprecateExistingEntities; }
103 
109  inline bool DeprecateExistingEntitiesHasBeenSet() const { return m_deprecateExistingEntitiesHasBeenSet; }
110 
116  inline void SetDeprecateExistingEntities(bool value) { m_deprecateExistingEntitiesHasBeenSet = true; m_deprecateExistingEntities = value; }
117 
123  inline UploadEntityDefinitionsRequest& WithDeprecateExistingEntities(bool value) { SetDeprecateExistingEntities(value); return *this;}
124 
125  private:
126 
127  DefinitionDocument m_document;
128  bool m_documentHasBeenSet;
129 
130  bool m_syncWithPublicNamespace;
131  bool m_syncWithPublicNamespaceHasBeenSet;
132 
133  bool m_deprecateExistingEntities;
134  bool m_deprecateExistingEntitiesHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace IoTThingsGraph
139 } // namespace Aws
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::GetDeprecateExistingEntities
bool GetDeprecateExistingEntities() const
Definition: UploadEntityDefinitionsRequest.h:102
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::UploadEntityDefinitionsRequest
UploadEntityDefinitionsRequest()
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::SetDocument
void SetDocument(DefinitionDocument &&value)
Definition: UploadEntityDefinitionsRequest.h:55
DefinitionDocument.h
AWS_IOTTHINGSGRAPH_API
#define AWS_IOTTHINGSGRAPH_API
Definition: IoTThingsGraph_EXPORTS.h:28
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::SyncWithPublicNamespaceHasBeenSet
bool SyncWithPublicNamespaceHasBeenSet() const
Definition: UploadEntityDefinitionsRequest.h:80
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::DeprecateExistingEntitiesHasBeenSet
bool DeprecateExistingEntitiesHasBeenSet() const
Definition: UploadEntityDefinitionsRequest.h:109
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::DocumentHasBeenSet
bool DocumentHasBeenSet() const
Definition: UploadEntityDefinitionsRequest.h:45
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest
Definition: UploadEntityDefinitionsRequest.h:22
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::WithDocument
UploadEntityDefinitionsRequest & WithDocument(const DefinitionDocument &value)
Definition: UploadEntityDefinitionsRequest.h:60
Aws::IoTThingsGraph::Model::DefinitionDocument
Definition: DefinitionDocument.h:33
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::SetDeprecateExistingEntities
void SetDeprecateExistingEntities(bool value)
Definition: UploadEntityDefinitionsRequest.h:116
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::WithDocument
UploadEntityDefinitionsRequest & WithDocument(DefinitionDocument &&value)
Definition: UploadEntityDefinitionsRequest.h:65
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::SetDocument
void SetDocument(const DefinitionDocument &value)
Definition: UploadEntityDefinitionsRequest.h:50
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UploadEntityDefinitionsRequest.h:30
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::WithDeprecateExistingEntities
UploadEntityDefinitionsRequest & WithDeprecateExistingEntities(bool value)
Definition: UploadEntityDefinitionsRequest.h:123
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
IoTThingsGraph_EXPORTS.h
Aws::IoTThingsGraph::IoTThingsGraphRequest
Definition: IoTThingsGraphRequest.h:17
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::GetSyncWithPublicNamespace
bool GetSyncWithPublicNamespace() const
Definition: UploadEntityDefinitionsRequest.h:73
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::WithSyncWithPublicNamespace
UploadEntityDefinitionsRequest & WithSyncWithPublicNamespace(bool value)
Definition: UploadEntityDefinitionsRequest.h:94
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::GetDocument
const DefinitionDocument & GetDocument() const
Definition: UploadEntityDefinitionsRequest.h:40
IoTThingsGraphRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTThingsGraph::Model::UploadEntityDefinitionsRequest::SetSyncWithPublicNamespace
void SetSyncWithPublicNamespace(bool value)
Definition: UploadEntityDefinitionsRequest.h:87