AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchGetCommandExecutionsRequest.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/CodeBuildRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CodeBuild
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CODEBUILD_API BatchGetCommandExecutionsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "BatchGetCommandExecutions"; }
32
33 AWS_CODEBUILD_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetSandboxId() const { return m_sandboxId; }
43 inline bool SandboxIdHasBeenSet() const { return m_sandboxIdHasBeenSet; }
44 template<typename SandboxIdT = Aws::String>
45 void SetSandboxId(SandboxIdT&& value) { m_sandboxIdHasBeenSet = true; m_sandboxId = std::forward<SandboxIdT>(value); }
46 template<typename SandboxIdT = Aws::String>
47 BatchGetCommandExecutionsRequest& WithSandboxId(SandboxIdT&& value) { SetSandboxId(std::forward<SandboxIdT>(value)); return *this;}
49
51
54 inline const Aws::Vector<Aws::String>& GetCommandExecutionIds() const { return m_commandExecutionIds; }
55 inline bool CommandExecutionIdsHasBeenSet() const { return m_commandExecutionIdsHasBeenSet; }
56 template<typename CommandExecutionIdsT = Aws::Vector<Aws::String>>
57 void SetCommandExecutionIds(CommandExecutionIdsT&& value) { m_commandExecutionIdsHasBeenSet = true; m_commandExecutionIds = std::forward<CommandExecutionIdsT>(value); }
58 template<typename CommandExecutionIdsT = Aws::Vector<Aws::String>>
59 BatchGetCommandExecutionsRequest& WithCommandExecutionIds(CommandExecutionIdsT&& value) { SetCommandExecutionIds(std::forward<CommandExecutionIdsT>(value)); return *this;}
60 template<typename CommandExecutionIdsT = Aws::String>
61 BatchGetCommandExecutionsRequest& AddCommandExecutionIds(CommandExecutionIdsT&& value) { m_commandExecutionIdsHasBeenSet = true; m_commandExecutionIds.emplace_back(std::forward<CommandExecutionIdsT>(value)); return *this; }
63 private:
64
65 Aws::String m_sandboxId;
66 bool m_sandboxIdHasBeenSet = false;
67
68 Aws::Vector<Aws::String> m_commandExecutionIds;
69 bool m_commandExecutionIdsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CodeBuild
74} // namespace Aws
BatchGetCommandExecutionsRequest & AddCommandExecutionIds(CommandExecutionIdsT &&value)
AWS_CODEBUILD_API Aws::String SerializePayload() const override
BatchGetCommandExecutionsRequest & WithCommandExecutionIds(CommandExecutionIdsT &&value)
BatchGetCommandExecutionsRequest & WithSandboxId(SandboxIdT &&value)
AWS_CODEBUILD_API BatchGetCommandExecutionsRequest()=default
AWS_CODEBUILD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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