AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateCapabilityRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/B2BIRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/b2bi/model/CapabilityConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/b2bi/model/S3Location.h>
13#include <utility>
14
15namespace Aws
16{
17namespace B2BI
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateCapability"; }
34
35 AWS_B2BI_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetCapabilityId() const{ return m_capabilityId; }
45 inline bool CapabilityIdHasBeenSet() const { return m_capabilityIdHasBeenSet; }
46 inline void SetCapabilityId(const Aws::String& value) { m_capabilityIdHasBeenSet = true; m_capabilityId = value; }
47 inline void SetCapabilityId(Aws::String&& value) { m_capabilityIdHasBeenSet = true; m_capabilityId = std::move(value); }
48 inline void SetCapabilityId(const char* value) { m_capabilityIdHasBeenSet = true; m_capabilityId.assign(value); }
49 inline UpdateCapabilityRequest& WithCapabilityId(const Aws::String& value) { SetCapabilityId(value); return *this;}
50 inline UpdateCapabilityRequest& WithCapabilityId(Aws::String&& value) { SetCapabilityId(std::move(value)); return *this;}
51 inline UpdateCapabilityRequest& WithCapabilityId(const char* value) { SetCapabilityId(value); return *this;}
53
55
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline UpdateCapabilityRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline UpdateCapabilityRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline UpdateCapabilityRequest& WithName(const char* value) { SetName(value); return *this;}
67
69
72 inline const CapabilityConfiguration& GetConfiguration() const{ return m_configuration; }
73 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
74 inline void SetConfiguration(const CapabilityConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
75 inline void SetConfiguration(CapabilityConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
77 inline UpdateCapabilityRequest& WithConfiguration(CapabilityConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
79
81
86 inline const Aws::Vector<S3Location>& GetInstructionsDocuments() const{ return m_instructionsDocuments; }
87 inline bool InstructionsDocumentsHasBeenSet() const { return m_instructionsDocumentsHasBeenSet; }
88 inline void SetInstructionsDocuments(const Aws::Vector<S3Location>& value) { m_instructionsDocumentsHasBeenSet = true; m_instructionsDocuments = value; }
89 inline void SetInstructionsDocuments(Aws::Vector<S3Location>&& value) { m_instructionsDocumentsHasBeenSet = true; m_instructionsDocuments = std::move(value); }
92 inline UpdateCapabilityRequest& AddInstructionsDocuments(const S3Location& value) { m_instructionsDocumentsHasBeenSet = true; m_instructionsDocuments.push_back(value); return *this; }
93 inline UpdateCapabilityRequest& AddInstructionsDocuments(S3Location&& value) { m_instructionsDocumentsHasBeenSet = true; m_instructionsDocuments.push_back(std::move(value)); return *this; }
95 private:
96
97 Aws::String m_capabilityId;
98 bool m_capabilityIdHasBeenSet = false;
99
100 Aws::String m_name;
101 bool m_nameHasBeenSet = false;
102
103 CapabilityConfiguration m_configuration;
104 bool m_configurationHasBeenSet = false;
105
106 Aws::Vector<S3Location> m_instructionsDocuments;
107 bool m_instructionsDocumentsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace B2BI
112} // namespace Aws
const CapabilityConfiguration & GetConfiguration() const
void SetInstructionsDocuments(const Aws::Vector< S3Location > &value)
UpdateCapabilityRequest & AddInstructionsDocuments(const S3Location &value)
UpdateCapabilityRequest & WithInstructionsDocuments(Aws::Vector< S3Location > &&value)
void SetConfiguration(const CapabilityConfiguration &value)
void SetInstructionsDocuments(Aws::Vector< S3Location > &&value)
UpdateCapabilityRequest & WithName(const Aws::String &value)
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateCapabilityRequest & WithName(Aws::String &&value)
UpdateCapabilityRequest & WithName(const char *value)
UpdateCapabilityRequest & WithInstructionsDocuments(const Aws::Vector< S3Location > &value)
UpdateCapabilityRequest & WithCapabilityId(const Aws::String &value)
AWS_B2BI_API Aws::String SerializePayload() const override
void SetConfiguration(CapabilityConfiguration &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< S3Location > & GetInstructionsDocuments() const
UpdateCapabilityRequest & WithCapabilityId(const char *value)
UpdateCapabilityRequest & WithConfiguration(const CapabilityConfiguration &value)
UpdateCapabilityRequest & AddInstructionsDocuments(S3Location &&value)
UpdateCapabilityRequest & WithCapabilityId(Aws::String &&value)
UpdateCapabilityRequest & WithConfiguration(CapabilityConfiguration &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector