AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartBatchJobRequest.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/m2/MainframeModernizationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/m2/model/BatchJobIdentifier.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MainframeModernization
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_MAINFRAMEMODERNIZATION_API StartBatchJobRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "StartBatchJob"; }
33
34 AWS_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
42 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
43 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
44 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
45 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
46 inline StartBatchJobRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
47 inline StartBatchJobRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
48 inline StartBatchJobRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
50
52
56 inline const Aws::String& GetAuthSecretsManagerArn() const{ return m_authSecretsManagerArn; }
57 inline bool AuthSecretsManagerArnHasBeenSet() const { return m_authSecretsManagerArnHasBeenSet; }
58 inline void SetAuthSecretsManagerArn(const Aws::String& value) { m_authSecretsManagerArnHasBeenSet = true; m_authSecretsManagerArn = value; }
59 inline void SetAuthSecretsManagerArn(Aws::String&& value) { m_authSecretsManagerArnHasBeenSet = true; m_authSecretsManagerArn = std::move(value); }
60 inline void SetAuthSecretsManagerArn(const char* value) { m_authSecretsManagerArnHasBeenSet = true; m_authSecretsManagerArn.assign(value); }
62 inline StartBatchJobRequest& WithAuthSecretsManagerArn(Aws::String&& value) { SetAuthSecretsManagerArn(std::move(value)); return *this;}
63 inline StartBatchJobRequest& WithAuthSecretsManagerArn(const char* value) { SetAuthSecretsManagerArn(value); return *this;}
65
67
70 inline const BatchJobIdentifier& GetBatchJobIdentifier() const{ return m_batchJobIdentifier; }
71 inline bool BatchJobIdentifierHasBeenSet() const { return m_batchJobIdentifierHasBeenSet; }
72 inline void SetBatchJobIdentifier(const BatchJobIdentifier& value) { m_batchJobIdentifierHasBeenSet = true; m_batchJobIdentifier = value; }
73 inline void SetBatchJobIdentifier(BatchJobIdentifier&& value) { m_batchJobIdentifierHasBeenSet = true; m_batchJobIdentifier = std::move(value); }
75 inline StartBatchJobRequest& WithBatchJobIdentifier(BatchJobIdentifier&& value) { SetBatchJobIdentifier(std::move(value)); return *this;}
77
79
85 inline const Aws::Map<Aws::String, Aws::String>& GetJobParams() const{ return m_jobParams; }
86 inline bool JobParamsHasBeenSet() const { return m_jobParamsHasBeenSet; }
87 inline void SetJobParams(const Aws::Map<Aws::String, Aws::String>& value) { m_jobParamsHasBeenSet = true; m_jobParams = value; }
88 inline void SetJobParams(Aws::Map<Aws::String, Aws::String>&& value) { m_jobParamsHasBeenSet = true; m_jobParams = std::move(value); }
90 inline StartBatchJobRequest& WithJobParams(Aws::Map<Aws::String, Aws::String>&& value) { SetJobParams(std::move(value)); return *this;}
91 inline StartBatchJobRequest& AddJobParams(const Aws::String& key, const Aws::String& value) { m_jobParamsHasBeenSet = true; m_jobParams.emplace(key, value); return *this; }
92 inline StartBatchJobRequest& AddJobParams(Aws::String&& key, const Aws::String& value) { m_jobParamsHasBeenSet = true; m_jobParams.emplace(std::move(key), value); return *this; }
93 inline StartBatchJobRequest& AddJobParams(const Aws::String& key, Aws::String&& value) { m_jobParamsHasBeenSet = true; m_jobParams.emplace(key, std::move(value)); return *this; }
94 inline StartBatchJobRequest& AddJobParams(Aws::String&& key, Aws::String&& value) { m_jobParamsHasBeenSet = true; m_jobParams.emplace(std::move(key), std::move(value)); return *this; }
95 inline StartBatchJobRequest& AddJobParams(const char* key, Aws::String&& value) { m_jobParamsHasBeenSet = true; m_jobParams.emplace(key, std::move(value)); return *this; }
96 inline StartBatchJobRequest& AddJobParams(Aws::String&& key, const char* value) { m_jobParamsHasBeenSet = true; m_jobParams.emplace(std::move(key), value); return *this; }
97 inline StartBatchJobRequest& AddJobParams(const char* key, const char* value) { m_jobParamsHasBeenSet = true; m_jobParams.emplace(key, value); return *this; }
99 private:
100
101 Aws::String m_applicationId;
102 bool m_applicationIdHasBeenSet = false;
103
104 Aws::String m_authSecretsManagerArn;
105 bool m_authSecretsManagerArnHasBeenSet = false;
106
107 BatchJobIdentifier m_batchJobIdentifier;
108 bool m_batchJobIdentifierHasBeenSet = false;
109
111 bool m_jobParamsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace MainframeModernization
116} // namespace Aws
void SetJobParams(Aws::Map< Aws::String, Aws::String > &&value)
StartBatchJobRequest & AddJobParams(const Aws::String &key, const Aws::String &value)
StartBatchJobRequest & AddJobParams(const char *key, Aws::String &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override
StartBatchJobRequest & AddJobParams(const Aws::String &key, Aws::String &&value)
StartBatchJobRequest & WithApplicationId(const char *value)
StartBatchJobRequest & WithAuthSecretsManagerArn(const Aws::String &value)
StartBatchJobRequest & AddJobParams(Aws::String &&key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
StartBatchJobRequest & WithAuthSecretsManagerArn(Aws::String &&value)
StartBatchJobRequest & AddJobParams(Aws::String &&key, const char *value)
StartBatchJobRequest & WithApplicationId(const Aws::String &value)
void SetJobParams(const Aws::Map< Aws::String, Aws::String > &value)
StartBatchJobRequest & WithBatchJobIdentifier(const BatchJobIdentifier &value)
AWS_MAINFRAMEMODERNIZATION_API StartBatchJobRequest()
StartBatchJobRequest & WithJobParams(Aws::Map< Aws::String, Aws::String > &&value)
StartBatchJobRequest & AddJobParams(Aws::String &&key, Aws::String &&value)
StartBatchJobRequest & WithJobParams(const Aws::Map< Aws::String, Aws::String > &value)
StartBatchJobRequest & WithApplicationId(Aws::String &&value)
StartBatchJobRequest & WithBatchJobIdentifier(BatchJobIdentifier &&value)
StartBatchJobRequest & WithAuthSecretsManagerArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetJobParams() const
StartBatchJobRequest & AddJobParams(const char *key, const char *value)
void SetBatchJobIdentifier(const BatchJobIdentifier &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String